|
@@ -1,11 +1,8 @@
|
|
|
<template>
|
|
|
<view class="pagesCons">
|
|
|
<!-- 自定义标题 -->
|
|
|
- <u-navbar :is-back="false" :border-bottom="false" :background="background" id="navbar">
|
|
|
+ <u-navbar title-color="#fff" back-icon-size="30" back-icon-color="#fff" :border-bottom="false" :background="background" id="navbar">
|
|
|
<view class="slot-wrap">
|
|
|
- <view class="back-icon" @click="goBack">
|
|
|
- <u-icon name="arrow-left" color="#fff" size="32"></u-icon>
|
|
|
- </view>
|
|
|
<view class="left-icon">待办单</view>
|
|
|
<view class="right-icon">
|
|
|
<u-icon name="plus-circle" color="#fff" size="32"></u-icon>新增
|
|
@@ -301,19 +298,17 @@
|
|
|
/* 如果您想让slot内容占满整个导航栏的宽度 */
|
|
|
flex: 1;
|
|
|
/* 如果您想让slot内容与导航栏左右有空隙 */
|
|
|
- padding: 0 30rpx;
|
|
|
+ padding: 0 30rpx 0 0;
|
|
|
color: #fff;
|
|
|
font-size: 28upx;
|
|
|
- .left-icon {
|
|
|
+ .left-icon{
|
|
|
flex-grow: 1;
|
|
|
font-size: 32upx;
|
|
|
- margin-right: 10upx;
|
|
|
- text-align: center;
|
|
|
}
|
|
|
- .right-icon {
|
|
|
- padding-left: 50upx;
|
|
|
+ .right-icon{
|
|
|
+ padding-left:50upx;
|
|
|
}
|
|
|
- .uni-icons {
|
|
|
+ .uni-icons{
|
|
|
margin-right: 10upx;
|
|
|
}
|
|
|
}
|