|
@@ -68,6 +68,9 @@
|
|
|
alt=""
|
|
|
/>
|
|
|
{{ item.name }}
|
|
|
+ <div v-if="active === item.key" class="active-icon">
|
|
|
+ <van-icon name="success" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
</div>
|
|
@@ -91,9 +94,34 @@
|
|
|
</div>
|
|
|
</van-popup>
|
|
|
|
|
|
- <van-dialog v-model="activityPurchaseVisible" @cancel="confirm(false)" @confirm="confirm(true)" show-cancel-button confirmButtonText="“已完成支付" confirmButtonColor="#3367d1">
|
|
|
- <div style="font-size: 18px; font-weight: bold;text-align: center;padding-top: 10px;">如果您已支付成功</div>
|
|
|
- <div style="font-size: 18px; font-weight: bold;text-align: center;padding-bottom: 10px;">请点击"已完成支付"按钮</div>
|
|
|
+ <van-dialog
|
|
|
+ v-model="activityPurchaseVisible"
|
|
|
+ @cancel="confirm(false)"
|
|
|
+ @confirm="confirm(true)"
|
|
|
+ show-cancel-button
|
|
|
+ confirmButtonText="“已完成支付"
|
|
|
+ confirmButtonColor="#3367d1"
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: bold;
|
|
|
+ text-align: center;
|
|
|
+ padding-top: 10px;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ 如果您已支付成功
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: bold;
|
|
|
+ text-align: center;
|
|
|
+ padding-bottom: 10px;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ 请点击"已完成支付"按钮
|
|
|
+ </div>
|
|
|
</van-dialog>
|
|
|
</div>
|
|
|
</layout>
|
|
@@ -197,7 +225,10 @@ export default {
|
|
|
};
|
|
|
|
|
|
if (res.success) {
|
|
|
- localStorage.setItem('activityPurchaseMyOrderNum', res.data.myOrderNum);
|
|
|
+ localStorage.setItem(
|
|
|
+ 'activityPurchaseMyOrderNum',
|
|
|
+ res.data.myOrderNum,
|
|
|
+ );
|
|
|
const data = {
|
|
|
myOrderNum: res.data.myOrderNum,
|
|
|
};
|
|
@@ -279,10 +310,10 @@ export default {
|
|
|
this.$router.push('/claimCloudPhone/inviteeExits');
|
|
|
},
|
|
|
confirm(bool) {
|
|
|
- if(bool) return this.$router.replace('/claimCloudPhone/confirmation')
|
|
|
+ if (bool) return this.$router.replace('/claimCloudPhone/confirmation');
|
|
|
this.activityPurchaseVisible = false;
|
|
|
localStorage.removeItem('activityPurchaseVisible');
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -298,9 +329,8 @@ export default {
|
|
|
background: #ffffff;
|
|
|
box-shadow: 0px 2px 4px 0px #f6e5d3;
|
|
|
border-radius: 8px;
|
|
|
- display: grid;
|
|
|
- grid-gap: 8px;
|
|
|
- grid-template-columns: repeat(3, 1fr);
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
& > div {
|
|
|
text-align: center;
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
@@ -321,14 +351,13 @@ export default {
|
|
|
.payment-container {
|
|
|
border-radius: 10px 10px 0 0;
|
|
|
padding: 16px;
|
|
|
- margin: 0 16px;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
background: #f4f6f8;
|
|
|
overflow-y: auto;
|
|
|
.payment-container-title {
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
- font-weight: bold;
|
|
|
+ font-weight: 500;
|
|
|
font-size: 18px;
|
|
|
color: #0a132b;
|
|
|
line-height: 20px;
|
|
@@ -346,12 +375,14 @@ export default {
|
|
|
align-items: center;
|
|
|
.payment-container-info_value {
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 18px;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 28px;
|
|
|
color: #0a132b;
|
|
|
+ line-height: 32px;
|
|
|
+ text-align: center;
|
|
|
font-style: normal;
|
|
|
span {
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 18px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -360,6 +391,8 @@ export default {
|
|
|
font-weight: 400;
|
|
|
font-size: 14px;
|
|
|
color: #0a132b;
|
|
|
+ line-height: 18px;
|
|
|
+ text-align: center;
|
|
|
font-style: normal;
|
|
|
}
|
|
|
}
|
|
@@ -398,8 +431,8 @@ export default {
|
|
|
|
|
|
.payment-container-method_select {
|
|
|
display: grid;
|
|
|
- grid-gap: 8px;
|
|
|
- grid-template-columns: repeat(2, 1fr);
|
|
|
+ grid-gap: 10px;
|
|
|
+ grid-template-columns: repeat(3, 1fr);
|
|
|
& > div {
|
|
|
height: 54px;
|
|
|
line-height: 54px;
|
|
@@ -408,21 +441,20 @@ export default {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
- padding: 0 18px;
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 14px;
|
|
|
color: #666666;
|
|
|
border: 1px solid transparent;
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 14px;
|
|
|
line-height: 18px;
|
|
|
font-style: normal;
|
|
|
-
|
|
|
&.active {
|
|
|
background: #ffffff;
|
|
|
border-radius: 6px;
|
|
|
border: 1px solid #3b7fff;
|
|
|
position: relative;
|
|
|
- &::after {
|
|
|
+ .active-icon {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
right: 0;
|
|
@@ -430,12 +462,12 @@ export default {
|
|
|
height: 15px;
|
|
|
background: #3a86fe;
|
|
|
border-radius: 0px 6px 0px 6px;
|
|
|
- display: block;
|
|
|
- content: '√';
|
|
|
- font-size: 10px;
|
|
|
- text-align: center;
|
|
|
- line-height: 15px;
|
|
|
- color: #ffffff;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ .van-icon-success {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
& > img {
|
|
@@ -456,20 +488,21 @@ export default {
|
|
|
margin-top: 24px;
|
|
|
& > div:first-of-type {
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
- font-weight: bold;
|
|
|
+ font-weight: 500;
|
|
|
font-size: 14px;
|
|
|
color: #0a132b;
|
|
|
line-height: 20px;
|
|
|
- text-align: left;
|
|
|
font-style: normal;
|
|
|
padding: 16px 0 16px 16px;
|
|
|
& > span {
|
|
|
- font-size: 18px;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 24px;
|
|
|
color: #f04646;
|
|
|
line-height: 20px;
|
|
|
+ text-align: left;
|
|
|
font-style: normal;
|
|
|
span {
|
|
|
- font-size: 12px;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -479,12 +512,12 @@ export default {
|
|
|
font-weight: 600;
|
|
|
font-size: 16px;
|
|
|
color: #ffffff;
|
|
|
- line-height: 55px;
|
|
|
- text-align: left;
|
|
|
+ line-height: 22px;
|
|
|
+ text-align: center;
|
|
|
font-style: normal;
|
|
|
- width: 136px;
|
|
|
+ line-height: 55px;
|
|
|
height: 55px;
|
|
|
- text-align: center;
|
|
|
+ width: 136px;
|
|
|
background: linear-gradient(90deg, #38aefc 0%, #3b7fff 100%);
|
|
|
border-radius: 16px;
|
|
|
}
|
|
@@ -509,243 +542,4 @@ export default {
|
|
|
.disabled {
|
|
|
opacity: 0.3;
|
|
|
}
|
|
|
-// .purchase {
|
|
|
-// height: 100%;
|
|
|
-// box-sizing: border-box;
|
|
|
-// background: #fdf2e3;
|
|
|
-// .purchase-container {
|
|
|
-// padding: 12.2666666667vw 0 16px;
|
|
|
-// height: 100%;
|
|
|
-// box-sizing: border-box;
|
|
|
-// background: url('~/assets/image/claimCloudPhone/purchase-img.png') no-repeat;
|
|
|
-// background-size: 100% 210px;
|
|
|
-// background-position: 0px 12.2666666667vw;
|
|
|
-// & > div {
|
|
|
-// padding: 224px 16px 0;
|
|
|
-// .purchase-privilege {
|
|
|
-// padding: 16px;
|
|
|
-// height: 102px;
|
|
|
-// background: #ffffff;
|
|
|
-// box-shadow: 0px 2px 4px 0px #f6e5d3;
|
|
|
-// border-radius: 8px;
|
|
|
-// display: grid;
|
|
|
-// grid-gap: 8px;
|
|
|
-// grid-template-columns: repeat(3, 1fr);
|
|
|
-// & > div {
|
|
|
-// text-align: center;
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: 400;
|
|
|
-// font-size: 14px;
|
|
|
-// color: #1c2023;
|
|
|
-// line-height: 20px;
|
|
|
-// font-style: normal;
|
|
|
-// & > img {
|
|
|
-// width: 42px;
|
|
|
-// height: 42px;
|
|
|
-// display: block;
|
|
|
-// margin: 0 auto;
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
-// .payment-container {
|
|
|
-// border-radius: 10px 10px 0 0;
|
|
|
-// padding: 16px;
|
|
|
-// height: 66vh;
|
|
|
-// display: flex;
|
|
|
-// flex-direction: column;
|
|
|
-// background: #f4f6f8;
|
|
|
-// overflow-y: auto;
|
|
|
-// .payment-container-title {
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: bold;
|
|
|
-// font-size: 18px;
|
|
|
-// color: #0a132b;
|
|
|
-// line-height: 20px;
|
|
|
-// text-align: center;
|
|
|
-// font-style: normal;
|
|
|
-// }
|
|
|
-
|
|
|
-// .payment-container-info {
|
|
|
-// margin-top: 16px;
|
|
|
-// height: 100px;
|
|
|
-// background: #ffffff;
|
|
|
-// border-radius: 16px;
|
|
|
-// display: flex;
|
|
|
-// justify-content: center;
|
|
|
-// align-items: center;
|
|
|
-// .payment-container-info_value {
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: bold;
|
|
|
-// font-size: 18px;
|
|
|
-// color: #0a132b;
|
|
|
-// font-style: normal;
|
|
|
-// span {
|
|
|
-// font-size: 14px;
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
-// .payment-container-info_name {
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: 400;
|
|
|
-// font-size: 14px;
|
|
|
-// color: #0a132b;
|
|
|
-// font-style: normal;
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
-// .payment-container-num {
|
|
|
-// margin-top: 16px;
|
|
|
-// padding: 16px;
|
|
|
-// box-sizing: border-box;
|
|
|
-// height: 50px;
|
|
|
-// background: #ffffff;
|
|
|
-// border-radius: 16px;
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: bold;
|
|
|
-// font-size: 14px;
|
|
|
-// color: #0a132b;
|
|
|
-// line-height: 18px;
|
|
|
-// text-align: left;
|
|
|
-// display: flex;
|
|
|
-// font-style: normal;
|
|
|
-// .van-stepper {
|
|
|
-// margin-left: 10px;
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
-// .payment-container-method {
|
|
|
-// .payment-container-method_title {
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: bold;
|
|
|
-// font-size: 14px;
|
|
|
-// color: #0a132b;
|
|
|
-// line-height: 18px;
|
|
|
-// text-align: left;
|
|
|
-// font-style: normal;
|
|
|
-// margin: 16px 0;
|
|
|
-// }
|
|
|
-
|
|
|
-// .payment-container-method_select {
|
|
|
-// display: grid;
|
|
|
-// grid-gap: 8px;
|
|
|
-// grid-template-columns: repeat(2, 1fr);
|
|
|
-// & > div {
|
|
|
-// height: 54px;
|
|
|
-// line-height: 54px;
|
|
|
-// background: #edeef0;
|
|
|
-// border-radius: 6px;
|
|
|
-// display: flex;
|
|
|
-// justify-content: center;
|
|
|
-// align-items: center;
|
|
|
-// padding: 0 18px;
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: bold;
|
|
|
-// font-size: 14px;
|
|
|
-// color: #666666;
|
|
|
-// border: 1px solid transparent;
|
|
|
-// line-height: 18px;
|
|
|
-// font-style: normal;
|
|
|
-
|
|
|
-// &.active {
|
|
|
-// background: #ffffff;
|
|
|
-// border-radius: 6px;
|
|
|
-// border: 1px solid #3b7fff;
|
|
|
-// position: relative;
|
|
|
-// &::after {
|
|
|
-// position: absolute;
|
|
|
-// top: 0;
|
|
|
-// right: 0;
|
|
|
-// width: 26px;
|
|
|
-// height: 15px;
|
|
|
-// background: #3a86fe;
|
|
|
-// border-radius: 0px 6px 0px 6px;
|
|
|
-// display: block;
|
|
|
-// content: '√';
|
|
|
-// font-size: 10px;
|
|
|
-// text-align: center;
|
|
|
-// line-height: 15px;
|
|
|
-// color: #ffffff;
|
|
|
-// }
|
|
|
-// }
|
|
|
-// & > img {
|
|
|
-// width: 24px;
|
|
|
-// height: 24px;
|
|
|
-// margin-right: 4px;
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
-// .payment-container-amount {
|
|
|
-// background: #ffffff;
|
|
|
-// box-shadow: 0px 0px 13px 0px rgba(206, 206, 206, 0.5);
|
|
|
-// border-radius: 16px;
|
|
|
-// display: flex;
|
|
|
-// justify-content: space-between;
|
|
|
-// margin-top: 24px;
|
|
|
-// & > div:first-of-type {
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: bold;
|
|
|
-// font-size: 14px;
|
|
|
-// color: #0a132b;
|
|
|
-// line-height: 20px;
|
|
|
-// text-align: left;
|
|
|
-// font-style: normal;
|
|
|
-// padding: 16px 0 16px 16px;
|
|
|
-// & > span {
|
|
|
-// font-size: 18px;
|
|
|
-// color: #f04646;
|
|
|
-// line-height: 20px;
|
|
|
-// font-style: normal;
|
|
|
-// span {
|
|
|
-// font-size: 12px;
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
-// & > div:last-of-type {
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: 600;
|
|
|
-// font-size: 16px;
|
|
|
-// color: #ffffff;
|
|
|
-// line-height: 55px;
|
|
|
-// text-align: left;
|
|
|
-// font-style: normal;
|
|
|
-// width: 136px;
|
|
|
-// height: 55px;
|
|
|
-// text-align: center;
|
|
|
-// background: linear-gradient(90deg, #38aefc 0%, #3b7fff 100%);
|
|
|
-// border-radius: 16px;
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
-// .payment-container-agreement {
|
|
|
-// margin-top: 9px;
|
|
|
-// font-family: PingFangSC, PingFang SC;
|
|
|
-// font-weight: 500;
|
|
|
-// font-size: 12px;
|
|
|
-// color: #bbbbbb;
|
|
|
-// line-height: 16px;
|
|
|
-// text-align: center;
|
|
|
-// font-style: normal;
|
|
|
-// span{
|
|
|
-// color: #3A86FE;
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
-// ::v-deep .van-nav-bar__arrow {
|
|
|
-// color: #000000;
|
|
|
-// font-size: 24px;
|
|
|
-// }
|
|
|
-
|
|
|
-// ::v-deep .van-nav-bar__title {
|
|
|
-// font-weight: bold !important;
|
|
|
-// font-size: 17px !important;
|
|
|
-// color: #0a132b !important;
|
|
|
-// line-height: 24px !important;
|
|
|
-// }
|
|
|
</style>
|