|
@@ -2,9 +2,8 @@
|
|
|
<div class="bargaining-assistance">
|
|
|
<!-- 邀请人提示 -->
|
|
|
<div class="inviter-tips" v-if="+type">
|
|
|
- <div>恭喜您选到喜欢的云手机</div>
|
|
|
- <div>您一定要免费带走</div>
|
|
|
- 好友注册获得助力 好友下单加速助力
|
|
|
+ <img src="@/assets/image/claimCloudPhone/inviter-tips.png" alt="" />
|
|
|
+ <div>好友注册获得助力 好友下单加速助力</div>
|
|
|
</div>
|
|
|
<!-- 被邀请人提示 -->
|
|
|
<div v-else class="invitee-tips">
|
|
@@ -126,7 +125,14 @@
|
|
|
<div class="barrage"></div>
|
|
|
</template>
|
|
|
|
|
|
- <div class="rule" @click="ruleVisible = true" v-if="+type">规则</div>
|
|
|
+ <div
|
|
|
+ class="rule"
|
|
|
+ @click="ruleVisible = true"
|
|
|
+ v-if="+type"
|
|
|
+ :style="ruleStyle"
|
|
|
+ >
|
|
|
+ 规则
|
|
|
+ </div>
|
|
|
<!-- 规则弹窗 -->
|
|
|
<van-dialog v-model="ruleVisible" :showConfirmButton="false">
|
|
|
<div class="rule-title">活动规则</div>
|
|
@@ -378,10 +384,12 @@ export default {
|
|
|
computed: {
|
|
|
time() {
|
|
|
const { validityPeriodTimeStamp = 0 } = this.info;
|
|
|
- let time= null
|
|
|
- time = validityPeriodTimeStamp ? validityPeriodTimeStamp - this.systemTime * 1000 : 0
|
|
|
- time = +this.type === 7 ? 0 : time
|
|
|
- return time
|
|
|
+ let time = null;
|
|
|
+ time = validityPeriodTimeStamp
|
|
|
+ ? validityPeriodTimeStamp - this.systemTime * 1000
|
|
|
+ : 0;
|
|
|
+ time = +this.type === 7 ? 0 : time;
|
|
|
+ return time;
|
|
|
},
|
|
|
btnName() {
|
|
|
let name = null;
|
|
@@ -396,6 +404,19 @@ export default {
|
|
|
}
|
|
|
return name;
|
|
|
},
|
|
|
+ ruleStyle() {
|
|
|
+ let obj = {};
|
|
|
+ const isApp = this.$userAgent.isSzx || this.$userAgent.isSzxBrowser;
|
|
|
+ const isAndroid = this.$userAgent.isAndroid;
|
|
|
+ const isWx = this.$userAgent.isWx;
|
|
|
+
|
|
|
+ if ((isApp && isAndroid) || isWx) {
|
|
|
+ obj.top = '10%';
|
|
|
+ } else {
|
|
|
+ obj.top = '18%';
|
|
|
+ }
|
|
|
+ return obj;
|
|
|
+ },
|
|
|
},
|
|
|
methods: {
|
|
|
// 轮播活动参加的人的信息
|
|
@@ -885,16 +906,21 @@ export default {
|
|
|
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
|
|
|
}
|
|
|
.inviter-tips {
|
|
|
- font-weight: 400;
|
|
|
- font-size: 12px;
|
|
|
- color: #ffffff;
|
|
|
- line-height: 17px;
|
|
|
- text-align: center;
|
|
|
- font-style: normal;
|
|
|
- margin-bottom: 14px;
|
|
|
+ & > img {
|
|
|
+ height: 60px;
|
|
|
+ display: block;
|
|
|
+ margin: 0 auto;
|
|
|
+ }
|
|
|
& > div {
|
|
|
- font-size: 26px;
|
|
|
- line-height: 30px;
|
|
|
+ font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 17px;
|
|
|
+ text-align: center;
|
|
|
+ font-style: normal;
|
|
|
+ margin-top: 6px;
|
|
|
+ margin-bottom: 14px;
|
|
|
}
|
|
|
}
|
|
|
.invitee-tips {
|
|
@@ -946,12 +972,13 @@ export default {
|
|
|
}
|
|
|
.package-price {
|
|
|
font-family: Alibaba-PuHuiTi, Alibaba-PuHuiTi;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #c70b0b;
|
|
|
height: 120px;
|
|
|
font-weight: normal;
|
|
|
box-sizing: border-box;
|
|
|
padding-top: 30px;
|
|
|
- font-size: 30px;
|
|
|
- color: #c70b0b;
|
|
|
+ font-size: 60px;
|
|
|
line-height: 62px;
|
|
|
text-align: center;
|
|
|
font-style: normal;
|
|
@@ -963,7 +990,7 @@ export default {
|
|
|
border-radius: 20px;
|
|
|
margin-top: -20px;
|
|
|
span {
|
|
|
- font-size: 20px;
|
|
|
+ font-size: 30px;
|
|
|
}
|
|
|
}
|
|
|
.package-progress {
|
|
@@ -973,11 +1000,12 @@ export default {
|
|
|
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
|
|
|
text-align: center;
|
|
|
font-size: 16px;
|
|
|
- font-weight: bold;
|
|
|
color: #000000;
|
|
|
- line-height: 22px;
|
|
|
font-style: normal;
|
|
|
margin-bottom: 24px;
|
|
|
+ font-weight: 500;
|
|
|
+ line-height: 22px;
|
|
|
+ font-style: normal;
|
|
|
span {
|
|
|
color: #f04646;
|
|
|
}
|
|
@@ -1238,14 +1266,13 @@ export default {
|
|
|
|
|
|
.rule {
|
|
|
position: fixed;
|
|
|
- top: 12.5%;
|
|
|
+ z-index: 0;
|
|
|
right: 0;
|
|
|
width: 40px;
|
|
|
height: 20px;
|
|
|
line-height: 20px;
|
|
|
background: #f04646;
|
|
|
border-radius: 17px 0px 0px 17px;
|
|
|
- z-index: 2;
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
font-weight: 400;
|
|
|
font-size: 12px;
|
|
@@ -1277,7 +1304,6 @@ export default {
|
|
|
font-size: 14px;
|
|
|
color: #751d13;
|
|
|
line-height: 16px;
|
|
|
- text-align: left;
|
|
|
font-style: normal;
|
|
|
overflow-y: auto;
|
|
|
}
|
|
@@ -1309,21 +1335,24 @@ export default {
|
|
|
}
|
|
|
|
|
|
.bargaining-amount {
|
|
|
- height: 234px;
|
|
|
+ height: 300px;
|
|
|
background: url('~/assets/image/claimCloudPhone/bargaining-amount-img.png')
|
|
|
no-repeat 0 20px;
|
|
|
padding-top: 30px;
|
|
|
box-sizing: border-box;
|
|
|
- background-size: 100% 210px;
|
|
|
+ background-size: 100% auto;
|
|
|
.bargaining-amount-text {
|
|
|
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
|
|
|
font-weight: bold;
|
|
|
font-size: 24px;
|
|
|
color: #ffffff;
|
|
|
+ line-height: 20px;
|
|
|
text-align: center;
|
|
|
font-style: normal;
|
|
|
span {
|
|
|
color: #ff0000;
|
|
|
+ font-size: 35px;
|
|
|
+ color: #fad539;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1373,6 +1402,8 @@ export default {
|
|
|
|
|
|
.bargaining-success {
|
|
|
height: 378px;
|
|
|
+ width: 289px;
|
|
|
+ margin: 0 auto;
|
|
|
background: url('~/assets/image/claimCloudPhone/successful-bargaining-img.png')
|
|
|
no-repeat 0 0;
|
|
|
background-size: 100% 100%;
|
|
@@ -1381,21 +1412,22 @@ export default {
|
|
|
.bargaining-success-title {
|
|
|
margin-top: 24px;
|
|
|
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
|
|
|
+ text-align: center;
|
|
|
+ font-style: normal;
|
|
|
font-weight: bold;
|
|
|
font-size: 28px;
|
|
|
color: #fdf9c8;
|
|
|
line-height: 38px;
|
|
|
- text-align: center;
|
|
|
- font-style: normal;
|
|
|
}
|
|
|
.bargaining-success-tips {
|
|
|
font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;
|
|
|
- width: 165px;
|
|
|
- font-weight: bold;
|
|
|
+ font-weight: 500;
|
|
|
font-size: 12px;
|
|
|
color: #ffffff;
|
|
|
line-height: 17px;
|
|
|
text-align: center;
|
|
|
+ font-style: normal;
|
|
|
+ width: 160px;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
|
|
@@ -1429,6 +1461,8 @@ export default {
|
|
|
|
|
|
.expire {
|
|
|
height: 378px;
|
|
|
+ width: 289px;
|
|
|
+ margin: 0 auto;
|
|
|
background: url('~/assets/image/claimCloudPhone/expire-img.png') no-repeat 0
|
|
|
0;
|
|
|
background-size: 100% 100%;
|