Commit b69c951f1c024172d5c725ff3443968decf63c7c

Authored by wesley88
1 parent 6e2a7a13

1

lvdao-miniapp/main.js
@@ -8,13 +8,13 @@ import uView from "uview-ui"; @@ -8,13 +8,13 @@ import uView from "uview-ui";
8 import DialogBox from './components/DialogBox/DialogBox'; 8 import DialogBox from './components/DialogBox/DialogBox';
9 // let hostall = window.location.href; 9 // let hostall = window.location.href;
10 // let c1 = hostall.split('cdwlMall')[0]; 10 // let c1 = hostall.split('cdwlMall')[0];
11 -let c1 = 'https://jy.scjysm.asia:18086/'  
12 -// let c1 = 'https://zhgw-uat.028wlkj.com/' 11 +// let c1 = 'https://jy.scjysm.asia:18086/'
  12 +let c1 = 'https://zhgw-uat.028wlkj.com/'
13 Vue.config.productionTip = false 13 Vue.config.productionTip = false
14 Vue.prototype.$http = http 14 Vue.prototype.$http = http
15 Vue.prototype.$imgUrl = (url) => { 15 Vue.prototype.$imgUrl = (url) => {
16 - return (c1 + "cdwlMall/questionnaire/file/static" + url);  
17 - // return (c1 + "cdwlMall/zsfwzxt/test/file/static" + url); 16 + // return (c1 + "cdwlMall/questionnaire/file/static" + url);
  17 + return (c1 + "cdwlMall/zsfwzxt/test/file/static" + url);
18 } 18 }
19 Vue.prototype.$img = c1+ 'cdwlMall' 19 Vue.prototype.$img = c1+ 'cdwlMall'
20 // Vue.prototype.$upload = "https://zhld.028wlkj.com:49008/cdwlMall/admin-server/miniio/upload" 20 // Vue.prototype.$upload = "https://zhld.028wlkj.com:49008/cdwlMall/admin-server/miniio/upload"
lvdao-miniapp/pages/my/my.vue
@@ -19,21 +19,14 @@ @@ -19,21 +19,14 @@
19 <view class="main"> 19 <view class="main">
20 <view class="user-info" > 20 <view class="user-info" >
21 <view class="portrait"> 21 <view class="portrait">
22 - <image :src="$imgUrl('/img/head.jpg')" v-if="Islogin"></image> 22 + <image :src="$imgUrl('/img/head.jpg')" v-if="!user.name" @click="gopath('/pages/login/login')"></image>
23 <image :src="user.avatar?user.avatar:$imgUrl('/img/head.jpg')" v-else></image> 23 <image :src="user.avatar?user.avatar:$imgUrl('/img/head.jpg')" v-else></image>
24 </view> 24 </view>
25 <view class="info"> 25 <view class="info">
26 <view class="nickname"> 26 <view class="nickname">
27 - <text style="width: 100%;" v-if="Islogin" @click="gopath('/pages/login/login')">请登录</text> 27 + <text style="width: 100%;" v-if="!user.name" @click="gopath('/pages/login/login')">请登录</text>
28 <text v-else>{{user.name}}</text> 28 <text v-else>{{user.name}}</text>
29 </view> 29 </view>
30 - <!-- <view class="rank">  
31 - <view class="rank-box">  
32 - <image :src="$imgUrl('/vip.png')" ></image>  
33 - <text v-if="Islogin"></text>  
34 - <text v-else >{{shopMsg.shopReturn.returnAdress}}有限公司</text>  
35 - </view>  
36 - </view> -->  
37 </view> 30 </view>
38 <view class="user-right"> 31 <view class="user-right">
39 <image :src="$imgUrl('/right1.png')"></image> 32 <image :src="$imgUrl('/right1.png')"></image>
lvdao-miniapp/pagesA/leaseAdd/leaseAdd.vue
@@ -9,10 +9,10 @@ @@ -9,10 +9,10 @@
9 <!-- <u-form-item label="手机号" prop="phone" borderBottom> 9 <!-- <u-form-item label="手机号" prop="phone" borderBottom>
10 <u-input v-model="model1.phone"></u-input> 10 <u-input v-model="model1.phone"></u-input>
11 </u-form-item> --> 11 </u-form-item> -->
12 - <u-form-item label="证件类型" prop="idCardType" borderBottom> 12 + <!-- <u-form-item label="证件类型" prop="idCardType" borderBottom>
13 <u-input v-model="model1.idCardType" type="select" @click="IdtypeShow = true" 13 <u-input v-model="model1.idCardType" type="select" @click="IdtypeShow = true"
14 placeholder='请选择类型' /> 14 placeholder='请选择类型' />
15 - </u-form-item> 15 + </u-form-item> -->
16 <u-form-item label="身份证号码" prop="idCardNumber" borderBottom> 16 <u-form-item label="身份证号码" prop="idCardNumber" borderBottom>
17 <u-input v-model="model1.idCardNumber"></u-input> 17 <u-input v-model="model1.idCardNumber"></u-input>
18 </u-form-item> 18 </u-form-item>
@@ -74,7 +74,7 @@ @@ -74,7 +74,7 @@
74 model1: { 74 model1: {
75 name: '', 75 name: '',
76 phone: '', 76 phone: '',
77 - idCardType: '', 77 + idCardType: '身份证',
78 idCardNumber: '', 78 idCardNumber: '',
79 idCardFrontImage: '', 79 idCardFrontImage: '',
80 idCardBackImage: '', 80 idCardBackImage: '',
lvdao-miniapp/utils/request.js
1 1
2 // let hostall = window.location.href; 2 // let hostall = window.location.href;
3 // let c1 = hostall.split('cdwlMall')[0]; 3 // let c1 = hostall.split('cdwlMall')[0];
4 -let c1 = 'https://jy.scjysm.asia:18086/'  
5 -// let c1 = 'https://zhgw-uat.028wlkj.com/' 4 +// let c1 = 'https://jy.scjysm.asia:18086/'
  5 +let c1 = 'https://zhgw-uat.028wlkj.com/'
6 //封装request请求 6 //封装request请求
7 const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { 7 const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => {
8 //判断header提交数据类型 8 //判断header提交数据类型