Commit ef6bf2b6 by 赵雅纹

Merge branch 'fixbug-ZYW' into 'dev_7.1.0'

Fixbug zyw

See merge request !152
parents 51be3781 52bf2509
<!--component/cardModal/cardModal.wxml--> <!--component/cardModal/cardModal.wxml-->
<view> <view>
<view class="commodity_screen2" bindtap='closeCardModal' style='opacity: 0.5;' hidden="{{!showCardModal}}"></view> <view class="commodity_screen2" bindtap='closeCardModal' style='opacity: 0.5;' hidden="{{!showCardModal}}" catchtouchmove='true'></view>
<view class="card-modal" hidden="{{!showCardModal}}"> <view class="card-modal" hidden="{{!showCardModal}}" catchtouchmove='true'>
<view class="card-modal-content"> <view class="card-modal-content">
<view class="modal-header"> <view class="modal-header">
<image class="brand-img" src="http://t2.hddhhn.com/uploads/tu/201806/9999/91480c0c87.jpg"></image> <image class="brand-img" src="http://t2.hddhhn.com/uploads/tu/201806/9999/91480c0c87.jpg"></image>
......
{ {
"component": true, "component": true,
"disableScroll": true,
"usingComponents": {} "usingComponents": {}
} }
\ No newline at end of file
<view class="commodity_screen2" bindtap='closePoste' style='opacity: 0.5;' wx:if="{{showpost}}" catchtouchmove='false'></view> <view class="commodity_screen2" bindtap='closePoste' style='opacity: 0.5;' wx:if="{{showpost}}" catchtouchmove='true'></view>
<view class='poste_box' bindlongpress='saveShareImg' hidden='{{!showpost}}'> <view class='poste_box' bindlongpress='saveShareImg' hidden='{{!showpost}}' catchtouchmove='true'>
<view class='poste_content' id='canvas-container'> <view class='poste_content' id='canvas-container'>
<canvas canvas-id="myCanvas" style="width:100%;height:{{imgHeight}}px;" /> <canvas canvas-id="myCanvas" style="width:100%;height:{{imgHeight}}px;"> <cover-view></cover-view> </canvas>
</view> </view>
<view class="save-poster"> <view class="save-poster">
<button class="save-btn" bindtap="saveShareImg">保存海报</button> <button class="save-btn" bindtap="saveShareImg">保存海报</button>
......
...@@ -150,10 +150,10 @@ ...@@ -150,10 +150,10 @@
width: 524rpx; width: 524rpx;
margin: auto; margin: auto;
overflow: hidden; overflow: hidden;
margin-top: 153rpx; /* margin-top: 153rpx; */
background-color: #fff; /* background-color: #fff; */
position: fixed; position: fixed;
top: 0; top: 153rpx;
z-index: 9999; z-index: 9999;
border-radius: 5rpx; border-radius: 5rpx;
} }
......
...@@ -25,7 +25,8 @@ wxService.page({ ...@@ -25,7 +25,8 @@ wxService.page({
extendProList:[], extendProList:[],
myExtendList:[], myExtendList:[],
myShareCount:'', myShareCount:'',
extendProBanner: '' extendProBanner: '',
proData : []
}, },
/** /**
...@@ -133,7 +134,7 @@ wxService.page({ ...@@ -133,7 +134,7 @@ wxService.page({
// 获取选择推广的商品 // 获取选择推广的商品
getChooseExtendPro(type){ getChooseExtendPro(type){
if (!this.data.proData) { if (!this.data.proData.length) {
wx.showToast({ wx.showToast({
title: '请先选择商品', title: '请先选择商品',
icon: 'none' icon: 'none'
......
Markdown is supported
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