zhengkaixin 2 years ago
parent
commit
04ec33a73a
2 changed files with 39 additions and 40 deletions
  1. 12 12
      manifest.json
  2. 27 28
      pages/index/index.vue

+ 12 - 12
manifest.json

@@ -50,7 +50,7 @@
     "quickapp" : {},
     /* 小程序特有相关 */
     "mp-weixin" : {
-        "appid" : "",
+        "appid" : "wx7eec18cd89b9d777",
         "setting" : {
             "urlCheck" : false
         },
@@ -69,15 +69,15 @@
         "enable" : false
     },
     "vueVersion" : "2",
-	"h5" : {
-	    "devServer" : {
-	        "port" : 8080,
-	        "https" : false,
-	        "disableHostCheck" : true
-	    },
-	    "router" : {
-	        "base" : "./"
-	    },
-	    "title" : "加载中..."
-	}
+    "h5" : {
+        "devServer" : {
+            "port" : 8080,
+            "https" : false,
+            "disableHostCheck" : true
+        },
+        "router" : {
+            "base" : "./"
+        },
+        "title" : "加载中..."
+    }
 }

+ 27 - 28
pages/index/index.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<u-navbar back-text="荆开零工驿站"  :background="background" :back-text-style="backColor"></u-navbar>
+		<u-navbar back-text="荆州经开区共享用工平台"  :customBack="customBack" :background="background" :back-text-style="backColor"></u-navbar>
 
 
 
@@ -19,21 +19,19 @@
 		</view>
 		<!-- 功能区 -->
 		<view class="function">
-			<view class="function-item">
-				<view class="icon-box">
-
-					<view class="icon">
-						<img src="../../assets/img/riFill-cloud-fill@1x.png" alt="">
-
-					</view>
-
-				</view>
-				
-				<view class="item-text">
-					共享用工
-				</view>
+			<view class="function-item"  @click="gotoUrl('pages/choreInformation/choreInformation')">
+				<view class="icon-box icon-box3">
+			
+					<view class="icon">
+						<img src="../../assets/img/riFill-contacts-book-2-fill@1x.png" alt="">
+					</view>
+			
+				</view>
+				<view class="item-text">
+					零工驿站
+				</view>
 			</view>
-			<view class="function-item">
+			<view class="function-item"  @click="gotoUrl('pages/choreInformation/choreInformation')">
 				<view class="icon-box icon-box2">
 
 					<view class="icon">
@@ -44,19 +42,19 @@
 				<view class="item-text">
 					爱心驿站
 				</view>
+			</view>
+			<view class="function-item" @click="gotoUrl('pages/mine/employmentService/shareEmployment')">
+				<view class="icon-box">
+					<view class="icon">
+						<img src="../../assets/img/riFill-cloud-fill@1x.png" alt="">
+					</view>
+				</view>
+				
+				<view class="item-text">
+					共享用工
+				</view>
 			</view>
-			<view class="function-item">
-				<view class="icon-box icon-box3">
-
-					<view class="icon">
-						<img src="../../assets/img/riFill-contacts-book-2-fill@1x.png" alt="">
-					</view>
-
-				</view>
-				<view class="item-text">
-					零工驿站
-				</view>
-			</view>
+			
 			<view class="function-item">
 				<view class="icon-box icon-box4">
 			
@@ -188,7 +186,8 @@
 		onLoad() {
 
 		},
-		methods: {
+		methods: {
+			customBack(){},
         change(index) {
         				this.current = index;
         			}