Commit 3313d8676ba748c2460b3ba50b80f13e07c880f9
1 parent
80b4ad92
我的礼包优化
Showing
5 changed files
with
30 additions
and
21 deletions
components/my_confirm/my_confirm.wxss
1 | - | 1 | +@import '../../app.wxss'; |
2 | /* 弹窗样式 */ | 2 | /* 弹窗样式 */ |
3 | .xc-pop-up{ | 3 | .xc-pop-up{ |
4 | width: 100%; | 4 | width: 100%; |
@@ -22,21 +22,24 @@ | @@ -22,21 +22,24 @@ | ||
22 | } | 22 | } |
23 | 23 | ||
24 | .shut{ | 24 | .shut{ |
25 | - display: block; | ||
26 | - width: 54rpx; | ||
27 | - height: 54rpx; | ||
28 | - font-size: 50rpx; | ||
29 | - line-height:47rpx; | 25 | + /* display: block; |
26 | + width: 40rpx; | ||
27 | + height: 40rpx; | ||
28 | + | ||
29 | + line-height:35rpx; | ||
30 | border-radius: 50%; | 30 | border-radius: 50%; |
31 | -moz-border-radius: 50%; | 31 | -moz-border-radius: 50%; |
32 | - -webkit-border-radius: 50%; | ||
33 | - color: #fff; | 32 | + -webkit-border-radius: 50%; */ |
33 | + font-size: 40rpx; | ||
34 | + color: #9F9F9F; | ||
34 | text-align: center; | 35 | text-align: center; |
35 | position: fixed; | 36 | position: fixed; |
36 | - margin-top: -25rpx; | ||
37 | z-index: 66666; | 37 | z-index: 66666; |
38 | - right: 65rpx; | ||
39 | - background: #c8162c; | 38 | + right: 105rpx; |
39 | + /* background: #c8162c; */ | ||
40 | +} | ||
41 | +.icon-close:before { | ||
42 | + content: "\e62e"; | ||
40 | } | 43 | } |
41 | .xc-qr-frame{ | 44 | .xc-qr-frame{ |
42 | width:560rpx; | 45 | width:560rpx; |
@@ -50,7 +53,7 @@ | @@ -50,7 +53,7 @@ | ||
50 | margin-left: -280rpx; border-radius:10rpx | 53 | margin-left: -280rpx; border-radius:10rpx |
51 | } | 54 | } |
52 | 55 | ||
53 | -.ck_btn{width:44%;height:52rpx;line-height:60rpx;background:#f35e73;border-radius:10rpx;} | 56 | +.ck_btn{color: #000; width:44%;height:52rpx;line-height:60rpx;background:#f35e73;border-radius:10rpx;} |
54 | 57 | ||
55 | .fs36{ font-size: 36rpx; } | 58 | .fs36{ font-size: 36rpx; } |
56 | .fs30{ font-size: 30rpx; } | 59 | .fs30{ font-size: 30rpx; } |
components/qr_code/qr_code.wxml
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | </view> | 24 | </view> |
25 | 25 | ||
26 | </view> | 26 | </view> |
27 | - <view class="shut" bindtap="close">ⅹ</view> | 27 | + <view class="shut" bindtap="close"><text class="iconfont icon-close"></text></view> |
28 | </view> | 28 | </view> |
29 | <!-- </scroll-view> --> | 29 | <!-- </scroll-view> --> |
30 | </view> | 30 | </view> |
31 | \ No newline at end of file | 31 | \ No newline at end of file |
components/qr_code/qr_code.wxss
1 | +@import '../../app.wxss'; | ||
2 | + | ||
1 | .xc-pop-up{ | 3 | .xc-pop-up{ |
2 | width: 100%; | 4 | width: 100%; |
3 | height: 100%; | 5 | height: 100%; |
@@ -102,17 +104,17 @@ top: 5rpx; | @@ -102,17 +104,17 @@ top: 5rpx; | ||
102 | } | 104 | } |
103 | 105 | ||
104 | .shut{ | 106 | .shut{ |
105 | - display: block; | 107 | + /* display: block; |
106 | width: 54rpx; | 108 | width: 54rpx; |
107 | height: 54rpx; | 109 | height: 54rpx; |
108 | border: 2rpx solid #fff; | 110 | border: 2rpx solid #fff; |
109 | font-size: 50rpx; | 111 | font-size: 50rpx; |
110 | - z-index:55; | ||
111 | - line-height:47rpx; | 112 | + line-height:54rpx; |
112 | margin-top: 45rpx; | 113 | margin-top: 45rpx; |
113 | border-radius: 50%; | 114 | border-radius: 50%; |
114 | -moz-border-radius: 50%; | 115 | -moz-border-radius: 50%; |
115 | - -webkit-border-radius: 50%; | 116 | + -webkit-border-radius: 50%; */ |
117 | + z-index:55; | ||
116 | color: #fff; | 118 | color: #fff; |
117 | text-align: center; | 119 | text-align: center; |
118 | position: fixed; | 120 | position: fixed; |
@@ -120,6 +122,10 @@ top: 5rpx; | @@ -120,6 +122,10 @@ top: 5rpx; | ||
120 | left:50%; | 122 | left:50%; |
121 | transform: translateX(-50%); | 123 | transform: translateX(-50%); |
122 | } | 124 | } |
125 | +.icon-close:before { | ||
126 | + content: "\e62e"; | ||
127 | + font-size: 50rpx; | ||
128 | +} | ||
123 | 129 | ||
124 | .mt{ margin-top:130rpx} | 130 | .mt{ margin-top:130rpx} |
125 | .mts{ margin-top:70rpx} | 131 | .mts{ margin-top:70rpx} |
packageA/pages/myGift/myGift.wxml
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | <view class="fs24 c-a4">已售{{item.salenum}}件</view> | 36 | <view class="fs24 c-a4">已售{{item.salenum}}件</view> |
37 | </view> | 37 | </view> |
38 | <!-- 时间 --> | 38 | <!-- 时间 --> |
39 | - <view class="date">活动截止日期 {{filter.format_time(item.endtime)}}</view> | 39 | + <view class="date">活动结束日期 {{filter.format_time(item.endtime)}}</view> |
40 | <!-- 按钮 --> | 40 | <!-- 按钮 --> |
41 | </view> | 41 | </view> |
42 | </view> | 42 | </view> |
@@ -55,7 +55,7 @@ | @@ -55,7 +55,7 @@ | ||
55 | <!-- 标题 --> | 55 | <!-- 标题 --> |
56 | <view class="mgb10 ellipsis-2 lh taj">{{item.lbtitle}}</view> | 56 | <view class="mgb10 ellipsis-2 lh taj">{{item.lbtitle}}</view> |
57 | <!-- 时间 --> | 57 | <!-- 时间 --> |
58 | - <view class="date pdb20">兑换截止日期 {{filter.format_time(item.endtime)}}</view> | 58 | + <view class="date pdb20">兑换截止日期 {{filter.format_time(item.expdate,1)}}</view> |
59 | <view catchtap="show_remark" data-index="{{index}}" wx:if="{{item.lbintro}}" class="date pdb20">活动说明</view> | 59 | <view catchtap="show_remark" data-index="{{index}}" wx:if="{{item.lbintro}}" class="date pdb20">活动说明</view> |
60 | </view> | 60 | </view> |
61 | <!-- 说明 --> | 61 | <!-- 说明 --> |
packageA/pages/myGiftDetails/myGiftDetails.wxml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <!-- 图片 --> | 3 | <!-- 图片 --> |
4 | <view><image src="{{imghost + (details.lburl ? details.lburl:'miniapp/images/default_g_img.gif')}}" class="img" mode="widthFix"/></view> | 4 | <view><image src="{{imghost + (details.lburl ? details.lburl:'miniapp/images/default_g_img.gif')}}" class="img" mode="widthFix"/></view> |
5 | 5 | ||
6 | - <view wx:if="{{index==1}}" class="fs26 exp_title">兑换结束时间:{{filter.format_time(details.endtime,1)}}</view> | 6 | + <view wx:if="{{index==1}}" class="fs26 exp_title">兑换结束时间:{{filter.format_time(details.expdate,1)}}</view> |
7 | <!-- 描述--> | 7 | <!-- 描述--> |
8 | <view class="desc-container"> | 8 | <view class="desc-container"> |
9 | <!-- 标题 --> | 9 | <!-- 标题 --> |
@@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
30 | <view class="fs24 c-a4">已售{{details.salenum}}件</view> | 30 | <view class="fs24 c-a4">已售{{details.salenum}}件</view> |
31 | </view> | 31 | </view> |
32 | <!-- 时间 --> | 32 | <!-- 时间 --> |
33 | - <view class="date">活动截止日期 {{details.expdate ? filter.format_time(details.expdate):filter.format_time(details.endtime)}}</view> | 33 | + <view class="date" wx:if="{{details.lbtype==1}}">活动结束日期 {{filter.format_time(details.endtime)}}</view> |
34 | </view> | 34 | </view> |
35 | 35 | ||
36 | 36 |