Commit c07287c23faf36766fec450a4ec81b625c6d1901

Authored by yvan.ni
1 parent 556d1d45

goodsinfo 图片保存

pages/goods/goodsInfo/goodsInfo.wxml
... ... @@ -1481,13 +1481,13 @@
1481 1481 <view class="poster-wrapper">
1482 1482 <view class="poster">
1483 1483 <!-- <view class="poster" bindtap="previewImage"> -->
1484   - <image src="{{shareImgPath}}" class="poster-img" show-menu-by-longpress></image>
  1484 + <image src="{{shareImgPath}}" class="poster-img" ></image>
1485 1485 <view class="btn-close" catchtap="closePoster"><text class="iconfont icon-close"></text></view>
1486 1486 </view>
1487   - <!-- <view class="btn-container">
1488   - <button class="btn-share" open-type="share" bindtap="">微信好友分享</button>
1489   - <button class="btn-share" bindtap="savePic">保存到相册</button>
1490   - </view> -->
  1487 + <view class="btn-container">
  1488 + <!--<button class="btn-share" open-type="share" bindtap="">微信好友分享</button>-->
  1489 + <button class="btn-share" bindtap="savePic">保存到相册</button>
  1490 + </view>
1491 1491 </view>
1492 1492 </view>
1493 1493 </view>
... ...
pages/goods/goodsInfo/goodsInfo.wxss
... ... @@ -2731,7 +2731,7 @@ button.custom-service::after{
2731 2731 top: 50%;
2732 2732 left: 50%;
2733 2733 transform: translate(-50%, -50%);
2734   - width: calc(100% - 120rpx);
  2734 + width: calc(100% - 220rpx);
2735 2735 z-index: 1000;
2736 2736 }
2737 2737 .mask {
... ... @@ -2741,7 +2741,7 @@ button.custom-service::after{
2741 2741 width: 100%;
2742 2742 height: 100%;
2743 2743 z-index: 999;
2744   - background-color: rgba(0,0,0,.4);
  2744 + background-color: rgba(0,0,0,.6);
2745 2745 }
2746 2746 .poster-wrapper {
2747 2747 width: 100%;
... ... @@ -2750,7 +2750,7 @@ button.custom-service::after{
2750 2750 .poster {
2751 2751 box-sizing: border-box;
2752 2752 width: 100%;
2753   - height: 1055rpx;
  2753 + height: 915rpx;
2754 2754 border-radius: 20rpx;
2755 2755 /* box-shadow: 0 8px 12px #666; */
2756 2756 position: relative;
... ...