浏览代码

样式修改

tanxue 2 月之前
父节点
当前提交
afe77ff375

+ 2 - 2
common/styles/global/components.scss

@@ -307,8 +307,8 @@ margin-right: 18rpx;display: inline-block;vertical-align: middle;}
 	box-sizing: border-box;padding:16rpx;background-color: #fff;
 	.form-radio-double-group{justify-content: space-between;}
 	.phone-radio-item{
-		width: 23%;height:60rpx;line-height:60rpx;border-radius: 6rpx;box-sizing: border-box;
-		background-color:#f5f5f5;text-align: center;margin:10rpx 1%;@include single-line-ellipsis();
+		width: 29%;height:60rpx;line-height:60rpx;border-radius: 6rpx;box-sizing: border-box;
+		background-color:#f5f5f5;text-align: center;margin:10rpx 2%;@include single-line-ellipsis();
 		box-sizing: border-box;padding: 0 6rpx;font-size: 26rpx;border:1rpx solid #f5f5f5;
 	}
 	.radioActive{background-color:#e5f8f4;border:1rpx solid #6bccb0;color:#6bccb0;}

+ 10 - 1
common/styles/global/pages.scss

@@ -613,7 +613,12 @@
 		/*  #ifdef  APP-PLUS  */
 		height: 100vh;
 		/*  #endif  */
-	.jz-scroll-view {height: calc(100vh - 270rpx - var(--status-bar-height));}
+	/*  #ifdef  APP-PLUS  */
+	.jz-scroll-view{height: calc(100vh - 380rpx - var(--status-bar-height));}
+	/*  #endif  */
+	/*  #ifdef  H5  */
+	.jz-scroll-view{height: calc(100vh - 460rpx);}
+	/*  #endif  */
 	.all-type-box{
 		position: absolute;top: 80rpx;left: 0;right: 0;bottom: 0;
 		z-index: 2;background-color: rgba(0,0,0,0.3);
@@ -757,6 +762,10 @@
 	.bzxx-list-page{
 		width:100%;background-color: #f8f9fd;position: absolute;top: calc(170rpx + var(--status-bar-height));bottom: 0;
 		display: flex;flex-direction: column;
+		.bz-new-btn-box{
+			padding: 20rpx 24rpx 20rpx;background-color: #f4f6fa;box-sizing: border-box;
+			.phone-green-btn{font-size: 28rpx;}
+			}
 		.bzxx-wrap-box{flex: 1;overflow: auto;padding-bottom: 140rpx;}
 		.bzxx-card-box{background-color: #fff;padding:24rpx 38rpx;font-size: 28rpx;color: #666;line-height: 1;margin-top: 20rpx;}
 		.name-btn-box{

+ 4 - 2
pages/admin/Jiazheng/banzhengXinxiList.vue

@@ -1,5 +1,8 @@
 <template>
 	<view class="bzxx-list-page">
+		<view class="bz-new-btn-box" v-if="list.length>0">
+			<button type="default" class="phone-green-btn" @click="addBanzheng">添加</button>
+		</view>
 		<view class="bzxx-wrap-box" v-if="list.length>0">
 			<view v-for="(item,index) in list" :key="index" class="bzxx-card-box">
 				<view class="name-btn-box">
@@ -13,8 +16,7 @@
 			</view>
 		</view>
 		<view v-if="list.length>0" class="bzxx-btn-box">
-			<button type="default" @click="addBanzheng" class="phone-white-btn">添加</button>
-			<button type="default" v-if="status!='edit'"  @click="saveBanzheng" class="phone-white-btn">保存</button>
+			<button type="default" v-if="status!='edit'"  @click="saveBanzheng" class="phone-green-btn">保存</button>
 		</view>
 		<view v-else class="bzxx-add-btn-box">
 			<view  @click="addBanzheng" class="bzxx-add-btn"><text>+</text>添加办证信息</view>

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

@@ -33,14 +33,14 @@
 			<dataChecked :list="allType" mode="single" :defaultCount="99" :showAdd="false"
 				@change="selectChangeSkill" />
 		</view>
+		<view class="jz-new-btn-box">
+			<button type="default" class="phone-green-btn" @click="addJiazhengRenyuan">新增人员</button>
+		</view>
 		<view>
 			<scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
 				:refresher-threshold="50" @scrolltolower="onScrolltolower" refresher-background="transparent"
 				@refresherrefresh="onRefresh" class="jz-scroll-view">
 				<uni-list class="admin-list-box">
-					<view class="jz-new-btn-box">
-						<button type="default" class="phone-green-btn" @click="addJiazhengRenyuan">新增人员</button>
-					</view>
 
 					<uni-list-item v-for="item in data.list" class="jz-list-item-box">
 						<template v-slot:body>