Commit d14ad6c2 by zhangxw

优化修改

1 parent 71a6aa6c
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</view> </view>
</view> </view>
<view class="share-popup-content" style="max-height: {{postersBoxHeight}}px;"> <view class="share-popup-content" style="max-height: {{postersBoxHeight}}px;">
<image style="height: {{postersImageHeight + 76}}px;" src="{{poster}}"></image> <image mode="widthFix" src="{{poster}}"></image>
</view> </view>
<view class="btn-box"> <view class="btn-box">
<view class="btn" bind:tap="saveImage">保存至相册</view> <view class="btn" bind:tap="saveImage">保存至相册</view>
......
...@@ -36,6 +36,9 @@ Page({ ...@@ -36,6 +36,9 @@ Page({
const { const {
USERINFO USERINFO
} = this.getCommonData() } = this.getCommonData()
this.setData({
product: arr
})
ActivityApi.getNotOpenProductsList({merchantId: USERINFO.merchantId, sceneCode: code}).then(res => { // 默认选中第一个业务场景 获取可用产品/活动 ActivityApi.getNotOpenProductsList({merchantId: USERINFO.merchantId, sceneCode: code}).then(res => { // 默认选中第一个业务场景 获取可用产品/活动
res.forEach(item => { res.forEach(item => {
item.isSelect = false item.isSelect = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!