临时修复了提示

This commit is contained in:
2020-09-10 10:05:04 +08:00
parent 0f85f77520
commit d0107c5729
6 changed files with 213 additions and 89 deletions

View File

@@ -137,7 +137,8 @@ export default {
selectarr: [], //选中标签
tagcontent: '',
is_edit: false, // 编辑
userinfo:{}
userinfo:{},
device: null, // 手机信息
};
},
onLoad() {
@@ -146,6 +147,9 @@ export default {
this.tosign();
this.getLiveSpec();
this.device = uni.getSystemInfoSync(); // 获取信息
console.log(this.device);
},
methods: {
publish() {
@@ -277,7 +281,18 @@ export default {
},
// 上传封面
uploadcover(data) {
console.log(data);
// console.log(data.data);
// #ifdef APP-PLUS
plus.io.getImageInfo({
src: data.data.file_path,
success: (res) => {
console.log(res);
},
fail: (err) => {
console.log(err);
}
})
// #endif
if (data.errCode != 0) {
this.$refs.uToast.show({
title: '上传失败',

View File

@@ -73,10 +73,10 @@
</view>
</div>
<div class="jieshu" v-if="!zhibo" :style="{'height':height + 'px'}">
<div class="jieshuback" :style="{'height':height + 'px'}"></div>
<div class="jieshuback" :style="{'height':height + 'px'}" @click="closes1"></div>
<image class="closeimg" src="../../static/image/cloneb.png" @click="closes"></image>
<text class="jieshutitle">徳铭阳光在线</text>
<image class="jieshuheadimg" :src="info.member_avatar"></image>
<image class="jieshuheadimg" @click="closes1" :src="info.member_avatar"></image>
<text class="jieshuusername">{{info.member_nickname}}</text>
<div class="jieshubox">
<view class="jieshuboxitem">
@@ -138,6 +138,7 @@
.jieshutitle{
font-size: 30rpx;
color:#fff;
width: 350rpx;
position: fixed;
top: 70rpx;
left: 31rpx;
@@ -146,17 +147,19 @@
.jieshuback{
background-color: #000;
opacity: 0.8;
position: absolute;
position: fixed;
left: 0;
top: 0;
width: 750rpx;
z-index: 901;
}
.jieshu{
z-index: 9999;
position: fixed;
top: 0;
left: 0;
width: 750rpx;
z-index: 900;
align-items: center;
justify-content: center;
}
@@ -175,7 +178,7 @@
bottom: 24rpx;
}
.closeimg{
position: fixed;
position: absolute;
top: 70rpx;
right: 31rpx;
width: 51rpx;
@@ -623,7 +626,11 @@
duration: 2000
});
},
closes1() {
console.log(111);
},
closes(){
console.log(this.zhibo)
if(!this.zhibo){
uni.navigateBack({
delta:1