Commit c0c68187246d6c05b264d888c86203c8b6fbbfe6

Authored by yvan.ni
1 parent 14267c2a

预览图片

pages/giftpack/giftpacklist/giftpacklist.js
... ... @@ -1147,6 +1147,14 @@ Page({
1147 1147 savePic() {
1148 1148 getApp().savePic(this);
1149 1149 },
  1150 + // 预览海报
  1151 + previewPoster() {
  1152 + getApp().globalData.no_clear=1;
  1153 + wx.previewImage({
  1154 + current: this.data.shareImgPath, // 当前显示图片的http链接
  1155 + urls: [this.data.shareImgPath] ,// 需要预览的图片http链接列表
  1156 + });
  1157 + },
1150 1158  
1151 1159  
1152 1160  
... ...