diff --git a/App.vue b/App.vue index adc1220..fb7023a 100644 --- a/App.vue +++ b/App.vue @@ -16,6 +16,7 @@ @import "/style/css/layout.css"; @import "style/css/main.css"; @import "style/css/flex-main.css"; + @import "/wxcomponents/vant/dist/common/index.css"; /deep/.uni-select { background-color: #fff; diff --git a/pages.json b/pages.json index 357646e..5cdf3e0 100644 --- a/pages.json +++ b/pages.json @@ -19,7 +19,7 @@ "usingComponents": { "van-progress": "/wxcomponents/vant/dist/progress/index" } - } + } }, { "path": "pages/index/instructDetails", @@ -60,18 +60,28 @@ { "path": "pages/shipWork/peopleAdd", "style": { - "navigationBarTitleText": "杂项作业(人员信息)" + "navigationBarTitleText": "杂项作业(人员信息)", + "usingComponents": { + "van-button": "/wxcomponents/vant/dist/button/index" + } } }, { "path": "pages/shipWork/shiftAdd", "style": { - "navigationBarTitleText": "杂项作业(工班信息)" + "navigationBarTitleText": "杂项作业(工班信息)", + "usingComponents": { + "van-icon": "/wxcomponents/vant/dist/icon/index", + "van-button": "/wxcomponents/vant/dist/button/index" + } } }, { "path": "pages/shipWork/shiftDetails", "style": { - "navigationBarTitleText": "杂项作业(工班信息)" + "navigationBarTitleText": "杂项作业(工班信息)", + "usingComponents": { + "van-button": "/wxcomponents/vant/dist/button/index" + } } }, { "path": "pages/shipWork/untieCord", @@ -189,7 +199,11 @@ { "path": "pages/monitor/edit", "style": { - "navigationBarTitleText": "编辑货物质量" + "navigationBarTitleText": "编辑货物质量", + "usingComponents": { + "van-icon": "/wxcomponents/vant/dist/icon/index", + "van-button": "/wxcomponents/vant/dist/button/index" + } } }, { diff --git a/pages/monitor/edit.vue b/pages/monitor/edit.vue index 3454ba2..d063f9e 100644 --- a/pages/monitor/edit.vue +++ b/pages/monitor/edit.vue @@ -4,7 +4,7 @@ 基本信息 -