引导页+cell
This commit is contained in:
		| @@ -20,7 +20,7 @@ const start = () => { | ||||
|   let json = { | ||||
|     easycom: { | ||||
|       "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue", | ||||
|       "^(Ai|V)(.*)": "@/components/$1$2/$1$2.vue" | ||||
|       "^(Ai|V)(.*)": "@/components/$1$2/$1$2.vue", | ||||
|     }, | ||||
|     pages: [ | ||||
|       {path: 'pages/home', style: {navigationBarTitleText: "小程序应用库"}} | ||||
| @@ -33,7 +33,12 @@ const start = () => { | ||||
|     globalStyle: { | ||||
|       pageOrientation: "auto", | ||||
|       navigationBarTextStyle: "white", | ||||
|       navigationBarBackgroundColor: "#4181FF" | ||||
|       navigationBarBackgroundColor: "#4181FF", | ||||
|       "mp-weixin": { | ||||
|         "usingComponents": { | ||||
|           "cell": "plugin://materialPlugin/cell" | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|   Promise.all([ | ||||
|   | ||||
| @@ -18,6 +18,12 @@ | ||||
|         "desc": "你的位置信息将用于当前事件发生地点" | ||||
|       } | ||||
|     }, | ||||
|     "plugins": { | ||||
|       "materialPlugin": { | ||||
|         "version": "1.0.5", | ||||
|         "provider": "wx4d2deeab3aed6e5a" | ||||
|       } | ||||
|     }, | ||||
|     "requiredPrivateInfos" : ["getLocation", "chooseLocation"] | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -22,7 +22,7 @@ export default { | ||||
|         } | ||||
|       }).then(res=> { | ||||
|         if(res?.data) { | ||||
|           this.picUrl = res.data.records[0].picUrl | ||||
|           this.picUrl = res.data.records[0]?.picUrl | ||||
|         } | ||||
|       }) | ||||
|     } | ||||
|   | ||||
| @@ -14,8 +14,7 @@ | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="jionGroup">  | ||||
|         <!--  bind:startmessage='startmessage' @completemessage="completemessage" --> | ||||
|         <cell url='https://wework.qpic.cn/wwpic/71159_FwGG4OEPQM6LxsZ_1679023053/0' class="join-btn">加入群聊</cell> | ||||
|         <cell @startmessage="startmessage" @completemessage="completemessage" url='https://wework.qpic.cn/wwpic/71159_FwGG4OEPQM6LxsZ_1679023053/0' ></cell> | ||||
|       </div> | ||||
|  | ||||
|       <div class="pic"> | ||||
| @@ -116,8 +115,7 @@ export default { | ||||
|     line-height: 80px; | ||||
|     padding: 0 72px; | ||||
|     box-sizing: border-box; | ||||
|     ::v-deep .join-btn { | ||||
|       display: block; | ||||
|     ::v-deep cell .wrapper { | ||||
|       width: 100%; | ||||
|       height: 100%; | ||||
|       text-align: center; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user