Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
140cc6b6
提交
140cc6b6
编写于
7月 09, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
弹框组件样式
上级
8cf215d5
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
44 行增加
和
17 行删除
+44
-17
bind-card-button.vue
src/components/cme/bind-card-button.vue
+0
-3
change-card.vue
src/components/cme/change-card.vue
+17
-8
global.scss
src/style/global.scss
+19
-0
merge-detail.vue
src/views/merge-detail.vue
+8
-6
未找到文件。
src/components/cme/bind-card-button.vue
浏览文件 @
140cc6b6
...
...
@@ -33,9 +33,6 @@ export default {
changeClick
(){
this
.
$emit
(
"changeClick"
,
"去兑换"
)
},
gotoExchange
()
{
this
.
$emit
(
"gotoExchange"
);
},
gotoBuy
()
{
this
.
$emit
(
"gotoBuy"
);
}
...
...
src/components/cme/change-card.vue
浏览文件 @
140cc6b6
<
template
>
<section
class=
"change-card-wrapper"
>
<van-popup
v-show=
"isShow"
@
click-overlay=
"cancle"
close-icon-position=
"top-right"
v-model=
"isShow"
@
click-overlay=
"cancle"
position=
"bottom"
>
<section
class=
"bind-cart-wrapper"
>
<article
class=
"title"
>
兑换详情
</article>
<article
class=
"title"
>
<span>
兑换详情
</span>
<img
@
click=
"cancle"
src=
"../../images/cme/close.png"
/>
</article>
<article
class=
"tip"
>
<div
class=
"left"
>
<img
src=
"../../images/cme/phrase2/info.png"
/>
...
...
@@ -17,10 +18,10 @@
<article
class=
"code"
>
<van-field
v-model=
"activationCode"
border
clearable
label=
"激活码"
placeholder=
"请输入激活码"
error-message=
"请输入正确的激活码"
/>
</article>
<article
class=
"bottom"
>
...
...
@@ -28,14 +29,13 @@
</article>
</section>
</van-popup>
</section>
</
template
>
<
script
>
export
default
{
props
:
{
isShow
:
{
type
:
Boolean
,
default
:
fals
e
default
:
tru
e
}
},
// computed: {
...
...
@@ -76,10 +76,17 @@ export default {
display
:
flex
;
flex-direction
:
row
;
font-size
:
18px
;
font-weight
:
700
;
align-items
:
center
;
justify-content
:
center
;
width
:
100%
;
margin-top
:
px2rem
(
20px
);
img
{
position
:
relative
;
top
:
0
;
right
:
px2rem
(
-120px
);
width
:
12px
;
}
}
.tip
{
display
:
flex
;
...
...
@@ -99,6 +106,8 @@ export default {
}
.code
{
display
:
flex
;
padding
:
px2rem
(
20px
)
0
;
padding-top
:
0
;
}
.bottom
{
display
:
flex
;
...
...
src/style/global.scss
浏览文件 @
140cc6b6
...
...
@@ -109,4 +109,23 @@
// }
.van-cell__title
span
{
font-weight
:
700
!
important
;
}
.bind-cart-wrapper
.van-field__control
{
border-radius
:
px2rem
(
4px
);
border
:
1px
solid
#C7C8C9
;
padding
:
px2rem
(
7px
);
text-align
:
left
!
important
;
}
.bind-cart-wrapper
.van-cell__title
.van-field__label
{
span
{
font-size
:
px2rem
(
15px
)
!
important
;
color
:
#373839
!
important
;
}
}
.bind-cart-wrapper
.van-field__label
{
width
:
px2rem
(
56px
)
!
important
;
padding-top
:
px2rem
(
8px
);
}
\ No newline at end of file
src/views/merge-detail.vue
浏览文件 @
140cc6b6
...
...
@@ -134,9 +134,9 @@
<BindCardButton
v-if=
"project.cmeType == 2 && !hasBindCard"
:cardInfo=
"cardInfo"
:gotoBuy=
"confirm"
@
changeClick=
"changeClick"
></BindCardButton>
@
gotoBuy=
"confirm"
></BindCardButton>
<!--去兑换-->
<ChangeCard
:isShow=
"showChangeCard"
@
cancle=
"cancleChangeCard"
@
confirm=
"changeCardAction"
></ChangeCard>
...
...
@@ -327,9 +327,10 @@ export default {
// let param = {};
// __getUserInfo64Comp(param);
// }
// if (__isWeb) {
// _this.getProjectParticularsV2();
// }
if
(
__isWeb
)
{
_this
.
getProjectParticularsV2
();
}
window
.
__refresh
=
function
()
{
_this
.
getUserInfo
();
};
...
...
@@ -555,7 +556,7 @@ export default {
// 跳转到原生的购买页面
confirm
()
{
let
appVersion
=
this
.
userInfo
.
appVersion
;
let
appVersion
=
this
.
userInfo
.
appVersion
||
''
;
let
appVersionNum
=
appVersion
.
split
(
'.'
).
join
(
''
);
if
(
appVersionNum
<
341
)
{
Toast
(
'请您下载新版本App'
);
...
...
@@ -734,6 +735,7 @@ export default {
//去兑换
changeClick
(
msg
){
console
.
log
(
'in changeClick'
);
this
.
showChangeCard
=
true
;
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录