提交 5ae91b31 编写于 作者: guangjun.yang's avatar guangjun.yang

兑换页面样式等

上级 e9c699c9
...@@ -15,8 +15,10 @@ ...@@ -15,8 +15,10 @@
<!-- <span>{{level}} | {{projectCredit}}</span> --> <!-- <span>{{level}} | {{projectCredit}}</span> -->
</div> </div>
<div class="content"> <div class="content">
<span>申请范围</span> <!-- <span>申请范围</span> -->
<span>{{scope}}</span> <!-- <span>{{scope}}</span> -->
<span>学习范围</span>
<span>后台配置</span>
</div> </div>
<div class="remind" v-if="remind && cmeType != 2"> <div class="remind" v-if="remind && cmeType != 2">
<span>{{remind}}</span> <span>{{remind}}</span>
...@@ -27,8 +29,8 @@ ...@@ -27,8 +29,8 @@
</div> </div>
<div class="content"> <div class="content">
<!-- <span>{{cmeType == 2 ? '主办单位' : '发起机构'}}</span> --> <!-- <span>{{cmeType == 2 ? '主办单位' : '发起机构'}}</span> -->
<span>主办单位</span> <!-- <span>主办单位</span> -->
<!-- <span>发起机构</span> --> <span>发起机构</span>
<span>{{organName}}</span> <span>{{organName}}</span>
</div> </div>
</div> </div>
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
</div> </div>
<div class="bottom"> <div class="bottom">
<img src="../../images/cme/phrase2/info.png" /> <img src="../../images/cme/phrase2/info.png" />
<span>兑换或购买后可学习课程</span> <span>激活或购买后可学习课程</span>
</div> </div>
</article> </article>
<article class="right"> <article class="right">
<span class="left" @click="changeClick">兑换</span> <span class="left" @click="changeClick">激活</span>
<span @click="gotoBuy" class="right">去购买</span> <span @click="gotoBuy" class="right">去购买</span>
</article> </article>
</section> </section>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
> >
<section class="bind-cart-wrapper"> <section class="bind-cart-wrapper">
<article class="title"> <article class="title">
<span>兑换详情</span> <span>激活详情</span>
<img @click="cancle" src="../../images/cme/close.png" /> <img @click="cancle" src="../../images/cme/close.png" />
</article> </article>
<article class="tip"> <article class="tip">
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
<van-field <van-field
maxlength="23" maxlength="23"
v-model="activationCode" v-model="activationCode"
clearable
label="激活码" label="激活码"
placeholder="请输入激活码" placeholder="请输入激活码"
/> />
...@@ -29,7 +28,7 @@ ...@@ -29,7 +28,7 @@
</section> </section>
<article class="bottom"> <article class="bottom">
<van-button @click="confirm" size="large" round color="#449284">确认兑换</van-button> <van-button @click="confirm" size="large" round color="#449284">确认激活</van-button>
</article> </article>
</section> </section>
</van-popup> </van-popup>
...@@ -144,8 +143,8 @@ export default { ...@@ -144,8 +143,8 @@ export default {
} }
.error { .error {
position: absolute; position: absolute;
top: px2rem(64px); top: px2rem(66px);
left: px2rem(70px); left: px2rem(56px);
display: inline-block; display: inline-block;
color: red; color: red;
font-size: px2rem(12px); font-size: px2rem(12px);
......
...@@ -127,4 +127,7 @@ ...@@ -127,4 +127,7 @@
.bind-cart-wrapper .van-field__label { .bind-cart-wrapper .van-field__label {
width: px2rem(56px) !important; width: px2rem(56px) !important;
padding-top: px2rem(8px); padding-top: px2rem(8px);
}
.bind-cart-wrapper .van-cell {
padding: 0.54rem 0 !important;
} }
\ No newline at end of file
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
@gotoBuy="confirm" @gotoBuy="confirm"
></BindCardButton> ></BindCardButton>
<!--去兑换--> <!--去激活-->
<ChangeCard <ChangeCard
:changeErrorMsg="changeCardErrorMsg" :changeErrorMsg="changeCardErrorMsg"
:isShow="showChangeCard" :isShow="showChangeCard"
...@@ -236,7 +236,7 @@ export default { ...@@ -236,7 +236,7 @@ export default {
// inScope=0时考试按钮不显示, // inScope=0时考试按钮不显示,
// currentProgress>1时考试按钮显示并可用 // currentProgress>1时考试按钮显示并可用
}, },
hasBindCard: false, // 是否绑定过学习卡或兑换过 没有绑定,则显示绑定按钮 hasBindCard: false, // 是否绑定过学习卡或激活过 没有绑定,则显示绑定按钮
projectLeader: {}, projectLeader: {},
doctorList: [], doctorList: [],
from: "inner", from: "inner",
...@@ -278,7 +278,7 @@ export default { ...@@ -278,7 +278,7 @@ export default {
id: 0 id: 0
}, },
advertInfoList: [], advertInfoList: [],
showChangeCard: false, //是否展示兑换弹框, showChangeCard: false, //是否展示激活弹框,
changeCardErrorMsg: "" changeCardErrorMsg: ""
}; };
}, },
...@@ -369,7 +369,7 @@ export default { ...@@ -369,7 +369,7 @@ export default {
this.showChangeCard = false; this.showChangeCard = false;
}, },
// 兑换 返回值:0绑定失败,1绑定成功 // 激活 返回值:0绑定失败,1绑定成功
changeCardAction(cardKey) { changeCardAction(cardKey) {
console.log("cardKey", cardKey); console.log("cardKey", cardKey);
console.log("in changeCard"); console.log("in changeCard");
...@@ -386,10 +386,10 @@ export default { ...@@ -386,10 +386,10 @@ export default {
this.showChangeCard = false; this.showChangeCard = false;
_this.getProjectParticularsV2(); _this.getProjectParticularsV2();
} else { } else {
_this.changeCardErrorMsg = "请输入正确的兑换码"; _this.changeCardErrorMsg = "请输入正确的激活码";
} }
}).catch( e => { }).catch( e => {
_this.changeCardErrorMsg = "请输入正确的兑换码"; _this.changeCardErrorMsg = "请输入正确的激活码";
}); });
}, },
...@@ -755,7 +755,7 @@ export default { ...@@ -755,7 +755,7 @@ export default {
}); });
}, },
//去兑换 //去激活
changeClick(msg) { changeClick(msg) {
console.log("in changeClick"); console.log("in changeClick");
this.showChangeCard = true; this.showChangeCard = true;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册