Commit dc57f320 by wwh

update

1 parent 344d003c
......@@ -42,33 +42,27 @@
};
methods = {
tap(e) {
let openid = wx.getStorageSync('openid'),formid = e.detail.formId;
let mtoken = wx.getStorageSync('mtoken');
Open.sendFormid({
btoken: 'LESTORE_BUSINESS_LITE',
mtoken: 'LESTORE_BUSINESS_LITE',
utoken: mtoken,
form_id: formid,
openid: openid
}).then(res => {})
// let openid = wx.getStorageSync('openid'),formid = e.detail.formId;
// let mtoken = wx.getStorageSync('mtoken');
// Open.sendFormid({
// btoken: 'LESTORE_BUSINESS_LITE',
// mtoken: 'LESTORE_BUSINESS_LITE',
// utoken: mtoken,
// form_id: formid,
// openid: openid
// }).then(res => {})
this.$emit('tap');
},
back(e) {
if(this.cancelText == '我要选货'){
this.$emit('choose');
console.log('choose')
return;
};
let openid = wx.getStorageSync('openid'),formid = e.detail.formId;
let mtoken = wx.getStorageSync('mtoken');
Open.sendFormid({
btoken: 'LESTORE_BUSINESS_LITE',
mtoken: 'LESTORE_BUSINESS_LITE',
utoken: mtoken,
form_id: formid,
openid: openid
}).then(res => {})
// let openid = wx.getStorageSync('openid'),formid = e.detail.formId;
// let mtoken = wx.getStorageSync('mtoken');
// Open.sendFormid({
// btoken: 'LESTORE_BUSINESS_LITE',
// mtoken: 'LESTORE_BUSINESS_LITE',
// utoken: mtoken,
// form_id: formid,
// openid: openid
// }).then(res => {})
wepy.navigateBack();
}
}
......
......@@ -23,18 +23,18 @@
<text class="muted mr20 xs">销量:{{item.real_sales}}</text>
<view class="opration" @tap.stop="operation({{index}})">操作</view>
<view class="opration-detail" wx:if="{{item.checked}}">
<view class="opration-item" style="margin-right: 42rpx" @tap="upDownGoods({{item.product_uuid}},'down',{{index}})">
<view class="opration-item" @tap="upDownGoods({{item.product_uuid}},'down',{{index}})">
<image src="http://static.ledouya.com/FtJ3ABXHZ8N1a9amE3vfWrQ4WwBH"></image>
<view>下架</view>
</view>
<view class="opration-item" style="margin-right: 42rpx" @tap='del({{item.product_uuid}},{{index}})'>
<!-- <view class="opration-item" style="margin-right: 42rpx" @tap='del({{item.product_uuid}},{{index}})'>
<image src="http://static.ledouya.com/FvkN3sG_QEAatg_FgUPQp_dCuzU7"></image>
<view>删除</view>
</view>
<view class="opration-item" @tap='openPoster({{item.product_uuid}},{{item.price_current}},{{item.price_original}},{{index}})'>
<image src="http://static.ledouya.com/Fl7lTQUKWQV1eCJcZ6M9dYtJS9zI"></image>
<view>推广</view>
</view>
</view> -->
</view>
<view class="opration-right" wx:if="{{item.checked}}"></view>
</view>
......@@ -224,7 +224,8 @@
color: #1795DB;
}
.opration-detail {
width:465rpx;
// width:465rpx;
width:160rpx;
height:78rpx;
background:rgba(26,42,50,1);
border-radius:8rpx;
......
......@@ -13,7 +13,7 @@
<text>{{item.title}}</text>
</view>
</view>
<view
<!-- <view
class="zan-tab__expand zan-tab__item {{tab.selectedId == 'EXPAND' ? 'zan-tab__item--selected' : ''}}"
data-component-id="EXPAND"
data-item-id="EXPAND"
......@@ -26,7 +26,7 @@
<text class="ml10">{{expandText}}</text>
</view>
</view>
</view>
</view> -->
</view>
</view>
</template>
......
......@@ -23,7 +23,7 @@
</view>
<SpreadPoster :posterFlag.sync='posterFlag' :picture.sync='picture'></SpreadPoster>
<!--操作栏-->
<ActionBar @tap.user="add" okText="新增商品" cancelText="我要选货" />
<ActionBar @tap.user='choose' okText="我要选货" cancelText="取消" />
</view>
<view class="container" wx:if="{{industryId == 2}}">
<!--TAB 页-->
......@@ -49,7 +49,7 @@
</view>
<SpreadPoster :posterFlag.sync='posterFlag' @childFn.user='parentFn'></SpreadPoster>
<!--操作栏-->
<ActionBar @tap.user="add" @choose.user='choose' okText="新增商品" cancelText="我要选货" />
<!-- <ActionBar @tap.user="add" @choose.user='choose' okText="新增商品" cancelText="我要选货" /> -->
</view>
</view>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!