mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-19 07:46:47 +08:00
feat: 优化返回按钮的显示
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<template>
|
||||
<view class="top" :class="[sticky ? 'sticky': '']">
|
||||
<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 class="top-title">
|
||||
<slot></slot>
|
||||
@@ -91,8 +90,8 @@ export default {
|
||||
z-index: 2;
|
||||
color: #333;
|
||||
//padding-top:10px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
//height: 40px;
|
||||
//line-height: 40px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user