Commit ca5c8aba by LiuJunYi

会员显示卡号

parent 68854be4
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<view class='card-box'> <view class='card-box'>
<image src="/images/background-{{user.is_vip==1?'':'no'}}vip.png"></image> <image src="/images/background-{{user.is_vip==1?'':'no'}}vip.png"></image>
<text> {{user.is_vip==1?'过期时间:' + user.vip_endtime:''}}</text> <text> {{user.is_vip==1?'过期时间:' + user.vip_endtime:''}}</text>
<text wx:if="{{user.is_vip==1}}" class="vip-umber">{{user.vip_number}}</text>
</view> </view>
<view class='calculation-box'> <view class='calculation-box'>
...@@ -43,6 +44,6 @@ ...@@ -43,6 +44,6 @@
<!-- toast弹窗 --> <!-- toast弹窗 -->
<i-toast id="toast" /> <i-toast id="toast" />
<i-modal visible="{{ visible2 }}" bind:ok="modelCancel" title="温馨提示" show-cancel="{{false}}"> <i-modal visible="{{ visible2 }}" bind:ok="modelCancel" title="温馨提示" show-cancel="{{false}}">
<view class="modelCancel">系统已自动关联您在其他平台购买的美行者VIP会员,请点击确定查看详情</view> <view class="modelCancel">系统已自动关联您在其他平台购买的美行者VIP会员,请点击确定查看详情</view>
</i-modal> </i-modal>
\ No newline at end of file
...@@ -5,14 +5,17 @@ page { ...@@ -5,14 +5,17 @@ page {
} }
/* 会员信息*/ /* 会员信息*/
.right-align{
.right-align {
border-top: 1px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(0, 0, 0, 0.1);
} }
.right-align input{
.right-align input {
text-align: right; text-align: right;
} }
.phoneGive{
.phoneGive {
width: 100%; width: 100%;
height: 45px; height: 45px;
box-sizing: border-box; box-sizing: border-box;
...@@ -20,21 +23,22 @@ page { ...@@ -20,21 +23,22 @@ page {
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 0 15px; padding: 0 15px;
background: white; background: white;
} }
.phoneGive text{
.phoneGive text {
width: 75px; width: 75px;
min-width:65px; min-width: 65px;
height: 100%; height: 100%;
line-height: 45px; line-height: 45px;
display: inline-block; display: inline-block;
font-size: 14px; font-size: 14px;
color:#495060; color: #495060;
padding-right: 10px; padding-right: 10px;
} }
.phoneGive button{
.phoneGive button {
width: 65px; width: 65px;
height: 80%; height: 80%;
padding: 0; padding: 0;
...@@ -42,7 +46,7 @@ page { ...@@ -42,7 +46,7 @@ page {
display: inline-block; display: inline-block;
border: 1px solid rgba(0, 0, 0, 0.4); border: 1px solid rgba(0, 0, 0, 0.4);
border-radius: 50px; border-radius: 50px;
color:#495060; color: #495060;
font-size: 14px; font-size: 14px;
} }
...@@ -50,20 +54,30 @@ page { ...@@ -50,20 +54,30 @@ page {
width: 690rpx; width: 690rpx;
height: 385rpx; height: 385rpx;
margin: 40rpx auto; margin: 40rpx auto;
position: relative position: relative;
} }
.card-box text{
.card-box text {
position: absolute; position: absolute;
right: 45rpx; right: 45rpx;
bottom:18rpx; bottom: 22rpx;
color: #F1E2C3; color: #f1e2c3;
font-size: 25rpx font-size: 25rpx;
} }
.card-box image { .card-box image {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.card-box .vip-umber {
position: absolute;
left: 45rpx;
bottom: 22rpx;
color: #f1e2c3;
font-size: 25rpx;
}
.calculation-box { .calculation-box {
width: 690rpx; width: 690rpx;
height: 100rpx; height: 100rpx;
...@@ -77,7 +91,7 @@ page { ...@@ -77,7 +91,7 @@ page {
width: 690rpx; width: 690rpx;
margin: auto; margin: auto;
font-size: 25rpx; font-size: 25rpx;
color: #969696; color: #969696;
margin-bottom: 30rpx; margin-bottom: 30rpx;
line-height: 45rpx; line-height: 45rpx;
} }
...@@ -88,22 +102,25 @@ page { ...@@ -88,22 +102,25 @@ page {
color: #969696; color: #969696;
font-size: 30rpx; font-size: 30rpx;
} }
.vip_num_input{
.vip_num_input {
text-align: right; text-align: right;
padding-right: 20rpx; padding-right: 20rpx;
box-sizing: border-box; box-sizing: border-box;
} }
.color-orange { .color-orange {
color: #ff4200; color: #ff4200;
} }
/* 授权窗口 */ /* 授权窗口 */
.auth_phone_container{
width: 80%; .auth_phone_container {
margin: auto; width: 80%;
margin: auto;
} }
.modelCancel{ .modelCancel {
width:90%; width: 90%;
margin:auto; margin: auto;
} }
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"ignore": [] "ignore": []
}, },
"setting": { "setting": {
"urlCheck": true, "urlCheck": false,
"es6": true, "es6": true,
"postcss": true, "postcss": true,
"minified": true, "minified": true,
......
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