Browse Source

替换oss

master
zenghaibo 1 year ago
parent
commit
b42de1a868
  1. 16
      common/css/app.scss
  2. 4
      config/site.config.js

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/'
}; };
Loading…
Cancel
Save