界面修改

This commit is contained in:
jia 2023-09-04 12:04:03 +08:00
parent c16be21609
commit 4c83cc272b

View File

@ -267,8 +267,8 @@
<text class="title">{{item.title}}</text> <text class="title">{{item.title}}</text>
<view class="goods_info"> <view class="goods_info">
<view class="l_info"> <view class="l_info">
<image :src="(item.author && item.author.avatar) || '/static/images/f.png'" <image :src="(item.author && item.author.avatar) || '/static/images/f.png'" mode="aspectFit"
mode="aspectFit" class="g_img"></image> class="g_img"></image>
<text class="g_name">{{item.author && item.author.nickname}}</text> <text class="g_name">{{item.author && item.author.nickname}}</text>
</view> </view>
<view class="nice_box flex_a_c" @click.stop="giveStart(item)"> <view class="nice_box flex_a_c" @click.stop="giveStart(item)">
@ -314,7 +314,7 @@
<mentioned ref="mentioned" @close="closePopup" :list="moreList" :uid="authorUid"></mentioned> <mentioned ref="mentioned" @close="closePopup" :list="moreList" :uid="authorUid"></mentioned>
</view> </view>
</uni-popup> </uni-popup>
<!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> --> <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
<view class="fixed-head"> <view class="fixed-head">
<view class="sys-head" :style="{height:statusBarHeight}"></view> <view class="sys-head" :style="{height:statusBarHeight}"></view>
<view class="tool-bar" @click='goBack()'> <view class="tool-bar" @click='goBack()'>
@ -501,7 +501,7 @@
this.wHeight = uni.getSystemInfoSync().screenHeight; //获取屏幕高度 this.wHeight = uni.getSystemInfoSync().screenHeight; //获取屏幕高度
this.boxStyle.height = this.wHeight; //改变视频高度 this.boxStyle.height = this.wHeight; //改变视频高度
this.get() //这一步,加载视频数据 this.get() //这一步,加载视频数据
// if (this.isLogin) this.getUserInfo() if (this.isLogin) this.getUserInfo()
}, },
onReady() {}, onReady() {},
methods: { methods: {
@ -594,6 +594,7 @@
} }
}); });
}, },
// #endif // #endif
/** /**
* 获取个人用户信息 * 获取个人用户信息
@ -661,9 +662,9 @@
// this.getUserInfo() // this.getUserInfo()
// }, // },
// 授权关闭 // 授权关闭
// authColse: function(e) { authColse: function(e) {
// this.isShowAuth = e this.isShowAuth = e
// }, },
moreTap(item) { moreTap(item) {
item.isMore = !item.isMore; item.isMore = !item.isMore;
}, },
@ -752,7 +753,7 @@
let that = this; let that = this;
that.loadVideo = list.length == that.limit that.loadVideo = list.length == that.limit
// that.page = that.page + 1; // that.page = that.page + 1;
that.page =1 that.page = 1
var msg = list var msg = list
for (let i = 0; i < msg.length; i++) { for (let i = 0; i < msg.length; i++) {
msg[i]['isMore'] = false msg[i]['isMore'] = false
@ -887,7 +888,7 @@
this.loadVideo = false this.loadVideo = false
this.page = 1; this.page = 1;
var msg = [res.data]; var msg = [res.data];
for (let i = 0; i < msg.length; i++) { for (let i = 0; i < msg.length; i++) {
msg[i]['isMore'] = false msg[i]['isMore'] = false
msg[i]['playIng'] = false msg[i]['playIng'] = false