|
@@ -1,11 +1,20 @@
|
|
|
<template>
|
|
|
- <view class="vip-container">
|
|
|
+ <view class="vip-container" >
|
|
|
<view class="heard-box" :class="`active${selectedPrice}`">
|
|
|
<!-- 自定义头部 -->
|
|
|
- <PageHeader title="" class="PageHeader">
|
|
|
+ <PageHeader title="" class="PageHeader" :class="{ 'whitePhageHeader': headerOpacity > 0.2 }"
|
|
|
+ :style="{ opacity: headerOpacity < 0.2 ? 1 : headerOpacity }">
|
|
|
+ <template v-slot:center>
|
|
|
+ <view class="center-title" style="font-size: 32rpx;color: #fff;">会员中心</view>
|
|
|
+
|
|
|
+ </template>
|
|
|
<template v-slot:right>
|
|
|
<view class="more-options" @tap="toggleDropdown">
|
|
|
- <text class="fa fa-ellipsis-h"></text>
|
|
|
+ <image src="@/static/icon/more3.png" v-if="headerOpacity < 0.2" style="width: 64rpx;height: 64rpx; margin-top: 15rpx;" mode="widthFix"></image>
|
|
|
+
|
|
|
+ <image src="@/static/icon/more2.png" v-else style="width: 64rpx;height: 64rpx; margin-top: 15rpx;" mode="widthFix"></image>
|
|
|
+
|
|
|
+
|
|
|
<view class="dropdown-menu" v-if="showDropdown">
|
|
|
<view class="dropdown-item" @tap="handleOption('vipRecord')">VIP记录</view>
|
|
|
<view class="dropdown-item" @tap="handleOption('contact')">联系客服</view>
|
|
@@ -52,8 +61,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <uv-notice-bar direction="column" speed="250" color="#333"
|
|
|
- :text="memberInformation"></uv-notice-bar>
|
|
|
+ <uv-notice-bar direction="column" speed="250" color="#333" :text="memberInformation"></uv-notice-bar>
|
|
|
|
|
|
<!-- 会员特权列表 -->
|
|
|
<view class="vip-privileges">
|
|
@@ -68,30 +76,33 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="agree">
|
|
|
- <view class="agree2" @click="agreeChk()">
|
|
|
- <image mode="widthFix" src="../../static/icon/wd_icon_gouxuan04.png" v-if="is_agree == 0"></image>
|
|
|
- <image mode="widthFix" src="../../static/icon/wd_icon_gouxuan05.png" v-if="is_agree == 1"></image>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- 同意
|
|
|
- <text class="xy" @click="goPage('/pages/AboutUs/pay_xy')">
|
|
|
- 《充值服务协议》
|
|
|
- </text>,充值M币仅【萌创星球】使用点击查看
|
|
|
- <text class="xy" @click="goPage('/pages/vip/record?type=vip')">
|
|
|
- 充值记录
|
|
|
- </text>
|
|
|
- </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="agree">
|
|
|
+ <view class="agree2" @click="agreeChk()">
|
|
|
+ <image style="width: 32rpx;height: 32rpx;" src="../../static/icon/wd_icon_gouxuan04.png"
|
|
|
+ v-if="is_agree == 0">
|
|
|
+ </image>
|
|
|
+ <image style="width: 32rpx;height: 32rpx;" src="../../static/icon/wd_icon_gouxuan05.png"
|
|
|
+ v-if="is_agree == 1">
|
|
|
+ </image>
|
|
|
</view>
|
|
|
- <view class="bottom-pay-btn-bottom"
|
|
|
- v-if="priceOptions && priceOptions[selectedPrice] && priceOptions[selectedPrice].price"
|
|
|
- :class="{'btn-loading': isSubmitting}"
|
|
|
- @tap="showPaymentOptions">
|
|
|
- <text v-if="!isSubmitting">¥{{ priceOptions[selectedPrice].price }}</text>
|
|
|
- <text v-if="!isSubmitting">立即购买</text>
|
|
|
- <view v-if="isSubmitting" class="loading-spinner"></view>
|
|
|
+ <view>
|
|
|
+ 同意
|
|
|
+ <text class="xy" @click="goPage('/pages/AboutUs/pay_xy')">
|
|
|
+ 《充值服务协议》
|
|
|
+ </text>,充值M币仅【萌创星球】使用,点击查看
|
|
|
+ <text class="xy" @click="goPage('/pages/vip/record?type=vip')">
|
|
|
+ 充值记录
|
|
|
+ </text>
|
|
|
</view>
|
|
|
-
|
|
|
+ </view>
|
|
|
+ <view class="bottom-pay-btn-bottom"
|
|
|
+ v-if="priceOptions && priceOptions[selectedPrice] && priceOptions[selectedPrice].price"
|
|
|
+ :class="{ 'btn-loading': isSubmitting }" @tap="showPaymentOptions">
|
|
|
+ <text class="price-value" v-if="!isSubmitting">¥{{ priceOptions[selectedPrice].price }}</text>
|
|
|
+ <text v-if="!isSubmitting">立即购买</text>
|
|
|
+ <view v-if="isSubmitting" class="loading-spinner"></view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 支付方式选择弹窗 -->
|
|
@@ -134,50 +145,51 @@ export default {
|
|
|
is_vip: false,
|
|
|
vip_date: '2023-10-23'
|
|
|
},
|
|
|
- memberInformation:[
|
|
|
- '墨色** 于10分钟前开通了月会员',
|
|
|
- '雾散时** 于24分钟前开通了季会员',
|
|
|
- 'Jox** 于17分钟前开通了月会员',
|
|
|
- '漂亮的** 于19分钟前开通了年会员',
|
|
|
- 'Ri** 于30分钟前开通了季会员',
|
|
|
- '山桃** 于15分钟前开通了月会员',
|
|
|
- 'zx** 于19分钟前开通了年会员',
|
|
|
- '** 于13分钟前开通了年会员',
|
|
|
- 'CarrollSo** 于21分钟前开通了季会员',
|
|
|
- 'Nanng** 于17分钟前开通了月会员',
|
|
|
- '芭比B** 于9分钟前开通了年会员',
|
|
|
- '小周不是** 于29分钟前开通了季会员',
|
|
|
- '落雪_** 于26分钟前开通了月会员',
|
|
|
- '雾岛听蝉9** 于19分钟前开通了年会员',
|
|
|
- '如** 于19分钟前开通了季会员',
|
|
|
- '言川Art** 于25分钟前开通了月会员',
|
|
|
- '兔子君mrbun** 于30分钟前开通了月会员',
|
|
|
- '呼哧Hac** 于6分钟前开通了年会员',
|
|
|
- 'alxe_不爱吹** 于17分钟前开通了季会员',
|
|
|
- '飞清** 于25分钟前开通了月会员',
|
|
|
- ],
|
|
|
- // memberInformation:[
|
|
|
- // '墨色轨迹于10分钟前开通了月会员',
|
|
|
- // '雾散时见山于24分钟前开通了季会员',
|
|
|
- // 'Joxin于17分钟前开通了月会员',
|
|
|
- // '漂亮的倾城于19分钟前开通了年会员',
|
|
|
- // 'Rick于30分钟前开通了季会员',
|
|
|
- // '山桃始华于15分钟前开通了月会员',
|
|
|
- // 'zx浊酒于19分钟前开通了年会员',
|
|
|
- // '桥九于13分钟前开通了年会员',
|
|
|
- // 'CarrollSong于21分钟前开通了季会员',
|
|
|
- // 'Nanngua于17分钟前开通了月会员',
|
|
|
- // '芭比Box于9分钟前开通了年会员',
|
|
|
- // '小周不是小粥于29分钟前开通了季会员',
|
|
|
- // '落雪_桃桃于26分钟前开通了月会员',
|
|
|
- // '雾岛听蝉999于19分钟前开通了年会员',
|
|
|
- // '如青稞于19分钟前开通了季会员',
|
|
|
- // '言川Artie于25分钟前开通了月会员',
|
|
|
- // '兔子君mrbunny于30分钟前开通了月会员',
|
|
|
- // '呼哧Hachi于6分钟前开通了年会员',
|
|
|
- // 'alxe_不爱吹泡泡于17分钟前开通了季会员',
|
|
|
- // '飞清云淡于25分钟前开通了月会员',
|
|
|
- // ],
|
|
|
+ headerOpacity: 0,
|
|
|
+ memberInformation: [
|
|
|
+ '墨色** 于10分钟前开通了月会员',
|
|
|
+ '雾散时** 于24分钟前开通了季会员',
|
|
|
+ 'Jox** 于17分钟前开通了月会员',
|
|
|
+ '漂亮的** 于19分钟前开通了年会员',
|
|
|
+ 'Ri** 于30分钟前开通了季会员',
|
|
|
+ '山桃** 于15分钟前开通了月会员',
|
|
|
+ 'zx** 于19分钟前开通了年会员',
|
|
|
+ '** 于13分钟前开通了年会员',
|
|
|
+ 'CarrollSo** 于21分钟前开通了季会员',
|
|
|
+ 'Nanng** 于17分钟前开通了月会员',
|
|
|
+ '芭比B** 于9分钟前开通了年会员',
|
|
|
+ '小周不是** 于29分钟前开通了季会员',
|
|
|
+ '落雪_** 于26分钟前开通了月会员',
|
|
|
+ '雾岛听蝉9** 于19分钟前开通了年会员',
|
|
|
+ '如** 于19分钟前开通了季会员',
|
|
|
+ '言川Art** 于25分钟前开通了月会员',
|
|
|
+ '兔子君mrbun** 于30分钟前开通了月会员',
|
|
|
+ '呼哧Hac** 于6分钟前开通了年会员',
|
|
|
+ 'alxe_不爱吹** 于17分钟前开通了季会员',
|
|
|
+ '飞清** 于25分钟前开通了月会员',
|
|
|
+ ],
|
|
|
+ // memberInformation:[
|
|
|
+ // '墨色轨迹于10分钟前开通了月会员',
|
|
|
+ // '雾散时见山于24分钟前开通了季会员',
|
|
|
+ // 'Joxin于17分钟前开通了月会员',
|
|
|
+ // '漂亮的倾城于19分钟前开通了年会员',
|
|
|
+ // 'Rick于30分钟前开通了季会员',
|
|
|
+ // '山桃始华于15分钟前开通了月会员',
|
|
|
+ // 'zx浊酒于19分钟前开通了年会员',
|
|
|
+ // '桥九于13分钟前开通了年会员',
|
|
|
+ // 'CarrollSong于21分钟前开通了季会员',
|
|
|
+ // 'Nanngua于17分钟前开通了月会员',
|
|
|
+ // '芭比Box于9分钟前开通了年会员',
|
|
|
+ // '小周不是小粥于29分钟前开通了季会员',
|
|
|
+ // '落雪_桃桃于26分钟前开通了月会员',
|
|
|
+ // '雾岛听蝉999于19分钟前开通了年会员',
|
|
|
+ // '如青稞于19分钟前开通了季会员',
|
|
|
+ // '言川Artie于25分钟前开通了月会员',
|
|
|
+ // '兔子君mrbunny于30分钟前开通了月会员',
|
|
|
+ // '呼哧Hachi于6分钟前开通了年会员',
|
|
|
+ // 'alxe_不爱吹泡泡于17分钟前开通了季会员',
|
|
|
+ // '飞清云淡于25分钟前开通了月会员',
|
|
|
+ // ],
|
|
|
priceOptions: [
|
|
|
],
|
|
|
selectedPrice: 1, // 默认选中的价格选项索引
|
|
@@ -201,16 +213,16 @@ export default {
|
|
|
icon: '../../static/vip/hy_icon_quanyi04.png',
|
|
|
desc: '深度思考,提升50%'
|
|
|
},
|
|
|
- // {
|
|
|
- // name: 'VIP专属通道',
|
|
|
- // icon: '../../static/vip/hy_icon_quanyi05.png',
|
|
|
- // desc: '创作加速,更快生成'
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: '免广告',
|
|
|
- // icon: '../../static/vip/hy_icon_quanyi06.png',
|
|
|
- // desc: '无广告免费体验'
|
|
|
- // }
|
|
|
+ // {
|
|
|
+ // name: 'VIP专属通道',
|
|
|
+ // icon: '../../static/vip/hy_icon_quanyi05.png',
|
|
|
+ // desc: '创作加速,更快生成'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // name: '免广告',
|
|
|
+ // icon: '../../static/vip/hy_icon_quanyi06.png',
|
|
|
+ // desc: '无广告免费体验'
|
|
|
+ // }
|
|
|
],
|
|
|
paymentMethod: 'alipay', // 默认支付方式
|
|
|
privilegesHeight: 0, // 添加存储特权区域高度的变量
|
|
@@ -225,7 +237,7 @@ export default {
|
|
|
...mapState('hideModule', ['isWeChatPay'])
|
|
|
},
|
|
|
onShow() {
|
|
|
- this.isSubmitting = false ;
|
|
|
+ this.isSubmitting = false;
|
|
|
},
|
|
|
onLoad() {
|
|
|
// 获取用户信息,检查是否为VIP
|
|
@@ -235,6 +247,16 @@ export default {
|
|
|
// 页面渲染完成后获取vip-privileges的高度
|
|
|
this.getPrivilegesHeight();
|
|
|
},
|
|
|
+ onPageScroll(e) {
|
|
|
+ console.log(e.scrollTop, "滚动高度");
|
|
|
+ var scrollTop = e.scrollTop - 10;
|
|
|
+ if (scrollTop > 0) {
|
|
|
+ this.headerOpacity = Math.min(scrollTop / 100, 1);
|
|
|
+ }
|
|
|
+ if (e.scrollTop == 0) {
|
|
|
+ this.headerOpacity = 0;
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
// 获取用户信息
|
|
|
getUserInfo() {
|
|
@@ -282,7 +304,7 @@ export default {
|
|
|
res.data.list.length > 0
|
|
|
) {
|
|
|
console.log(res.data.list, "会员列表数据");
|
|
|
- this.priceOptions=[]
|
|
|
+ this.priceOptions = []
|
|
|
res.data.list.reverse()
|
|
|
res.data.list.forEach(v => {
|
|
|
this.priceOptions.push({
|
|
@@ -350,9 +372,9 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
this.lastClickTime = now;
|
|
|
-
|
|
|
+
|
|
|
if (this.isSubmitting) return;
|
|
|
-
|
|
|
+
|
|
|
if (this.is_agree == 0) {
|
|
|
uni.showToast({
|
|
|
title: "请确认并选择协议",
|
|
@@ -565,15 +587,15 @@ export default {
|
|
|
});
|
|
|
break;
|
|
|
case 'contact':
|
|
|
-
|
|
|
- this.openCustomPopup();
|
|
|
+
|
|
|
+ this.openCustomPopup();
|
|
|
|
|
|
break;
|
|
|
}
|
|
|
},
|
|
|
openCustomPopup() {
|
|
|
- this.$refs.customerServicePopup.open();
|
|
|
- },
|
|
|
+ this.$refs.customerServicePopup.open();
|
|
|
+ },
|
|
|
goPage(page) {
|
|
|
uni.navigateTo({
|
|
|
url: page,
|
|
@@ -595,7 +617,10 @@ export default {
|
|
|
|
|
|
.vip-container {
|
|
|
min-height: 100vh;
|
|
|
- padding-bottom: 100rpx;
|
|
|
+ padding-bottom: 360rpx;
|
|
|
+ position: relative;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
|
|
|
.heard-box {
|
|
|
.PageHeader {
|
|
@@ -611,13 +636,25 @@ export default {
|
|
|
.fa {
|
|
|
color: #fff;
|
|
|
}
|
|
|
+
|
|
|
+ &.whitePhageHeader {
|
|
|
+ background-image: none !important;
|
|
|
+ background: #fff;
|
|
|
+ .center-title {
|
|
|
+ color: #1f1f1f !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ ::v-deep .uni-icons {
|
|
|
+ color: #000 !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.vip-card-box {
|
|
|
width: 100%;
|
|
|
padding: 0 36rpx;
|
|
|
height: 300rpx;
|
|
|
- padding-top: 50rpx;
|
|
|
+ padding-top: 40rpx;
|
|
|
|
|
|
.vip-header {
|
|
|
width: 100%;
|
|
@@ -626,6 +663,8 @@ export default {
|
|
|
padding-top: 110rpx;
|
|
|
|
|
|
.vip-info {
|
|
|
+ padding-top: 10rpx;
|
|
|
+ padding-left: 4rpx;
|
|
|
display: flex;
|
|
|
|
|
|
.vip-info-left {
|
|
@@ -637,14 +676,14 @@ export default {
|
|
|
|
|
|
.vip-info-right {
|
|
|
.vip-nickname {
|
|
|
- font-size: 24rpx;
|
|
|
+ font-size: 26rpx;
|
|
|
font-weight: 400;
|
|
|
font-family: 'PingFang SC-Bold';
|
|
|
|
|
|
}
|
|
|
|
|
|
.vip-expire {
|
|
|
- font-size: 20rpx;
|
|
|
+ font-size: 22rpx;
|
|
|
font-family: 'PingFang SC-Medium';
|
|
|
}
|
|
|
}
|
|
@@ -743,6 +782,7 @@ export default {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
padding: 32rpx;
|
|
|
+ padding-bottom: 24rpx;
|
|
|
margin-top: -60rpx;
|
|
|
|
|
|
.price-option {
|
|
@@ -757,7 +797,7 @@ export default {
|
|
|
position: relative;
|
|
|
transition: all 0.3s;
|
|
|
border-radius: 20rpx;
|
|
|
- border: 4rpx solid #E9E9E9;
|
|
|
+ border: 6rpx solid #E9E9E9;
|
|
|
padding-top: 48rpx;
|
|
|
padding-bottom: 34rpx;
|
|
|
|
|
@@ -766,8 +806,8 @@ export default {
|
|
|
height: 48rpx;
|
|
|
padding: 6rpx 12rpx 14rpx 12rpx;
|
|
|
position: absolute;
|
|
|
- left: -6rpx;
|
|
|
- top: -4rpx;
|
|
|
+ left: -11rpx;
|
|
|
+ top: -6rpx;
|
|
|
background: url("../../static/vip/hy_biaoqian_02.png") center/100% 100% no-repeat;
|
|
|
font-weight: 400;
|
|
|
font-size: 10px;
|
|
@@ -806,8 +846,10 @@ export default {
|
|
|
font-size: 68rpx;
|
|
|
font-weight: bold;
|
|
|
color: #4A4A4A;
|
|
|
- padding-top: 10rpx;
|
|
|
- padding-bottom: 5rpx;
|
|
|
+ // padding-top: -10rpx;
|
|
|
+ line-height: 1;
|
|
|
+ padding-top: 8rpx;
|
|
|
+ padding-bottom: 2rpx;
|
|
|
}
|
|
|
|
|
|
.originalPrice {
|
|
@@ -822,6 +864,10 @@ export default {
|
|
|
border-color: #1f1f1f;
|
|
|
transform: scale(1.05);
|
|
|
|
|
|
+ .price-tag {
|
|
|
+ background: #1f1f1f;
|
|
|
+ }
|
|
|
+
|
|
|
.price-left-img {
|
|
|
background: url("../../static/vip/hy_biaoqian_01.png") center/100% no-repeat;
|
|
|
color: #ACF934;
|
|
@@ -865,7 +911,7 @@ export default {
|
|
|
padding: 26rpx;
|
|
|
padding-right: 0;
|
|
|
// padding-left: 20rpx;
|
|
|
- margin-bottom: 26rpx;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
@@ -878,9 +924,10 @@ export default {
|
|
|
|
|
|
.privilege-name {
|
|
|
font-size: 28rpx;
|
|
|
- font-weight: 400;
|
|
|
- color: #1C2C00;
|
|
|
+ font-weight:400;
|
|
|
+ color: #1f1f1f;
|
|
|
margin-bottom: 10rpx;
|
|
|
+ font-family: 'PingFang SC-Bold';
|
|
|
}
|
|
|
|
|
|
.privilege-desc {
|
|
@@ -889,43 +936,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .bottom-pay-btn-bottom {
|
|
|
- width: 626rpx;
|
|
|
- height: 88rpx;
|
|
|
- background: linear-gradient(90deg, #1F1F1F 0%, #444444 100%);
|
|
|
- border-radius: 76rpx;
|
|
|
- margin: 0 auto;
|
|
|
- margin-top: 70rpx;
|
|
|
- color: #ACF934;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- font-size: 32rpx;
|
|
|
- line-height: 0;
|
|
|
- position: relative;
|
|
|
- overflow: hidden;
|
|
|
- transition: all 0.3s ease;
|
|
|
-
|
|
|
- &.btn-loading {
|
|
|
- opacity: 0.7;
|
|
|
- pointer-events: none;
|
|
|
- }
|
|
|
-
|
|
|
- .loading-spinner {
|
|
|
- width: 40rpx;
|
|
|
- height: 40rpx;
|
|
|
- border: 4rpx solid rgba(255, 255, 255, 0.3);
|
|
|
- border-radius: 50%;
|
|
|
- border-top-color: #fff;
|
|
|
- animation: spin 1s linear infinite;
|
|
|
- }
|
|
|
|
|
|
- text {
|
|
|
- font-size: 44rpx;
|
|
|
- display: inline-block;
|
|
|
- margin-right: 10rpx;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
|
|
@@ -1079,6 +1090,7 @@ export default {
|
|
|
z-index: 100;
|
|
|
transform-origin: top right;
|
|
|
animation: dropdownAnimation 0.2s ease-out;
|
|
|
+ overflow: hidden;
|
|
|
|
|
|
.dropdown-item {
|
|
|
padding: 24rpx 0;
|
|
@@ -1134,6 +1146,10 @@ export default {
|
|
|
align-items: center;
|
|
|
text-align: left;
|
|
|
line-height: 32rpx;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 210rpx;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
|
|
|
.agree2 {
|
|
|
display: flex;
|
|
@@ -1142,6 +1158,7 @@ export default {
|
|
|
align-items: center;
|
|
|
padding-right: 8rpx;
|
|
|
flex-shrink: 0;
|
|
|
+ margin-bottom: 34rpx;
|
|
|
}
|
|
|
|
|
|
.xy {
|
|
@@ -1154,4 +1171,50 @@ export default {
|
|
|
height: 32rpx;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+.bottom-pay-btn-bottom {
|
|
|
+ width: 626rpx;
|
|
|
+ height: 88rpx;
|
|
|
+ background: linear-gradient(to left, #1F1F1F, #444444);
|
|
|
+ border-radius: 76rpx;
|
|
|
+ margin: 0 auto;
|
|
|
+ margin-top: 70rpx;
|
|
|
+ color: #ACF934;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 32rpx;
|
|
|
+ line-height: 0;
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 100rpx;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+
|
|
|
+ .price-value {
|
|
|
+ font-size: 44rpx;
|
|
|
+ font-family: 'CustomFont';
|
|
|
+ }
|
|
|
+
|
|
|
+ &.btn-loading {
|
|
|
+ opacity: 0.7;
|
|
|
+ pointer-events: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ .loading-spinner {
|
|
|
+ width: 40rpx;
|
|
|
+ height: 40rpx;
|
|
|
+ border: 4rpx solid rgba(255, 255, 255, 0.3);
|
|
|
+ border-radius: 50%;
|
|
|
+ border-top-color: #fff;
|
|
|
+ animation: spin 1s linear infinite;
|
|
|
+ }
|
|
|
+
|
|
|
+ text {
|
|
|
+ display: inline-block;
|
|
|
+ margin-right: 10rpx;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|