zs 1 year ago
parent
commit
f1364ccccd
2 changed files with 31 additions and 3 deletions
  1. 1 1
      config.js
  2. 30 2
      pages/home/index.vue

+ 1 - 1
config.js

@@ -9,7 +9,7 @@ if (system.uniPlatform == 'mp-weixin') {
 }
 export default {
 	serverFile: 'http://192.168.1.197',
-	serverUrl: 'http://localhost:9990',
+	serverUrl: 'http://127.0.0.1:9990',
 	wx_projectkey: wx_projectkey,
 	wx_miniProgram: wx_min.miniProgram,
 	system: system,

+ 30 - 2
pages/home/index.vue

@@ -4,7 +4,13 @@
 			<u-swiper :list="config.file" height="240px" indicator indicatorMode="line" circular></u-swiper>
 		</view>
 		<view class="two">
-			正在申办
+			<view class="two_1">
+				正在申办
+			</view>
+			<view class="two_2">
+				<view class="list_1" v-if="total==0">暂无申办事项,请点击下方赋强公证按钮快速开始</view>
+				<view class="list_2" v-else>列表</view>
+			</view>
 		</view>
 		<view class="thr">
 			<view class="list" v-for="(item, index) in menuList" :key="index" @click="toCommon(item.route)">
@@ -90,8 +96,30 @@
 		flex-direction: column;
 		background-color: var(--f1Color);
 
+		.two {
+			margin: 2vw;
+			padding: 3vw;
+			border-radius: 2vw;
+			background-color: var(--mainColor);
+
+			.two_1 {
+				padding: 2vw 0;
+				border-bottom: 1px solid var(--f5Color);
+				text-align: center;
+			}
+
+			.two_2 {
+				.list_1 {
+					text-align: center;
+					padding: 2vw;
+					font-size: var(--font14Size);
+					color: var(--f85Color);
+				}
+			}
+		}
+
 		.thr {
-			margin: 2vw 0;
+			margin: 0 0 2vw 0;
 
 			.list {
 				display: flex;