Browse Source

接口对接

master
unknown 12 months 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 { .pageBgImg {
font-size: 28rpx;; font-size: 28rpx;;
color: #333; 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; background-size: 100% 362rpx;
min-height: 100vh; min-height: 100vh;
} }
@ -77,7 +77,7 @@ image {
.my .u-input { .my .u-input {
height: 100%; height: 100%;
} }
.h1 { .h1 {
font-size: 32rpx; font-size: 32rpx;
color: #333; color: #333;
@ -96,7 +96,7 @@ image {
left: 0; left: 0;
} }
} }
.btnBg { .btnBg {
height: 72rpx; height: 72rpx;
background: #1989FA; background: #1989FA;
@ -106,7 +106,7 @@ image {
font-size: 28rpx; font-size: 28rpx;
color: #fff; color: #fff;
} }
.btnBorder { .btnBorder {
height: 72rpx; height: 72rpx;
background: #DFEAF5; background: #DFEAF5;
@ -117,13 +117,13 @@ image {
color:$themC; color:$themC;
border: 2rpx solid #1989FA; border: 2rpx solid #1989FA;
} }
/* 通用 */ /* 通用 */
::-webkit-input-placeholder { color:#ADADAD; } ::-webkit-input-placeholder { color:#ADADAD; }
::-moz-placeholder { color:#ADADAD; } /* firefox 19+ */ ::-moz-placeholder { color:#ADADAD; } /* firefox 19+ */
:-ms-input-placeholder { color:#ADADAD; } /* ie */ :-ms-input-placeholder { color:#ADADAD; } /* ie */
input:-moz-placeholder { color:#ADADAD; } input:-moz-placeholder { color:#ADADAD; }
input::-webkit-input-placeholder { input::-webkit-input-placeholder {
color: #CDCDCD !important; color: #CDCDCD !important;
} }
@ -133,12 +133,12 @@ image {
input::-ms-input-placeholder { input::-ms-input-placeholder {
color: #CDCDCD !important; color: #CDCDCD !important;
} }
// /* webkit专用 */ // /* webkit专用 */
.input1::-webkit-input-placeholder { color:#00f; } .input1::-webkit-input-placeholder { color:#00f; }
// #input2::-webkit-input-placeholder { color:#090; background:lightgreen; text-transform:uppercase; } // #input2::-webkit-input-placeholder { color:#090; background:lightgreen; text-transform:uppercase; }
// #input3::-webkit-input-placeholder { font-style:italic; text-decoration:overline; color:#999; } // #input3::-webkit-input-placeholder { font-style:italic; text-decoration:overline; color:#999; }
// /* mozilla专用 */ // /* mozilla专用 */
// #input1::-moz-placeholder { color:#00f; } // #input1::-moz-placeholder { color:#00f; }
// #input2::-moz-placeholder { color:#090; background:lightgreen; text-transform:uppercase; } // #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 // localIp = false
module.exports = { module.exports = {
H5_API: VUE_APP_PLATFORM === 'h5' ? '/api' : '',//h5代理 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/', TEMP_HOST: VUE_APP_PLATFORM === 'h5' ? '' : 'http://192.168.1.26:48080/',
httpPrefix: 'app-api/', 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>
</view> </view>
<view class="card" style="padding-bottom: 0; margin-top: 24rpx;"> <view class="card" style="padding-bottom: 0; margin-top: 24rpx;">
<view class="phone_row"> <view class="phone_row">
<view class="label">联系电话</view> <view class="label">联系电话</view>
@ -108,7 +107,7 @@
url: _url + 'app-api/infra/file/upload',// url: _url + 'app-api/infra/file/upload',//
filePath: filePath,// filePath: filePath,//
name: 'file', name: 'file',
formData: { formData: {
path: 'complain/'+ uni.$u.date(name, 'yyyy-mm-dd')+timer + '-'+ imgName, path: 'complain/'+ uni.$u.date(name, 'yyyy-mm-dd')+timer + '-'+ imgName,
type: 1, type: 1,
@ -144,7 +143,7 @@
font-weight: 600; font-weight: 600;
line-height: 96rpx; line-height: 96rpx;
} }
.textareaBg { .textareaBg {
min-height: 364rpx; min-height: 364rpx;
background: #F8F8F8; background: #F8F8F8;
@ -161,10 +160,10 @@
height: 24rpx; height: 24rpx;
margin: 0 14rpx 0 24rpx; margin: 0 14rpx 0 24rpx;
} }
.inputBox { .inputBox {
flex: 1; flex: 1;
} }
/deep/ .inputBox .u-textarea { /deep/ .inputBox .u-textarea {
padding: 0 !important; padding: 0 !important;
@ -173,7 +172,7 @@
font-size: 24rpx font-size: 24rpx
} }
} }
.phoneBox { .phoneBox {
display: flex; display: flex;
padding: 0 10rpx 20rpx 20rpx; padding: 0 10rpx 20rpx 20rpx;
@ -193,11 +192,11 @@
right: -14rpx; right: -14rpx;
top: -20rpx; top: -20rpx;
z-index: 9; z-index: 9;
} }
} }
} }
.phone { .phone {
border: 2rpx dashed #CDCED0; border: 2rpx dashed #CDCED0;
width: 160rpx; width: 160rpx;
@ -213,7 +212,7 @@
width: 60rpx; width: 60rpx;
height: 60rpx; height: 60rpx;
} }
.lab { .lab {
font-size: 20rpx; font-size: 20rpx;
color: #686B73; color: #686B73;
@ -252,4 +251,4 @@
} }
} }
} }
</style>
</style>
Loading…
Cancel
Save