返回按钮

This commit is contained in:
lmj
2022-11-22 14:01:20 +08:00
parent 3f1545e7b2
commit e5dec24a94

View File

@@ -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%;