소스 검색

样式修改

tanxue 3 달 전
부모
커밋
0f00a21652
2개의 변경된 파일9개의 추가작업 그리고 6개의 파일을 삭제
  1. 3 0
      common/styles/global/components.scss
  2. 6 6
      pages/admin/Jiazheng/index.vue

+ 3 - 0
common/styles/global/components.scss

@@ -132,6 +132,9 @@ view{box-sizing: border-box;}
 		width: 24rpx;height: 38rpx;position: absolute;left: 24rpx;top: calc(32rpx + var(--status-bar-height));
 		background-image: url("@/static/images/common/nav-bar-jt.svg");@include ezy-no-repeat-cover();
 	}
+	.bar-ml10{margin-left: 10rpx;}
+	.nav-bar-btn{font-size: 24rpx;position: absolute;right: 20rpx;
+			line-height: 50rpx;border-radius: 8rpx;padding: 0 10rpx;}
 }
 // 带背景色client使用
 .icon-title-bjcolor-navBar-box{

+ 6 - 6
pages/admin/Jiazheng/index.vue

@@ -1,14 +1,14 @@
 <template>
 	<view class="admin-jiazheng-list">
-		<view class="phone-navBar-box">
+		<view class="icon-title-navBar-box">
 			<view @click="goUpPage" class="nav-bar-icon"></view>
-			<text class="nav-bar-title">家政人员</text>
-			<view class="nav-bar-icon-box">
-				<uni-icons class="nav-bar-right-icon" type="plusempty" size="22" color="#666"
-					@click="addJiazhengRenyuan"></uni-icons>
-				<uni-icons class="nav-bar-right-icon" type="search" size="22" color="#666"
+			<view>
+				<text class="nav-bar-title">家政人员</text>
+				<uni-icons class="nav-bar-right-icon bar-ml10" type="search" size="20" color="#3fd2a1"
 					@click="toggle('top')"></uni-icons>
 			</view>
+			<button type="default" class="phone-green-btn nav-bar-btn"
+				@click="addJiazhengRenyuan">新增人员</button>
 		</view>
 		<view class="jiazheng-search-box">
 			<view @click.stop="clickAlltype" class="select-item-box">