Commit c429154bed14f39c8c7b4ba1cc3108c18b9f4bfd
'最新'
Showing
4 changed files
with
11 additions
and
18 deletions
lvdao-miniapp/main.js
| ... | ... | @@ -8,13 +8,13 @@ import uView from "uview-ui"; |
| 8 | 8 | import DialogBox from './components/DialogBox/DialogBox'; |
| 9 | 9 | // let hostall = window.location.href; |
| 10 | 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 | 13 | Vue.config.productionTip = false |
| 14 | 14 | Vue.prototype.$http = http |
| 15 | 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 | 19 | Vue.prototype.$img = c1+ 'cdwlMall' |
| 20 | 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 | 19 | <view class="main"> |
| 20 | 20 | <view class="user-info" > |
| 21 | 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 | 23 | <image :src="user.avatar?user.avatar:$imgUrl('/img/head.jpg')" v-else></image> |
| 24 | 24 | </view> |
| 25 | 25 | <view class="info"> |
| 26 | 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 | 28 | <text v-else>{{user.name}}</text> |
| 29 | 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 | 30 | </view> |
| 38 | 31 | <view class="user-right"> |
| 39 | 32 | <image :src="$imgUrl('/right1.png')"></image> | ... | ... |
lvdao-miniapp/pagesA/leaseAdd/leaseAdd.vue
| ... | ... | @@ -9,10 +9,10 @@ |
| 9 | 9 | <!-- <u-form-item label="手机号" prop="phone" borderBottom> |
| 10 | 10 | <u-input v-model="model1.phone"></u-input> |
| 11 | 11 | </u-form-item> --> |
| 12 | - <u-form-item label="证件类型" prop="idCardType" borderBottom> | |
| 12 | + <!-- <u-form-item label="证件类型" prop="idCardType" borderBottom> | |
| 13 | 13 | <u-input v-model="model1.idCardType" type="select" @click="IdtypeShow = true" |
| 14 | 14 | placeholder='请选择类型' /> |
| 15 | - </u-form-item> | |
| 15 | + </u-form-item> --> | |
| 16 | 16 | <u-form-item label="身份证号码" prop="idCardNumber" borderBottom> |
| 17 | 17 | <u-input v-model="model1.idCardNumber"></u-input> |
| 18 | 18 | </u-form-item> |
| ... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 | model1: { |
| 75 | 75 | name: '', |
| 76 | 76 | phone: '', |
| 77 | - idCardType: '', | |
| 77 | + idCardType: '身份证', | |
| 78 | 78 | idCardNumber: '', |
| 79 | 79 | idCardFrontImage: '', |
| 80 | 80 | idCardBackImage: '', | ... | ... |
lvdao-miniapp/utils/request.js
| 1 | 1 | |
| 2 | 2 | // let hostall = window.location.href; |
| 3 | 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 | 6 | //封装request请求 |
| 7 | 7 | const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { |
| 8 | 8 | //判断header提交数据类型 | ... | ... |