From a225314c158fcdd9daec8f265349fbd244000fbd Mon Sep 17 00:00:00 2001 From: zenghaibo <1009410596@qq.com> Date: Fri, 29 Sep 2023 10:08:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/indexEntry/consult/pubConsult/pubConsult.vue | 25 +++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pages/indexEntry/consult/pubConsult/pubConsult.vue b/pages/indexEntry/consult/pubConsult/pubConsult.vue index b0758fd..fdb6267 100644 --- a/pages/indexEntry/consult/pubConsult/pubConsult.vue +++ b/pages/indexEntry/consult/pubConsult/pubConsult.vue @@ -31,14 +31,14 @@ - + 联系电话 {{ this.vuex_userInfo.mobile }} - + 提交 @@ -92,8 +92,7 @@ }, uploadImgApi(filePath) { console.log(filePath) - // let token = 'Bearer '+ this.$store.state.user.vuex_loginInfo.accessToken - let token = 'Bearer 15409b4b67574665bbc4a3e16dd3debb' + let token = 'Bearer '+ this.$store.state.user.vuex_loginInfo.accessToken let _this = this let name = new Date() * 1 // 上传图片到服务器 @@ -101,7 +100,7 @@ url: _url + 'app-api/infra/file/upload',//接口 filePath: filePath,//要上传的图片的本地路径 name: 'file', - + formData: { path: 'complain/'+name, type: 1, @@ -137,7 +136,7 @@ font-weight: 600; line-height: 96rpx; } - + .textareaBg { min-height: 364rpx; background: #F8F8F8; @@ -154,10 +153,10 @@ height: 24rpx; margin: 0 14rpx 0 24rpx; } - + .inputBox { flex: 1; - + } /deep/ .inputBox .u-textarea { padding: 0 !important; @@ -166,7 +165,7 @@ font-size: 24rpx } } - + .phoneBox { display: flex; padding: 0 10rpx 20rpx 20rpx; @@ -186,11 +185,11 @@ right: -14rpx; top: -20rpx; z-index: 9; - + } } } - + .phone { border: 2rpx dashed #CDCED0; width: 160rpx; @@ -206,7 +205,7 @@ width: 60rpx; height: 60rpx; } - + .lab { font-size: 20rpx; color: #686B73; @@ -245,4 +244,4 @@ } } } - \ No newline at end of file + From b42de1a8688a0dd5f545f955ec90b5b6480970e1 Mon Sep 17 00:00:00 2001 From: zenghaibo <1009410596@qq.com> Date: Fri, 29 Sep 2023 10:38:23 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=BF=E6=8D=A2oss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/app.scss | 16 ++++++++-------- config/site.config.js | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/common/css/app.scss b/common/css/app.scss index 3ddc0f4..651c53d 100644 --- a/common/css/app.scss +++ b/common/css/app.scss @@ -42,7 +42,7 @@ view { .pageBgImg { font-size: 28rpx;; color: #333; - background: url('http://jxtemp.oss-cn-hangzhou.aliyuncs.com/defaultImages/app/bigImg/topbg.png') #F6F6F6 no-repeat; + background: url('https://jiangxijiakao-1.oss-cn-hangzhou.aliyuncs.com/defaultImages/app/bigImg/topbg.png') #F6F6F6 no-repeat; background-size: 100% 362rpx; min-height: 100vh; } @@ -77,7 +77,7 @@ image { .my .u-input { height: 100%; } - + .h1 { font-size: 32rpx; color: #333; @@ -96,7 +96,7 @@ image { left: 0; } } - + .btnBg { height: 72rpx; background: #1989FA; @@ -106,7 +106,7 @@ image { font-size: 28rpx; color: #fff; } - + .btnBorder { height: 72rpx; background: #DFEAF5; @@ -117,13 +117,13 @@ image { color:$themC; border: 2rpx solid #1989FA; } - + /* 通用 */ ::-webkit-input-placeholder { color:#ADADAD; } ::-moz-placeholder { color:#ADADAD; } /* firefox 19+ */ :-ms-input-placeholder { color:#ADADAD; } /* ie */ input:-moz-placeholder { color:#ADADAD; } - + input::-webkit-input-placeholder { color: #CDCDCD !important; } @@ -133,12 +133,12 @@ image { input::-ms-input-placeholder { color: #CDCDCD !important; } - + // /* webkit专用 */ .input1::-webkit-input-placeholder { color:#00f; } // #input2::-webkit-input-placeholder { color:#090; background:lightgreen; text-transform:uppercase; } // #input3::-webkit-input-placeholder { font-style:italic; text-decoration:overline; color:#999; } - + // /* mozilla专用 */ // #input1::-moz-placeholder { color:#00f; } // #input2::-moz-placeholder { color:#090; background:lightgreen; text-transform:uppercase; } diff --git a/config/site.config.js b/config/site.config.js index bdce735..54c03af 100644 --- a/config/site.config.js +++ b/config/site.config.js @@ -2,8 +2,8 @@ const VUE_APP_PLATFORM = process.env.VUE_APP_PLATFORM; // localIp = false module.exports = { H5_API: VUE_APP_PLATFORM === 'h5' ? '/api' : '',//h5代理 - WX_API: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.36:48080/',//非代理地址 + WX_API: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.26:48080/',//非代理地址 TEMP_HOST: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.26:48080/', httpPrefix: 'app-api/', - imgUrl: 'http://jxtemp.oss-cn-hangzhou.aliyuncs.com/defaultImages/app/bigImg/' + imgUrl: 'https://jiangxijiakao-1.oss-cn-hangzhou.aliyuncs.com/defaultImages/app/bigImg/' };