首页待开课

parent 488d66ca
<template> <template>
<div class="activity"> <div class="activity">
<img v-lazy="img1" alt /> <img v-lazy="img1" alt />
<div class="title">注册领取课程</div> <div class="box">
<div class="form-block"> <div class="form-block">
<div class="title">注册领取课程</div>
<div class="input-block"> <div class="input-block">
<input <input
placeholder="手机(用于接收课程信息)" placeholder="手机(用于接收课程信息)"
...@@ -32,6 +33,7 @@ ...@@ -32,6 +33,7 @@
<img :src="lock" alt />&nbsp;唱唱会保护您的隐私 请放心输入 <img :src="lock" alt />&nbsp;唱唱会保护您的隐私 请放心输入
</div> </div>
</div> </div>
</div>
<img v-lazy="img2" alt /> <img v-lazy="img2" alt />
<img v-lazy="img3" alt /> <img v-lazy="img3" alt />
<img v-lazy="img4" alt /> <img v-lazy="img4" alt />
...@@ -127,7 +129,8 @@ export default { ...@@ -127,7 +129,8 @@ export default {
query.cct_user_id = comment.getParamhref().cct_user_id; query.cct_user_id = comment.getParamhref().cct_user_id;
} }
console.log(json); console.log(json);
bindMobileApi(json).then(data => { bindMobileApi(json)
.then(data => {
getUserDetailApi().then(res => { getUserDetailApi().then(res => {
localStorage.setItem("userDesc", JSON.stringify(res)); localStorage.setItem("userDesc", JSON.stringify(res));
this.$router.push({ this.$router.push({
...@@ -135,7 +138,8 @@ export default { ...@@ -135,7 +138,8 @@ export default {
query: query query: query
}); });
}); });
}).catch(res => {}); })
.catch(res => {});
}, },
refImgCode() { refImgCode() {
this.$refs.imgCode.src = "/api/public/img/verify?flag=" + Math.random(); this.$refs.imgCode.src = "/api/public/img/verify?flag=" + Math.random();
...@@ -189,13 +193,13 @@ video { ...@@ -189,13 +193,13 @@ video {
@borderRadius: 8px; @borderRadius: 8px;
.activity { .activity {
background-color: #f9d048; background-color: #f9d048;
padding-bottom: 63* @toVw; padding-bottom: 63 * @toVw;
.title{ .title {
font-size: 16 * @toVw; font-size: 16 * @toVw;
font-weight: bold; font-weight: bold;
color: #952700; color: #952700;
text-align: center; text-align: center;
margin-top: 13 * @toVw; margin: 4 * @toVw 0 13 * @toVw;
} }
.codeMsg { .codeMsg {
border-radius: 4 * @toVw; border-radius: 4 * @toVw;
...@@ -209,22 +213,27 @@ video { ...@@ -209,22 +213,27 @@ video {
opacity: 0.5; opacity: 0.5;
} }
} }
.box{
padding: 0 12 * @toVw 10 * @toVw;
margin-top: 10 * @toVw;
}
.form-block { .form-block {
// position: relative; // position: relative;
z-index: 10; z-index: 10;
background: #f9d048; background: #f9d048;
// top: -42*@toVw; // top: -42*@toVw;
padding: 20 * @toVw; background: white;
// border-radius:20*@toVw; border-radius:5*@toVw;
padding: 10*@toVw;
.tip { .tip {
font-size: 12 * @toVw; font-size: 12 * @toVw;
color: #952700; color: #952700;
text-align: center; text-align: center;
margin-top: 16px; margin-top: 16px;
img{ img {
width: 11* @toVw; width: 11 * @toVw;
position: relative; position: relative;
top: 2* @toVw; top: 2 * @toVw;
} }
} }
.input-block { .input-block {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment