Xiao_123 hai 2 meses
pai
achega
fc6ccd1f51
Modificáronse 4 ficheiros con 9 adicións e 14 borrados
  1. 6 11
      custom-tab-bar/index.js
  2. 1 1
      pages.json
  3. 1 1
      pages/index/resume.vue
  4. 1 1
      project.config.json

+ 6 - 11
custom-tab-bar/index.js

@@ -6,25 +6,25 @@ Component({
     selectedColor: "#00B760",
     list: [
 			{
-				"pagePath": "pages/index/resume",
+				"pagePath": "/pages/index/resume",
 				"text": "简历",
 				"iconPath": "/static/img/resume.png",
 				"selectedIconPath": "/static/img/resume-fill.png"
 			},
 			{
-				"pagePath": "pages/index/position",
-				"text": "职",
+				"pagePath": "/pages/index/position",
+				"text": "职",
 				"iconPath": "/static/img/position.png",
 				"selectedIconPath": "/static/img/position-fill.png"
 			},
 			{
-				"pagePath": "pages/index/communicate",
+				"pagePath": "/pages/index/communicate",
 				"text": "沟通",
 				"iconPath": "/static/img/message.png",
 				"selectedIconPath": "/static/img/message-fill.png"
 			},
 			{
-				"pagePath": "pages/index/my",
+				"pagePath": "/pages/index/my",
 				"text": "企业",
 				"iconPath": "/static/img/company.png",
 				"selectedIconPath": "/static/img/company-fill.png"
@@ -33,17 +33,12 @@ Component({
   },
   lifetimes: {  
 
-  },
-  created(){
-	  console.log(11111111111111111111)
   },
   methods: {
     switchTab(e) {
-			console.log(e, '======================')
       const data = e.currentTarget.dataset
-      const url = data.path
       wx.switchTab({
-        url
+        url: data.path
       })
       this.setData({  
         selected: data.index  

+ 1 - 1
pages.json

@@ -189,7 +189,7 @@
 			},
 			{
 				"pagePath": "pages/index/position",
-				"text": "职",
+				"text": "职",
 				"iconPath": "/static/img/position.png",
 				"selectedIconPath": "/static/img/position-fill.png"
 			},

+ 1 - 1
pages/index/resume.vue

@@ -1,5 +1,5 @@
 <template>
-    <!-- <layout-page>企业-简历</layout-page> -->
+	<layout-page>企业-简历</layout-page>
 </template>
 
 <script setup>

+ 1 - 1
project.config.json

@@ -25,5 +25,5 @@
     "ignore": [],
     "include": []
   },
-  "appid": "wx5dd538ccc752b03a"
+  "appid": "wx247547be545cfc27"
 }