gdpao
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<view class="titles">正文</view>
|
||||
<view class="titles_border"><textarea placeholder="请输入内容..." v-model="form.intro"></textarea></view>
|
||||
<view class="show_two">
|
||||
<u-popup v-model="show_two" mode="bottom" :closeable="true">
|
||||
<u-popup v-model="show_two" mode="bottom" @close="closeGood" :closeable="true">
|
||||
<view class="title"><text>选择商品</text></view>
|
||||
<!-- 商品列表 -->
|
||||
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll">
|
||||
@@ -61,7 +61,7 @@
|
||||
<view class="u-button" @click="changes()">确定</view>
|
||||
</u-popup>
|
||||
<!-- 底部选择商品列表 -->
|
||||
<view @click="show_two = true" v-if="userinfo.role != 4">
|
||||
<view @click="selectGoods" v-if="userinfo.role != 4">
|
||||
选择商品
|
||||
<image class="images" src="../../static/image/tosign/bhottom.png"></image>
|
||||
</view>
|
||||
@@ -146,6 +146,7 @@ const cImage = _this => {
|
||||
count: 1,
|
||||
sourceType: ['camera', 'album'],
|
||||
success: function(res) {
|
||||
// _this.is_video = true;
|
||||
uni.showLoading({
|
||||
title: '上传中'
|
||||
});
|
||||
@@ -286,6 +287,15 @@ export default {
|
||||
this.selectarr.push(this.fileListes[num].id);
|
||||
}
|
||||
},
|
||||
// 选择商品
|
||||
selectGoods() {
|
||||
this.show_two = true;
|
||||
this.is_video = true;
|
||||
},
|
||||
// 选择商品弹窗关闭
|
||||
closeGood() {
|
||||
this.is_video = false;
|
||||
},
|
||||
// 创建标签
|
||||
addLiveSpec() {
|
||||
this.$u.api.createLivesp({
|
||||
|
||||
Reference in New Issue
Block a user