chore[litemall-wx]: 海报
This commit is contained in:
@@ -351,7 +351,7 @@ CREATE TABLE `litemall_goods` (
|
||||
`is_on_sale` tinyint(1) DEFAULT '1' COMMENT '是否上架',
|
||||
`sort_order` smallint(4) DEFAULT '100',
|
||||
`pic_url` varchar(255) DEFAULT NULL COMMENT '商品页面商品图片',
|
||||
`share_url` varchar(255) DEFAULT NULL COMMENT '商品分享朋友圈图片',
|
||||
`share_url` varchar(255) DEFAULT NULL COMMENT '商品分享海报',
|
||||
`is_new` tinyint(1) DEFAULT '0' COMMENT '是否新品首发,如果设置则可以在新品首发页面展示',
|
||||
`is_hot` tinyint(1) DEFAULT '0' COMMENT '是否人气推荐,如果设置则可以在人气推荐页面展示',
|
||||
`unit` varchar(31) DEFAULT '’件‘' COMMENT '商品单位,例如件、盒',
|
||||
|
||||
@@ -85,8 +85,8 @@ Page({
|
||||
filePath: res.tempFilePath,
|
||||
success: function(res) {
|
||||
wx.showModal({
|
||||
title: '存图成功',
|
||||
content: '图片成功保存到相册了,可以分享到朋友圈了',
|
||||
title: '生成海报成功',
|
||||
content: '海报已成功保存到相册,可以分享到朋友圈了',
|
||||
showCancel: false,
|
||||
confirmText: '好的',
|
||||
confirmColor: '#a78845',
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
</button>
|
||||
<button class="savesharebtn" open-type="openSetting" bindopensetting="handleSetting" wx:if="{{(!isGroupon) && (!canWrite)}}" >
|
||||
<image class='sharebtn_image' src='/static/images/friend.png'></image>
|
||||
<view class='sharebtn_text'>发朋友圈</view>
|
||||
<view class='sharebtn_text'>生成海报</view>
|
||||
</button>
|
||||
<button class="savesharebtn" bindtap="saveShare" wx:if="{{!isGroupon && canWrite}}">
|
||||
<image class='sharebtn_image' src='/static/images/friend.png'></image>
|
||||
<view class='sharebtn_text'>发朋友圈</view>
|
||||
<view class='sharebtn_text'>生成海报</view>
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user