Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-fi
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-fi
Commits
08f385cd
提交
08f385cd
authored
11月 24, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整同意协议文字style
上级
9c3026a7
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
8 行删除
+18
-8
base.css
src/assets/css/base.css
+2
-1
Confirm.vue
src/modules/pay/components/Confirm.vue
+16
-7
没有找到文件。
src/assets/css/base.css
浏览文件 @
08f385cd
...
...
@@ -78,7 +78,7 @@ textarea:focus {
body
{
min-width
:
375px
;
font-size
:
14px
;
background-color
:
#fff
;
/* background-color: #fff; */
font-family
:
'Source Han Sans CN'
,
'PingFang SC'
,
-apple-system
,
'Microsoft YaHei'
,
'Helvetica'
,
'Arial'
,
Verdana
,
'Hiragino Sans GB'
,
'Wenquanyi Micro Hei'
,
sans-serif
;
padding
:
0
;
...
...
@@ -88,6 +88,7 @@ body {
@media
(
min-width
:
768px
)
{
html
{
background-color
:
#ffffff
;
font-size
:
100px
;
}
}
...
...
src/modules/pay/components/Confirm.vue
浏览文件 @
08f385cd
...
...
@@ -21,6 +21,7 @@ const item = ref({
const
orderInfo
:
any
=
ref
({})
const
payMode
=
ref
(
1
)
const
isAgree
=
ref
(
false
)
const
isAgreeText
=
ref
(
false
)
const
currentCheck
=
ref
(
'4'
)
const
orderInfoDetail
:
any
=
ref
([])
function
getDateTime
(
dayNum
:
any
)
{
...
...
@@ -37,7 +38,6 @@ function getDateTime(dayNum: any) {
}
const
start_time
=
getDateTime
(
0
)
const
end_time
=
getDateTime
(
90
)
const
emit
=
defineEmits
<
{
(
e
:
'success'
,
params
:
object
):
void
}
>
()
...
...
@@ -57,6 +57,7 @@ const optionParams = reactive({
// 点击立即购买
const handlePay = () => {
if (isAgree.value === false) {
isAgreeText.value = true
ElMessage.warning('请先勾选紫荆金保服务协议')
} else {
if (user.isLogin) {
...
...
@@ -158,6 +159,13 @@ const handlePrev = () => {
const changeProtocol = () => {
dialogVisible.value = false
isAgree.value = true
isAgreeText.value = false
}
const handleAgree = (val: any) => {
isAgree.value = val
if (val === true) {
isAgreeText.value = false
}
}
</
script
>
<
template
>
...
...
@@ -209,12 +217,13 @@ const changeProtocol = () => {
<div
class=
"con_footer"
>
<div
class=
"footer_left"
>
<div
class=
"left_top"
>
<el-checkbox
v-model=
"isAgree"
>
<span>
同意
</span></el-checkbox
<el-checkbox
v-model=
"isAgree"
@
change=
"handleAgree"
>
<span>
同意
</span></el-checkbox
><a
@
click=
"dialogVisible = true"
>
紫荆金保服务协议
</a>
</div>
<div
class=
"left_desc"
:class=
"isAgree
=== fals
e ? 'left_desc_active' : ''"
:class=
"isAgree
Text === tru
e ? 'left_desc_active' : ''"
>
请先勾选紫荆金保服务协议
</div>
...
...
@@ -296,14 +305,14 @@ const changeProtocol = () => {
</div>
<div
class=
"argreement_con"
>
<div
class=
"left_top"
>
<el-checkbox
v-model=
"isAgree"
>
<el-checkbox
v-model=
"isAgree"
@
change=
"handleAgree"
>
<span>
同意
</span>
</el-checkbox>
<a
@
click=
"dialogVisible = true"
>
紫荆金保服务协议
</a>
</div>
<div
class=
"left_desc"
:class=
"isAgree
=== fals
e ? 'left_desc_active' : ''"
:class=
"isAgree
Text === tru
e ? 'left_desc_active' : ''"
>
请先勾选紫荆金保服务协议
</div>
...
...
@@ -481,13 +490,13 @@ const changeProtocol = () => {
font-size
:
0
.24rem
;
color
:
#e3a232
!
important
;
margin-top
:
0
.02rem
;
cursor
:
pointer
;
}
}
.left_desc
{
color
:
#999999
;
font-size
:
0
.24rem
;
margin-left
:
0
.9rem
;
cursor
:
pointer
;
}
.left_desc_active
{
color
:
#aa1941
;
...
...
@@ -624,6 +633,7 @@ const changeProtocol = () => {
font-size
:
16px
;
font-weight
:
400
;
margin-top
:
-1px
;
cursor
:
pointer
;
}
}
.left_desc
{
...
...
@@ -631,7 +641,6 @@ const changeProtocol = () => {
font-weight
:
400
;
color
:
#999999
;
margin
:
14px
0
0
21px
;
cursor
:
pointer
;
}
.left_desc_active
{
color
:
#aa1941
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论