diff --git a/components/Cp_Bg.vue b/components/Cp_Bg.vue new file mode 100644 index 0000000..eece56a --- /dev/null +++ b/components/Cp_Bg.vue @@ -0,0 +1,39 @@ + + + + + \ No newline at end of file diff --git a/components/Cp_Nav.vue b/components/Cp_Nav.vue new file mode 100644 index 0000000..9bfaeaf --- /dev/null +++ b/components/Cp_Nav.vue @@ -0,0 +1,68 @@ + + + + + + \ No newline at end of file diff --git a/manifest.json b/manifest.json index 4bfb29c..19d15e5 100644 --- a/manifest.json +++ b/manifest.json @@ -50,11 +50,12 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "", + "appid" : "wx68a8dd4e31c57729", "setting" : { "urlCheck" : false }, - "usingComponents" : true + "usingComponents" : true, + "permission" : {} }, "mp-alipay" : { "usingComponents" : true diff --git a/pages.json b/pages.json index a8f9cb2..db653dc 100644 --- a/pages.json +++ b/pages.json @@ -1,10 +1,21 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { + "path": "pages/Workbench/Workbench", + "style": { + "navigationBarTitleText": "工作台" + } + },{ "path": "pages/Repair/Repair", "style": { "navigationBarTitleText": "报修管理" } + },{ + "path" : "pages/Me/MyRepair", + "style" : + { + "navigationBarTitleText" : "我的报修" + } }, { "path": "pages/login/login", "style": { @@ -12,12 +23,6 @@ } }, { - "path": "pages/Workbench/Workbench", - "style": { - "navigationBarTitleText": "工作台" - } - }, - { "path": "pages/Me/Me", "style": { "navigationBarTitleText": "我的" @@ -61,6 +66,7 @@ "navigationBarTitleText" : "报修详情" } } + ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/Me/Me.vue b/pages/Me/Me.vue index f67d424..180f97d 100644 --- a/pages/Me/Me.vue +++ b/pages/Me/Me.vue @@ -13,6 +13,7 @@ 个人资料 + 我的报修 我的押金 我的维修 @@ -30,6 +31,12 @@ url:"/pages/Me/informatiuon" }) } + + const myRepair = ()=>{ + uni.navigateTo({ + url:"/pages/Me/MyRepair" + }) + } \ No newline at end of file diff --git a/pages/Repair/Repair.vue b/pages/Repair/Repair.vue index 14bde45..60c2bef 100644 --- a/pages/Repair/Repair.vue +++ b/pages/Repair/Repair.vue @@ -1,20 +1,16 @@ @@ -104,54 +102,10 @@ $globalWidth: 650rpx; $buttonColor: #0e7ff5; - - - - .container { - display: flex; - background: -webkit-linear-gradient(270deg, - rgba(227, 239, 249, 1) 0%, - rgba(245, 245, 247, 1) 100%); - flex-direction: column; - /* align-items: center; */ - width: 100%; - height: 100vh; - - align-items: center; - - } - .container-nav { width: 100%; - background-color: white; - height: 80rpx; - transition: all 0.3s; - - .container-tabs { - width: 100%; - height: 100%; - display: flex; - - } - - .container-tab { - width: 25%; - height: 100%; - line-height: 80rpx; - text-align: center; - border-bottom: 4rpx solid transparent; - display: flex; - justify-content: center; - - } - - .active { - color: $buttonColor; - border-bottom: 4rpx solid $buttonColor !important; - } } - .container-card { width: 100%; margin-top: 40rpx; @@ -168,6 +122,7 @@ .container-top { display: flex; + } diff --git a/pages/Workbench/Workbench.vue b/pages/Workbench/Workbench.vue index c0e7658..f146317 100644 --- a/pages/Workbench/Workbench.vue +++ b/pages/Workbench/Workbench.vue @@ -1,37 +1,115 @@ - \ No newline at end of file diff --git a/project.config.json b/project.config.json new file mode 100644 index 0000000..3ad641b --- /dev/null +++ b/project.config.json @@ -0,0 +1,28 @@ +{ + "appid": "wx68a8dd4e31c57729", + "compileType": "miniprogram", + "libVersion": "3.5.5", + "packOptions": { + "ignore": [], + "include": [] + }, + "setting": { + "coverView": true, + "es6": true, + "postcss": true, + "minified": true, + "enhance": true, + "showShadowRootInWxmlPanel": true, + "packNpmRelationList": [], + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" + } + }, + "condition": {}, + "editorSetting": { + "tabIndent": "insertSpaces", + "tabSize": 2 + } +} \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json new file mode 100644 index 0000000..7ec85aa --- /dev/null +++ b/project.private.config.json @@ -0,0 +1,7 @@ +{ + "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", + "projectname": "OM", + "setting": { + "compileHotReLoad": true + } +} \ No newline at end of file diff --git a/static/backgroup.png b/static/backgroup.png new file mode 100644 index 0000000..a51cb0b Binary files /dev/null and b/static/backgroup.png differ