Commit e90d0615f85b5fe5805ae503d053b2f8df2f3046
Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev
Showing
3 changed files
with
9 additions
and
1 deletions
packageB/pages/zuhegou/index/index.js
| @@ -647,6 +647,7 @@ Page({ | @@ -647,6 +647,7 @@ Page({ | ||
| 647 | } else { | 647 | } else { |
| 648 | //获取头像的分享 | 648 | //获取头像的分享 |
| 649 | th.get_head_temp(function () { | 649 | th.get_head_temp(function () { |
| 650 | + var imgDraw = th.data.imgDraw; | ||
| 650 | var txt = th.data.act.zhprice + "元" + th.data.act.zhbuyqty + "件"; | 651 | var txt = th.data.act.zhprice + "元" + th.data.act.zhbuyqty + "件"; |
| 651 | imgDraw.views[0].url = th.data.share_head; | 652 | imgDraw.views[0].url = th.data.share_head; |
| 652 | imgDraw.views[1].text = userInfo.nickname; | 653 | imgDraw.views[1].text = userInfo.nickname; |
packageB/pages/zuhegou/index/index.wxml
| @@ -146,7 +146,7 @@ | @@ -146,7 +146,7 @@ | ||
| 146 | <view class="t-r pdb20 white2"> | 146 | <view class="t-r pdb20 white2"> |
| 147 | <text class="iconfont icon-close fs40" bindtap="closePoster"></text> | 147 | <text class="iconfont icon-close fs40" bindtap="closePoster"></text> |
| 148 | </view> | 148 | </view> |
| 149 | - <image src="{{myimg}}" class="poster" show-menu-by-longpress></image> | 149 | + <image src="{{myimg}}" class="{{act.share_imgurl?'poster333':'poster'}}" show-menu-by-longpress></image> |
| 150 | <view class="pdt10 fs26 white2"> | 150 | <view class="pdt10 fs26 white2"> |
| 151 | <text class="iconfont icon-zhiwen"></text> | 151 | <text class="iconfont icon-zhiwen"></text> |
| 152 | 长按图片保存至相册 | 152 | 长按图片保存至相册 |
packageB/pages/zuhegou/index/index.wxss
| @@ -194,6 +194,13 @@ page { | @@ -194,6 +194,13 @@ page { | ||
| 194 | 194 | ||
| 195 | .poster { | 195 | .poster { |
| 196 | width: 650rpx; | 196 | width: 650rpx; |
| 197 | + height: 843rpx; | ||
| 198 | + border-radius: 16rpx; | ||
| 199 | + margin: 0 auto; | ||
| 200 | +} | ||
| 201 | + | ||
| 202 | +.poster333 { | ||
| 203 | + width: 650rpx; | ||
| 197 | height: 1088rpx; | 204 | height: 1088rpx; |
| 198 | border-radius: 16rpx; | 205 | border-radius: 16rpx; |
| 199 | margin: 0 auto; | 206 | margin: 0 auto; |