修改app 返回按钮
This commit is contained in:
parent
d70a328f9c
commit
8c11c5748c
@ -21,13 +21,6 @@
|
|||||||
】
|
】
|
||||||
-->
|
-->
|
||||||
<!-- 头部导航 -->
|
<!-- 头部导航 -->
|
||||||
<view class="header">
|
|
||||||
|
|
||||||
<view class='xiangzuo' @click='goBack()'>
|
|
||||||
<image src="@/static/images/icon-back.png" mode="aspectFit"></image>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
<!-- <view v-if="!isUser" class="header" :style="{backgroundColor:currentNav==1?'':'#000'}" >
|
<!-- <view v-if="!isUser" class="header" :style="{backgroundColor:currentNav==1?'':'#000'}" >
|
||||||
<view class="items" @click.stop="navTap(2)">
|
<view class="items" @click.stop="navTap(2)">
|
||||||
<text class="tName" :class="currentNav==2?'on':''">关注</text>
|
<text class="tName" :class="currentNav==2?'on':''">关注</text>
|
||||||
@ -323,7 +316,12 @@
|
|||||||
</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="sys-head" :style="{height:statusBarHeight}"></view>
|
||||||
|
<view class="tool-bar" @click='goBack()'>
|
||||||
|
<image class="icon-xiangzuo" src="../static/img/index/icon-back.png"></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@ -403,7 +401,7 @@
|
|||||||
newTime: 0, //跟手滑动后的最新时间💗
|
newTime: 0, //跟手滑动后的最新时间💗
|
||||||
timeNumber: 0, //🌟💗
|
timeNumber: 0, //🌟💗
|
||||||
ProgressBarBottom: 20, //进度条离底部的距离💗
|
ProgressBarBottom: 20, //进度条离底部的距离💗
|
||||||
object_fit: 'fill', //视频样式默认包含🌟💗
|
object_fit: 'cover', //视频样式默认包含🌟💗
|
||||||
mode: 'aspectFit', //图片封面样式🌟💗
|
mode: 'aspectFit', //图片封面样式🌟💗
|
||||||
timeout: "", //🌟用来阻止 setTimeout()方法
|
timeout: "", //🌟用来阻止 setTimeout()方法
|
||||||
voice: "", //🌟用来阻止 setTimeout()方法
|
voice: "", //🌟用来阻止 setTimeout()方法
|
||||||
@ -705,13 +703,12 @@
|
|||||||
// });
|
// });
|
||||||
// })'
|
// })'
|
||||||
// that.isUser ?
|
// that.isUser ?
|
||||||
|
|
||||||
videoList({
|
videoList({
|
||||||
page: that.page,
|
page: that.page,
|
||||||
limit: that.limit,
|
limit: that.limit,
|
||||||
id: that.videoID
|
id: this.videoID
|
||||||
|
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res.data.list)
|
|
||||||
that.getVideoData(res.data.list);
|
that.getVideoData(res.data.list);
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -1112,11 +1109,6 @@
|
|||||||
// background-color: #999;
|
// background-color: #999;
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
.container {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.video-list {
|
.video-list {
|
||||||
// margin: 0 auto;
|
// margin: 0 auto;
|
||||||
// width: 750rpx;
|
// width: 750rpx;
|
||||||
@ -1238,61 +1230,45 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.fixed-head {
|
||||||
position: fixed;
|
flex-direction: row;
|
||||||
z-index: 9999 !important;
|
justify-content: center;
|
||||||
width: 750rpx;
|
align-items: center;
|
||||||
height: 120rpx;
|
position: fixed;
|
||||||
flex-direction: row;
|
left: 0;
|
||||||
justify-content: center;
|
top: 70rpx;
|
||||||
align-items: center;
|
height: 86rpx;
|
||||||
padding-top: 20rpx;
|
|
||||||
/* #ifdef MP */
|
|
||||||
padding-top: 75rpx;
|
|
||||||
/* #endif */
|
|
||||||
|
|
||||||
|
|
||||||
/deep/ .xiangzuo {
|
.icon-xiangzuo {
|
||||||
position: absolute;
|
margin-left: 10px;
|
||||||
left: 20rpx;
|
width: 20px;
|
||||||
top: 60px;
|
height: 20px;
|
||||||
width: 23rpx;
|
color: #ffffff;
|
||||||
height: 42rpx;
|
|
||||||
|
|
||||||
margin-right: 40rpx;
|
|
||||||
margin-left: 20rpx;
|
|
||||||
|
|
||||||
image {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
position: fixed;
|
||||||
|
z-index: 9;
|
||||||
|
width: 750rpx;
|
||||||
|
height: 186rpx;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
padding-top: 70rpx;
|
||||||
|
|
||||||
.items {
|
.items {
|
||||||
margin: 0 30rpx;
|
margin: 0 30rpx;
|
||||||
|
|
||||||
image {
|
|
||||||
width: 58rpx;
|
|
||||||
height: 58rpx;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.tName {
|
.tName {
|
||||||
font-size: 33rpx;
|
color: #000;
|
||||||
font-family: PingFang SC-Medium, PingFang SC;
|
font-size: 32rpx;
|
||||||
font-weight: 500;
|
|
||||||
color: #737373;
|
|
||||||
line-height: 50px;
|
|
||||||
|
|
||||||
&.on {
|
&.on {
|
||||||
font-size: 33rpx;
|
font-size: 38rpx;
|
||||||
font-family: PingFang SC-Medium, PingFang SC;
|
|
||||||
font-weight: 500;
|
|
||||||
color: #333333;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user