mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 11:56:47 +08:00
添加返回图标
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<view class="ranking-list-info">
|
||||
<view class="back-icon" @click="back()">
|
||||
<u-icon name="arrow-left"></u-icon>
|
||||
</view>
|
||||
<view class="ranking-list-box">
|
||||
<u-tabs :list="tabList" @click="clickTabs"
|
||||
lineColor="#007DFF"
|
||||
@@ -208,6 +211,9 @@
|
||||
|
||||
},
|
||||
methods:{
|
||||
back(){
|
||||
uni.navigateBack();
|
||||
},
|
||||
clickTabs(item) {
|
||||
this.activeTab = item.index;
|
||||
},
|
||||
@@ -337,6 +343,15 @@
|
||||
padding-top: 376upx;
|
||||
background: url(../../static/images/ranking-list.png) no-repeat 100% / 100%;
|
||||
background-position: 0 0;
|
||||
position: relative;
|
||||
.back-icon{
|
||||
position: absolute;
|
||||
top:110upx;
|
||||
left:40upx;
|
||||
/deep/ .uicon-arrow-left{
|
||||
color: #fff !important;
|
||||
}
|
||||
}
|
||||
.ranking-list-box{
|
||||
padding: 34upx 40upx;
|
||||
border-radius: 40upx 40upx 0 0;
|
||||
|
||||
Reference in New Issue
Block a user