删除了平台达人的购物袋

This commit is contained in:
luyuan 2020-08-28 15:48:12 +08:00
parent 13524dcefc
commit 7c839816d4
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
4 changed files with 17 additions and 10 deletions

View File

@ -72,7 +72,7 @@
<view class="u-button" @click="changes()">确定</view> <view class="u-button" @click="changes()">确定</view>
</u-popup> </u-popup>
<!-- 底部选择商品列表 --> <!-- 底部选择商品列表 -->
<view @click="show_two = true"> <view @click="show_two = true" v-if="userinfo.role != 4">
选择商品 选择商品
<image class="images" src="../../static/image/tosign/bhottom.png"></image> <image class="images" src="../../static/image/tosign/bhottom.png"></image>
</view> </view>
@ -136,11 +136,14 @@ export default {
cover: '', // cover: '', //
selectarr: [], // selectarr: [], //
tagcontent: '', tagcontent: '',
is_edit: false, // is_edit: false, //
userinfo:{}
}; };
}, },
onLoad() { onLoad() {
// // \
this.userinfo = uni.getStorageSync("userinfo")
this.tosign(); this.tosign();
this.getLiveSpec(); this.getLiveSpec();
}, },

View File

@ -20,7 +20,7 @@
<u-input v-model="form.text" placeholder="请填写直播简介" /> <u-input v-model="form.text" placeholder="请填写直播简介" />
</u-form-item> </u-form-item>
<view class="values"><text>{{20 - form.text.length}}</text>/20</view> <view class="values"><text>{{20 - form.text.length}}</text>/20</view>
<u-form-item label-position="right" > <u-form-item label-position="right" v-if="userinfo.role != 4">
<u-input :disabled="true" v-model="form.values" placeholder="我的售货袋" @click="navto('selectshop')"/> <u-input :disabled="true" v-model="form.values" placeholder="我的售货袋" @click="navto('selectshop')"/>
<view class="rightes" @click="navto('selectshop')">售货袋</view> <view class="rightes" @click="navto('selectshop')">售货袋</view>
</u-form-item> </u-form-item>
@ -63,7 +63,8 @@
rSelect:[], rSelect:[],
image:"", image:"",
token:"", token:"",
tiaozhuan:false tiaozhuan:false,
userinfo:{}
}; };
}, },
methods: { methods: {
@ -133,7 +134,7 @@
goods_id:uni.getStorageSync("gouwudai"), goods_id:uni.getStorageSync("gouwudai"),
cover_img:this.image cover_img:this.image
}).then((res)=>{ }).then((res)=>{
console.log(res) console.log(JSON.stringify(res))
if(res.errCode == 1){ if(res.errCode == 1){
this.$refs.uToast.show({ this.$refs.uToast.show({
title: res.message, title: res.message,
@ -177,6 +178,7 @@
// //
this.token = uni.getStorageSync('token'); this.token = uni.getStorageSync('token');
this.userinfo = uni.getStorageSync("userinfo")
var config = { var config = {
appkey: 'mgb7ka1', appkey: 'mgb7ka1',
debug:true debug:true

View File

@ -61,7 +61,7 @@
<view class="u-button" @click="changes()">确定</view> <view class="u-button" @click="changes()">确定</view>
</u-popup> </u-popup>
<!-- 底部选择商品列表 --> <!-- 底部选择商品列表 -->
<view @click="show_two = true"> <view @click="show_two = true" v-if="userinfo.role != 4">
选择商品 选择商品
<image class="images" src="../../static/image/tosign/bhottom.png"></image> <image class="images" src="../../static/image/tosign/bhottom.png"></image>
</view> </view>
@ -187,10 +187,12 @@ export default {
selectvideo: '', // selectvideo: '', //
videostate: false, // videostate: false, //
progress: 0, progress: 0,
is_edit: false, // is_edit: false, //
userinfo:{}
}; };
}, },
onLoad() { onLoad() {
this.userinfo = uni.getStorageSync("userinfo")
this.getLiveSpec(); this.getLiveSpec();
this.resetgood(); this.resetgood();
}, },

View File

@ -46,7 +46,7 @@
</div> </div>
<image v-if="zhibo" class="closeimg" src="../../static/image/close.png" @click="closes"></image> <image v-if="zhibo" class="closeimg" src="../../static/image/close.png" @click="closes"></image>
<image v-if="zhibo" class="menuimg" src="../../static/image/menu.png" @click="tool = true"></image> <image v-if="zhibo" class="menuimg" src="../../static/image/menu.png" @click="tool = true"></image>
<image v-if="zhibo" class="shoptapimg" @click="xianshi" src="../../static/image/shop.png"></image> <image v-if="zhibo && list.length != 0" class="shoptapimg" @click="xianshi" src="../../static/image/shop.png" ></image>
<text v-if="zhibo" style="font-size:26rpx;color:#fff;width:512rpx;position:fixed;left:30rpx;top:793rpx">德铭阳光在线绿色直播请遵循相关法律法规警察叔叔24小时巡查哦。为了保障直播系统稳定现将全局开放防主播沉迷功能。主播积累直播16小时将自动下播休息2小时后方可继续开播。请大家注意休息/避免空播。 <text v-if="zhibo" style="font-size:26rpx;color:#fff;width:512rpx;position:fixed;left:30rpx;top:793rpx">德铭阳光在线绿色直播请遵循相关法律法规警察叔叔24小时巡查哦。为了保障直播系统稳定现将全局开放防主播沉迷功能。主播积累直播16小时将自动下播休息2小时后方可继续开播。请大家注意休息/避免空播。
</text> </text>
<div v-if="zhibo" class="danmulist"> <div v-if="zhibo" class="danmulist">
@ -87,7 +87,7 @@
<text style="color:#fff;font-size:30rpx">{{renshumax}}</text> <text style="color:#fff;font-size:30rpx">{{renshumax}}</text>
<text style="color:#fff;font-size:30rpx;margin-top:10rpx">热度</text> <text style="color:#fff;font-size:30rpx;margin-top:10rpx">热度</text>
</view> </view>
<view class="jieshuboxitem"> <view class="jieshuboxitem" v-if="list.length != 0">
<text style="color:#fff;font-size:30rpx">RMB {{jieshu.sales_amount}}</text> <text style="color:#fff;font-size:30rpx">RMB {{jieshu.sales_amount}}</text>
<text style="color:#fff;font-size:30rpx;margin-top:10rpx">直播销量</text> <text style="color:#fff;font-size:30rpx;margin-top:10rpx">直播销量</text>
</view> </view>