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