[更新]基础框架,登录流程

This commit is contained in:
唐明明
2020-12-27 09:54:49 +08:00
parent 286f8111bd
commit 49275bc648
125 changed files with 2611 additions and 167 deletions

20
app.js
View File

@@ -1,12 +1,30 @@
/**
* Web唐明明
* 匆匆数载恍如梦,岁月迢迢华发增。
* 碌碌无为枉半生,一朝惊醒万事空。
*/
import apis from "./apis/index"
const QQMapWX = require("./lib/qqmap-wx-jssdk.min.js");
App({
onLaunch() {
// 挂载腾讯地图
wx.$qqMap = new QQMapWX({
key: "3TBBZ-O42LU-HXCVQ-2M66A-NCFTT-LMBHU"
})
//挂载api方法
wx.$api = apis
},
globalData: {
navAppInfo : {
appId : "wxd931d03dfe955254",
envVersion : "trial",
goodUrl : "/pages/goods/show?goodsId=",
cardUrl : "/pages/card/index?cardid="
}
}
})