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