Showing
5 changed files
with
10 additions
and
9 deletions
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | <view>打开微信搜索去添加吧~</view> | 4 | <view>打开微信搜索去添加吧~</view> |
5 | </view> --> | 5 | </view> --> |
6 | <block wx:if="{{!_text}}"> | 6 | <block wx:if="{{!_text}}"> |
7 | - <view class="modal-mask"></view> | 7 | + <view class="modal-mask" bindtap="onConfirm"></view> |
8 | <image class="modal-image" src="../images/WXTC@2x.png"> | 8 | <image class="modal-image" src="../images/WXTC@2x.png"> |
9 | <view class="confirm" bindtap="onConfirm"></view> | 9 | <view class="confirm" bindtap="onConfirm"></view> |
10 | </image> | 10 | </image> |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | 抽奖价 ¥ | 23 | 抽奖价 ¥ |
24 | <text class="lucky">0</text> | 24 | <text class="lucky">0</text> |
25 | </view> | 25 | </view> |
26 | - <view class="product_price">原价:<text class="line">{{product.price}}</text></view> | 26 | + <view class="product_price"><text class="line">{{product.price}}</text></view> |
27 | </view> | 27 | </view> |
28 | <view wx:if="{{product.status !== 2 && product.start_time}}" class="product_time">{{helper.formatTime(product.start_time, | 28 | <view wx:if="{{product.status !== 2 && product.start_time}}" class="product_time">{{helper.formatTime(product.start_time, |
29 | product.end_time)}} | 29 | product.end_time)}} |
@@ -13,21 +13,21 @@ | @@ -13,21 +13,21 @@ | ||
13 | font-size: 28rpx; | 13 | font-size: 28rpx; |
14 | font-weight: bold; | 14 | font-weight: bold; |
15 | word-break:break-all; | 15 | word-break:break-all; |
16 | - color: #444444; | 16 | + color: #222222; |
17 | } | 17 | } |
18 | 18 | ||
19 | .product_lucky_bg { | 19 | .product_lucky_bg { |
20 | display: flex; | 20 | display: flex; |
21 | flex-direction: row; | 21 | flex-direction: row; |
22 | align-items: baseline; | 22 | align-items: baseline; |
23 | - justify-content: space-between; | 23 | + justify-content: center; |
24 | margin-left: 32rpx; | 24 | margin-left: 32rpx; |
25 | margin-right: 32rpx; | 25 | margin-right: 32rpx; |
26 | } | 26 | } |
27 | 27 | ||
28 | .product_price { | 28 | .product_price { |
29 | color: #B0B0B0; | 29 | color: #B0B0B0; |
30 | - font-size: 24rpx; | 30 | + font-size: 32rpx; |
31 | font-weight: bold; | 31 | font-weight: bold; |
32 | margin-left: 20rpx; | 32 | margin-left: 20rpx; |
33 | 33 | ||
@@ -109,7 +109,8 @@ | @@ -109,7 +109,8 @@ | ||
109 | .product_lucky { | 109 | .product_lucky { |
110 | color: #D0021B; | 110 | color: #D0021B; |
111 | font-size: 24rpx; | 111 | font-size: 24rpx; |
112 | - font-family: PingFangSC-Semibold; | 112 | + font-family: PingFangSC-Medium; |
113 | + font-weight: bold; | ||
113 | display: flex; | 114 | display: flex; |
114 | flex-direction: row; | 115 | flex-direction: row; |
115 | align-items: baseline; | 116 | align-items: baseline; |
@@ -72,7 +72,7 @@ | @@ -72,7 +72,7 @@ | ||
72 | .product_lucky { | 72 | .product_lucky { |
73 | color: #D0021B; | 73 | color: #D0021B; |
74 | font-size: 24rpx; | 74 | font-size: 24rpx; |
75 | - font-family: PingFangSC-Semibold; | 75 | + font-family: PingFangSC-Medium; |
76 | display: flex; | 76 | display: flex; |
77 | flex-direction: row; | 77 | flex-direction: row; |
78 | align-items: baseline; | 78 | align-items: baseline; |
@@ -13,7 +13,7 @@ Component({ | @@ -13,7 +13,7 @@ Component({ | ||
13 | ready: function() { | 13 | ready: function() { |
14 | let animation = wx.createAnimation({ | 14 | let animation = wx.createAnimation({ |
15 | duration: 400, | 15 | duration: 400, |
16 | - timingFunction: 'ease', | 16 | + timingFunction: 'linear', |
17 | }); | 17 | }); |
18 | //放大缩小循环动画 | 18 | //放大缩小循环动画 |
19 | var next = true; | 19 | var next = true; |
@@ -22,7 +22,7 @@ Component({ | @@ -22,7 +22,7 @@ Component({ | ||
22 | animation.scale(1.05).step() | 22 | animation.scale(1.05).step() |
23 | next = !next; | 23 | next = !next; |
24 | } else { | 24 | } else { |
25 | - animation.scale(1).step() | 25 | + animation.scale(1).step({duration:250}) |
26 | next = !next; | 26 | next = !next; |
27 | } | 27 | } |
28 | this.setData({ | 28 | this.setData({ |
-
Please register or login to post a comment