mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-20 08:16:47 +08:00
feat: 优化返回按钮的显示
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="top" :class="[sticky ? 'sticky': '']">
|
<view class="top" :class="[sticky ? 'sticky': '']">
|
||||||
<view v-show="showBack" class="top-back" @click="toBack()">
|
<view v-show="showBack" class="top-back" @click="toBack()">
|
||||||
<!-- <u-icon color="#333" size="20" name="arrow-left"></u-icon>-->
|
<u-icon color="#333" size="20" name="arrow-left"></u-icon>
|
||||||
<
|
|
||||||
</view>
|
</view>
|
||||||
<view class="top-title">
|
<view class="top-title">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
@@ -91,8 +90,8 @@ export default {
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
color: #333;
|
color: #333;
|
||||||
//padding-top:10px;
|
//padding-top:10px;
|
||||||
height: 40px;
|
//height: 40px;
|
||||||
line-height: 40px;
|
//line-height: 40px;
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user