mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-12 12:26:48 +08:00
返回按钮
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="top">
|
<view class="top">
|
||||||
<view v-show="showBack" class="top-back" @click="toBack()">
|
<view v-show="showBack" class="top-back" @click="toBack()">
|
||||||
<u-icon name="arrow-left"></u-icon>
|
<u-icon color="#333" size="20" name="arrow-left"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
<view class="top-title"><slot></slot></view>
|
<view class="top-title"><slot></slot></view>
|
||||||
<view @click="topgae()" style="color: #387DF7;">
|
<view @click="topgae()" style="color: #387DF7;">
|
||||||
@@ -71,23 +71,20 @@
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.top{
|
.top{
|
||||||
height: 40px;
|
height: 40px;
|
||||||
// display: none;
|
|
||||||
// background:linear-gradient(to bottom,#6BA0FC, #6297FD);
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
.top-back{
|
.top-back{
|
||||||
// float: left;
|
color: #333;
|
||||||
color: #000;
|
padding-top:10px;
|
||||||
padding-top:6px;
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
// padding-left: 15px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
.top-title{
|
.top-title{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #000;
|
color: #333;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
|||||||
Reference in New Issue
Block a user