diff --git a/miniprogram/app.json b/miniprogram/app.json index d2878e6..bc2e39c 100644 --- a/miniprogram/app.json +++ b/miniprogram/app.json @@ -1,16 +1,40 @@ { "pages": [ + "pages/secondhand/index", + "pages/profile/index", + "pages/secondhand/publish", + "pages/secondhand/detail", + "pages/profile/orders", "pages/index/index", - "pages/example/index" + "pages/logs/logs" ], "window": { - "backgroundColor": "#F6F6F6", "backgroundTextStyle": "light", - "navigationBarBackgroundColor": "#F6F6F6", - "navigationBarTitleText": "云开发 QuickStart", - "navigationBarTextStyle": "black" + "navigationBarTextStyle": "black", + "navigationBarBackgroundColor": "#ffffff", + "navigationBarTitleText": "宿小君", + "backgroundColor": "#f7f7f7" + }, + "tabBar": { + "color": "#999999", + "selectedColor": "#3A86FF", + "backgroundColor": "#ffffff", + "borderStyle": "black", + "list": [ + { + "pagePath": "pages/secondhand/index", + "text": "二手超市", + "iconPath": "images/secondhand.png", + "selectedIconPath": "images/secondhand_selected.png" + }, + { + "pagePath": "pages/profile/index", + "text": "我的", + "iconPath": "images/profile.png", + "selectedIconPath": "images/profile_selected.png" + } + ] }, - "sitemapLocation": "sitemap.json", "style": "v2", - "lazyCodeLoading": "requiredComponents" + "sitemapLocation": "sitemap.json" } \ No newline at end of file diff --git a/miniprogram/images/avatar.png b/miniprogram/images/avatar.png index 48d5ee2..a9b350a 100644 Binary files a/miniprogram/images/avatar.png and b/miniprogram/images/avatar.png differ diff --git a/miniprogram/pages/index/index.json b/miniprogram/pages/index/index.json index 6112712..aa3f1b0 100644 --- a/miniprogram/pages/index/index.json +++ b/miniprogram/pages/index/index.json @@ -1,6 +1,5 @@ { - "navigationBarTitleText": "基础能力", "usingComponents": { - "cloud-tip-modal": "/components/cloudTipModal/index" + "navigation-bar": "/components/navigation-bar/navigation-bar" } } \ No newline at end of file diff --git a/miniprogram/pages/index/index.wxml b/miniprogram/pages/index/index.wxml index e61fe7c..aab521d 100644 --- a/miniprogram/pages/index/index.wxml +++ b/miniprogram/pages/index/index.wxml @@ -1,29 +1,28 @@ - - 快速了解云开发 - 免鉴权接口调用 免部署后台 高并发 - - - - - {{power.title}} - {{power.tag}} + + + + + + + + 昵称 + - {{power.tip}} - - - - + + + + 请使用2.10.4及以上版本基础库 + + + + {{userInfo.nickName}} + - - - - - {{item.title}} - - - + + {{motto}} - - \ No newline at end of file + diff --git a/miniprogram/sitemap.json b/miniprogram/sitemap.json index 27b2b26..ca02add 100644 --- a/miniprogram/sitemap.json +++ b/miniprogram/sitemap.json @@ -1,7 +1,7 @@ { "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", "rules": [{ - "action": "allow", - "page": "*" + "action": "allow", + "page": "*" }] } \ No newline at end of file diff --git a/project.config.json b/project.config.json index b13573f..cdd7a52 100644 --- a/project.config.json +++ b/project.config.json @@ -1,85 +1,53 @@ { + "description": "项目配置文件", "miniprogramRoot": "miniprogram/", - "cloudfunctionRoot": "cloudfunctions/", + "compileType": "miniprogram", "setting": { - "urlCheck": true, - "es6": true, - "enhance": true, - "postcss": true, - "preloadBackgroundData": false, - "minified": true, - "newFeature": true, - "coverView": true, - "nodeModules": false, - "autoAudits": false, - "showShadowRootInWxmlPanel": true, - "scopeDataCheck": false, - "uglifyFileName": false, - "checkInvalidKey": true, - "checkSiteMap": true, - "uploadWithSourceMap": true, - "compileHotReLoad": false, - "useMultiFrameRuntime": true, - "useApiHook": true, - "useApiHostProcess": true, + "useCompilerPlugins": [ + "typescript", + "less" + ], "babelSetting": { "ignore": [], "disablePlugins": [], "outputPath": "" }, - "enableEngineNative": false, - "useIsolateContext": true, - "useCompilerModule": true, - "userConfirmedUseCompilerModuleSwitch": false, - "userConfirmedBundleSwitch": false, - "packNpmManually": false, + "coverView": true, + "postcss": true, + "minified": true, + "enhance": false, + "showShadowRootInWxmlPanel": false, "packNpmRelationList": [], - "minifyWXSS": true, + "ignoreUploadUnusedFiles": true, + "compileHotReLoad": false, + "skylineRenderEnable": false, + "es6": true, "compileWorklet": false, + "uglifyFileName": false, + "uploadWithSourceMap": true, + "packNpmManually": false, + "minifyWXSS": true, "minifyWXML": true, "localPlugins": false, - "disableUseStrict": false, - "useCompilerPlugins": false, "condition": false, + "disableUseStrict": false, "swc": false, "disableSWC": true }, - "appid": "wxd7d00921edfeb9df", - "projectname": "quickstart-wx-cloud", - "libVersion": "3.8.5", - "cloudfunctionTemplateRoot": "cloudfunctionTemplate/", - "condition": { - "search": { - "list": [] - }, - "conversation": { - "list": [] - }, - "plugin": { - "list": [] - }, - "game": { - "list": [] - }, - "miniprogram": { - "list": [ - { - "id": -1, - "name": "db guide", - "pathName": "pages/databaseGuide/databaseGuide" - } - ] - } - }, - "compileType": "miniprogram", + "simulatorType": "wechat", + "simulatorPluginLibVersion": {}, + "condition": {}, "srcMiniprogramRoot": "miniprogram/", - "packOptions": { - "ignore": [], - "include": [] - }, "editorSetting": { "tabIndent": "insertSpaces", "tabSize": 2 }, - "simulatorPluginLibVersion": {} + "libVersion": "2.32.3", + "packOptions": { + "ignore": [], + "include": [] + }, + "appid": "wxd7d00921edfeb9df", + "cloudfunctionTemplateRoot": "cloudfunctionTemplate/", + "cloudfunctionRoot": "cloudfunctions/" } \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index 5825b85..a8c48bb 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -1,25 +1,23 @@ { + "libVersion": "2.32.3", + "projectname": "%E5%AE%BF%E5%B0%8F%E5%90%9B", "setting": { - "compileHotReLoad": true, - "urlCheck": false, - "coverView": true, + "urlCheck": true, + "coverView": false, "lazyloadPlaceholderEnable": false, - "skylineRenderEnable": false, + "skylineRenderEnable": true, "preloadBackgroundData": false, "autoAudits": false, "useApiHook": true, "useApiHostProcess": true, - "showShadowRootInWxmlPanel": true, + "showShadowRootInWxmlPanel": false, "useStaticServer": false, "useLanDebug": false, "showES6CompileOption": false, - "checkInvalidKey": true, - "ignoreDevUnusedFiles": true, + "compileHotReLoad": true, "bigPackageSizeSupport": false, - "useIsolateContext": true + "checkInvalidKey": true, + "ignoreDevUnusedFiles": true }, - "condition": {}, - "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", - "projectname": "%E7%A9%BA%E7%99%BD", - "libVersion": "3.8.5" + "condition": {} } \ No newline at end of file