Commit 81e52163787a217642487d47529e0c7c2e64567a
1 parent
32144613
充值有礼详情
Showing
2 changed files
with
13 additions
and
49 deletions
packageA/pages/chongzhiDetails/chongzhiDetails.wxml
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | |
16 | 16 | <view class="list-item flex"> |
17 | 17 | <!-- 左 --> |
18 | - <view class="avatar"><image class="img-block"></image></view> | |
18 | + <view class="avatar"><text class="iconfont icon-meirong2"></text></view> | |
19 | 19 | <!-- 右 --> |
20 | 20 | <view class="info"> |
21 | 21 | <view class="c-y">美甲</view> |
... | ... | @@ -23,51 +23,6 @@ |
23 | 23 | <view class="t-r fs24 c-y">数量:1</view> |
24 | 24 | </view> |
25 | 25 | </view> |
26 | - | |
27 | - <view class="list-item flex"> | |
28 | - <!-- 左 --> | |
29 | - <view class="avatar"><image class="img-block"></image></view> | |
30 | - <!-- 右 --> | |
31 | - <view class="info"> | |
32 | - <view class="c-y">美甲</view> | |
33 | - <view class="fs28 pdv10 txt-justify">节日可免费享受专业美甲,可以享受1次。</view> | |
34 | - <view class="t-r fs24 c-y">数量:1</view> | |
35 | - </view> | |
36 | - </view> | |
37 | - | |
38 | - <view class="list-item flex"> | |
39 | - <!-- 左 --> | |
40 | - <view class="avatar"><image class="img-block"></image></view> | |
41 | - <!-- 右 --> | |
42 | - <view class="info"> | |
43 | - <view class="c-y">美甲</view> | |
44 | - <view class="fs28 pdv10 txt-justify">节日可免费享受专业美甲,可以享受1次。</view> | |
45 | - <view class="t-r fs24 c-y">数量:1</view> | |
46 | - </view> | |
47 | - </view> | |
48 | - | |
49 | - <view class="list-item flex"> | |
50 | - <!-- 左 --> | |
51 | - <view class="avatar"><image class="img-block"></image></view> | |
52 | - <!-- 右 --> | |
53 | - <view class="info"> | |
54 | - <view class="c-y fs30">美甲</view> | |
55 | - <view class="fs28 pdv10 txt-justify">节日可免费享受专业美甲,可以享受1次。</view> | |
56 | - <view class="t-r fs24 c-y">数量:1</view> | |
57 | - </view> | |
58 | - </view> | |
59 | - | |
60 | - <view class="list-item flex"> | |
61 | - <!-- 左 --> | |
62 | - <view class="avatar"><image class="img-block"></image></view> | |
63 | - <!-- 右 --> | |
64 | - <view class="info"> | |
65 | - <view class="c-y">美甲</view> | |
66 | - <view class="fs28 pdv10 txt-justify">节日可免费享受专业美甲,可以享受1次。</view> | |
67 | - <view class="t-r fs24 c-y">数量:1</view> | |
68 | - </view> | |
69 | - </view> | |
70 | - | |
71 | 26 | </view> |
72 | 27 | |
73 | 28 | </view> | ... | ... |
packageA/pages/chongzhiDetails/chongzhiDetails.wxss
... | ... | @@ -68,18 +68,27 @@ |
68 | 68 | } |
69 | 69 | |
70 | 70 | .avatar { |
71 | - width: 140rpx; | |
72 | - height: 140rpx; | |
71 | + width: 120rpx; | |
72 | + height: 120rpx; | |
73 | + line-height: 120rpx; | |
73 | 74 | border-radius: 50%; |
74 | 75 | background-color: pink; |
75 | 76 | flex-shrink: 0; |
77 | + transform:scaleX(-1); | |
78 | + text-align: center; | |
79 | +} | |
80 | + | |
81 | +.icon-meirong2 { | |
82 | + color: white; | |
83 | + font-size: 64rpx; | |
76 | 84 | } |
77 | 85 | |
78 | 86 | .info { |
79 | - padding-left: 20rpx; | |
87 | + padding-left: 40rpx; | |
80 | 88 | display: flex; |
81 | 89 | flex-direction: column; |
82 | 90 | justify-content: center; |
91 | + flex: 1; | |
83 | 92 | } |
84 | 93 | |
85 | 94 | ... | ... |