diff --git a/pages/release/index.vue b/pages/release/index.vue index e938b70..aed2123 100644 --- a/pages/release/index.vue +++ b/pages/release/index.vue @@ -72,7 +72,7 @@ 确定 - + 选择商品 @@ -136,11 +136,14 @@ export default { cover: '', //图文封面 selectarr: [], //选中标签 tagcontent: '', - is_edit: false, // 编辑 + is_edit: false, // 编辑 + userinfo:{} }; }, onLoad() { - // 缓存取选择好的数据 + // 缓存取选择好的数据\ + this.userinfo = uni.getStorageSync("userinfo") + this.tosign(); this.getLiveSpec(); }, diff --git a/pages/release/tosign.vue b/pages/release/tosign.vue index faafcf7..88ab8e9 100644 --- a/pages/release/tosign.vue +++ b/pages/release/tosign.vue @@ -20,7 +20,7 @@ {{20 - form.text.length}}/20 - + 售货袋 @@ -63,7 +63,8 @@ rSelect:[], image:"", token:"", - tiaozhuan:false + tiaozhuan:false, + userinfo:{} }; }, methods: { @@ -133,7 +134,7 @@ goods_id:uni.getStorageSync("gouwudai"), cover_img:this.image }).then((res)=>{ - console.log(res) + console.log(JSON.stringify(res)) if(res.errCode == 1){ this.$refs.uToast.show({ title: res.message, @@ -177,6 +178,7 @@ // this.token = uni.getStorageSync('token'); + this.userinfo = uni.getStorageSync("userinfo") var config = { appkey: 'mgb7ka1', debug:true diff --git a/pages/release/video.vue b/pages/release/video.vue index dae1bdb..7e76b63 100644 --- a/pages/release/video.vue +++ b/pages/release/video.vue @@ -61,7 +61,7 @@ 确定 - + 选择商品 @@ -187,10 +187,12 @@ export default { selectvideo: '', //视频名字 videostate: false, //视频状态 progress: 0, - is_edit: false, // 编辑标签 + is_edit: false, // 编辑标签 + userinfo:{} }; }, onLoad() { + this.userinfo = uni.getStorageSync("userinfo") this.getLiveSpec(); this.resetgood(); }, diff --git a/pages/release/zhibo.nvue b/pages/release/zhibo.nvue index 5218c15..cbdb021 100644 --- a/pages/release/zhibo.nvue +++ b/pages/release/zhibo.nvue @@ -46,7 +46,7 @@ - + 德铭阳光在线绿色直播,请遵循相关法律法规,警察叔叔24小时巡查哦。为了保障直播系统稳定,现将全局开放防主播沉迷功能。主播积累直播16小时将自动下播休息2小时后方可继续开播。请大家注意休息/避免空播。
@@ -87,7 +87,7 @@ {{renshumax}} 热度 - + RMB {{jieshu.sales_amount}} 直播销量