Commit 48404a3c authored by Junling Bu's avatar Junling Bu
Browse files

chore[litemall-wx]: 海报

parent 455d1b12
...@@ -351,7 +351,7 @@ CREATE TABLE `litemall_goods` ( ...@@ -351,7 +351,7 @@ CREATE TABLE `litemall_goods` (
`is_on_sale` tinyint(1) DEFAULT '1' COMMENT '是否上架', `is_on_sale` tinyint(1) DEFAULT '1' COMMENT '是否上架',
`sort_order` smallint(4) DEFAULT '100', `sort_order` smallint(4) DEFAULT '100',
`pic_url` varchar(255) DEFAULT NULL COMMENT '商品页面商品图片', `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_new` tinyint(1) DEFAULT '0' COMMENT '是否新品首发,如果设置则可以在新品首发页面展示',
`is_hot` tinyint(1) DEFAULT '0' COMMENT '是否人气推荐,如果设置则可以在人气推荐页面展示', `is_hot` tinyint(1) DEFAULT '0' COMMENT '是否人气推荐,如果设置则可以在人气推荐页面展示',
`unit` varchar(31) DEFAULT '’件‘' COMMENT '商品单位,例如件、盒', `unit` varchar(31) DEFAULT '’件‘' COMMENT '商品单位,例如件、盒',
......
...@@ -85,8 +85,8 @@ Page({ ...@@ -85,8 +85,8 @@ Page({
filePath: res.tempFilePath, filePath: res.tempFilePath,
success: function(res) { success: function(res) {
wx.showModal({ wx.showModal({
title: '存图成功', title: '生成海报成功',
content: '图片成功保存到相册,可以分享到朋友圈了', content: '海报已成功保存到相册,可以分享到朋友圈了',
showCancel: false, showCancel: false,
confirmText: '好的', confirmText: '好的',
confirmColor: '#a78845', confirmColor: '#a78845',
......
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
</button> </button>
<button class="savesharebtn" open-type="openSetting" bindopensetting="handleSetting" wx:if="{{(!isGroupon) && (!canWrite)}}" > <button class="savesharebtn" open-type="openSetting" bindopensetting="handleSetting" wx:if="{{(!isGroupon) && (!canWrite)}}" >
<image class='sharebtn_image' src='/static/images/friend.png'></image> <image class='sharebtn_image' src='/static/images/friend.png'></image>
<view class='sharebtn_text'>发朋友圈</view> <view class='sharebtn_text'>生成海报</view>
</button> </button>
<button class="savesharebtn" bindtap="saveShare" wx:if="{{!isGroupon && canWrite}}"> <button class="savesharebtn" bindtap="saveShare" wx:if="{{!isGroupon && canWrite}}">
<image class='sharebtn_image' src='/static/images/friend.png'></image> <image class='sharebtn_image' src='/static/images/friend.png'></image>
<view class='sharebtn_text'>发朋友圈</view> <view class='sharebtn_text'>生成海报</view>
</button> </button>
</view> </view>
</view> </view>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment