Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wxapp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
亲子游项目
wxapp
Commits
ca5c8aba
Commit
ca5c8aba
authored
Dec 18, 2018
by
LiuJunYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员显示卡号
parent
68854be4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
27 deletions
+45
-27
pages/me/vip/index.wxml
+4
-2
pages/me/vip/index.wxss
+40
-24
project.config.json
+1
-1
No files found.
pages/me/vip/index.wxml
View file @
ca5c8aba
...
@@ -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
pages/me/vip/index.wxss
View file @
ca5c8aba
...
@@ -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:
18
rpx;
bottom:
22
rpx;
color: #
F1E2C
3;
color: #
f1e2c
3;
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
project.config.json
View file @
ca5c8aba
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"ignore"
:
[]
"ignore"
:
[]
},
},
"setting"
:
{
"setting"
:
{
"urlCheck"
:
tru
e
,
"urlCheck"
:
fals
e
,
"es6"
:
true
,
"es6"
:
true
,
"postcss"
:
true
,
"postcss"
:
true
,
"minified"
:
true
,
"minified"
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment