diff --git a/.env.staging b/.env.staging index 92749e3..f9f608c 100644 --- a/.env.staging +++ b/.env.staging @@ -1,4 +1,5 @@ NODE_ENV='production' # must start with VUE_APP_ VUE_APP_ENV = 'staging' +outputDir = 'epmet-work-h5-staging' diff --git a/epmet-work-h5-staging.zip b/epmet-work-h5-staging.zip new file mode 100644 index 0000000..d0d05e0 Binary files /dev/null and b/epmet-work-h5-staging.zip differ diff --git a/src/App.vue b/src/App.vue index 2d238e1..158abd1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,4 +11,14 @@ export default { } } - + diff --git a/src/assets/css/common.less b/src/assets/css/common.less index fceeca7..a7bef40 100644 --- a/src/assets/css/common.less +++ b/src/assets/css/common.less @@ -24,9 +24,9 @@ .card{ background-color: #fff; - border-radius: 2px; + border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.3); - padding: 15px; + padding: 13px; box-sizing: border-box; width: auto; } @@ -82,6 +82,10 @@ } } +.p-18{ + padding: 0 18px; +} + .font-size13{ font-size: 13px; } @@ -106,4 +110,14 @@ .small_img{ width: 15px; height: 17px; +} +.bto_btn{ + position: fixed; + bottom: 5px; + left: 0; + background: #ffffff; + width: 100%; + padding: 6px 26px; + box-sizing: border-box; + text-align: right; } \ No newline at end of file diff --git a/src/assets/css/vant-theme.less b/src/assets/css/vant-theme.less index a23af9b..5498605 100644 --- a/src/assets/css/vant-theme.less +++ b/src/assets/css/vant-theme.less @@ -10,7 +10,7 @@ @gray-7: #646566; @gray-8: #323233; @red: #ee0a24; -@blue: #1989fa; +@blue: #3974f6; @orange: #ff976a; @orange-dark: #ed6a0c; @orange-light: #fffbe8; @@ -170,7 +170,7 @@ @cell-line-height: 24px; @cell-vertical-padding: 10px; @cell-horizontal-padding: @padding-md; -@cell-text-color: @text-color; +@cell-text-color: @gray-6; @cell-background-color: @white; @cell-border-color: @border-color; @cell-active-color: @active-color; @@ -179,7 +179,7 @@ @cell-label-font-size: @font-size-sm; @cell-label-line-height: 18px; @cell-label-margin-top: 3px; -@cell-value-color: @gray-6; +@cell-value-color: @gray-8; @cell-icon-size: 16px; @cell-right-icon-color: @gray-6; @cell-large-vertical-padding: @padding-sm; diff --git a/src/config/env.staging.js b/src/config/env.staging.js index 0f67f68..8ba5c93 100644 --- a/src/config/env.staging.js +++ b/src/config/env.staging.js @@ -1,8 +1,8 @@ module.exports = { env: 'staging', title: 'e联社区', - baseUrl: 'https://test.xxx.com', // 测试项目地址 - baseApi: 'https://test.xxx.com/api', // 测试api请求地址 + baseUrl: 'http://192.168.1.144', // 测试项目地址 + baseApi: 'http://192.168.1.144/api', // 测试api请求地址 APPID: 'xxx', APPSECRET: 'xxx', } diff --git a/src/router/router.config.js b/src/router/router.config.js index 40a3b39..7d991e9 100644 --- a/src/router/router.config.js +++ b/src/router/router.config.js @@ -17,6 +17,7 @@ export const constantRouterMap = [ }, { path: '/assistance', + name:'assistance', component: () => import('@/views/assistance'), meta: { title: '诉求代办', keepAlive: false } }, @@ -24,5 +25,11 @@ export const constantRouterMap = [ path: '/changePassword', component: () => import('@/views/mine/changePassword'), meta: { title: '修改密码', keepAlive: false } - } + }, + { + path: '/assistanceDetail', + name:'assistanceDetail', + component: () => import('@/views/assistanceDetail'), + meta: { title: '需求详情', keepAlive: false } + }, ] diff --git a/src/views/assistance/card.vue b/src/views/assistance/card.vue index 2893b15..da3351a 100644 --- a/src/views/assistance/card.vue +++ b/src/views/assistance/card.vue @@ -1,6 +1,7 @@