Browse Source

接口对接

master
unknown 1 year ago
parent
commit
e7548ed79e
  1. 16
      common/css/app.scss
  2. 4
      config/site.config.js
  3. 19
      pages/indexEntry/consult/pubConsult/pubConsult.vue

16
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; }

4
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/'
};

19
pages/indexEntry/consult/pubConsult/pubConsult.vue

@ -31,7 +31,6 @@
</view>
</view>
</view>
<view class="card" style="padding-bottom: 0; margin-top: 24rpx;">
<view class="phone_row">
<view class="label">联系电话</view>
@ -108,7 +107,7 @@
url: _url + 'app-api/infra/file/upload',//
filePath: filePath,//
name: 'file',
formData: {
path: 'complain/'+ uni.$u.date(name, 'yyyy-mm-dd')+timer + '-'+ imgName,
type: 1,
@ -144,7 +143,7 @@
font-weight: 600;
line-height: 96rpx;
}
.textareaBg {
min-height: 364rpx;
background: #F8F8F8;
@ -161,10 +160,10 @@
height: 24rpx;
margin: 0 14rpx 0 24rpx;
}
.inputBox {
flex: 1;
}
/deep/ .inputBox .u-textarea {
padding: 0 !important;
@ -173,7 +172,7 @@
font-size: 24rpx
}
}
.phoneBox {
display: flex;
padding: 0 10rpx 20rpx 20rpx;
@ -193,11 +192,11 @@
right: -14rpx;
top: -20rpx;
z-index: 9;
}
}
}
.phone {
border: 2rpx dashed #CDCED0;
width: 160rpx;
@ -213,7 +212,7 @@
width: 60rpx;
height: 60rpx;
}
.lab {
font-size: 20rpx;
color: #686B73;
@ -252,4 +251,4 @@
}
}
}
</style>
</style>
Loading…
Cancel
Save