Commit ef22d34a984a082d2fea8aa172a03e8bda7b7b54
1 parent
d9720f65
店招的样式错误,
Showing
2 changed files
with
3 additions
and
3 deletions
components/diy_shopname/diy_shopname.wxml
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | <view style="position: relative; height: 150rpx;"> | 10 | <view style="position: relative; height: 150rpx;"> |
11 | <view class="big_border" > | 11 | <view class="big_border" > |
12 | <view class="circle"> | 12 | <view class="circle"> |
13 | - <view class="border"> | 13 | + <view class="border" style="width: 100%; height: 100%;"> |
14 | <image class="wxd_ww" src='{{sto}}' bindtap="go_user"></image> | 14 | <image class="wxd_ww" src='{{sto}}' bindtap="go_user"></image> |
15 | </view> | 15 | </view> |
16 | </view> | 16 | </view> |
components/diy_shopname/diy_shopname.wxss
@@ -139,9 +139,9 @@ left:-116rpx; | @@ -139,9 +139,9 @@ left:-116rpx; | ||
139 | width: 100%; | 139 | width: 100%; |
140 | height: 260rpx; | 140 | height: 260rpx; |
141 | position: absolute; | 141 | position: absolute; |
142 | - top: -130rpx; | 142 | + margin-top: -130rpx; |
143 | text-align: center; | 143 | text-align: center; |
144 | - margin-top: 50%; | 144 | + top: 50%; |
145 | } | 145 | } |
146 | 146 | ||
147 | /* 小图片2圆边框 */ | 147 | /* 小图片2圆边框 */ |