Commit 49206db5bdbb0f00910b096349237bd83794da83
1 parent
55502c5b
最新
Showing
3 changed files
with
12 additions
and
6 deletions
admin-web-master/src/utils/request.js
| ... | ... | @@ -17,12 +17,12 @@ let baseURL = '' |
| 17 | 17 | if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { |
| 18 | 18 | |
| 19 | 19 | // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; |
| 20 | - // baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'; | |
| 20 | + baseURL = 'https://zhgw-uat.028wlkj.com/cdwlMall/meserver/admin-server'; | |
| 21 | 21 | |
| 22 | 22 | // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; |
| 23 | 23 | |
| 24 | 24 | |
| 25 | - baseURL = 'http://128.10.249.43:9003'; | |
| 25 | + // baseURL = 'http://128.10.249.43:9003'; | |
| 26 | 26 | |
| 27 | 27 | |
| 28 | 28 | } else { | ... | ... |
lvdao-miniapp/pages/details/details.vue
| ... | ... | @@ -20,8 +20,8 @@ |
| 20 | 20 | </view> |
| 21 | 21 | <!-- <view class="info-text">{{tableData.shopDescription}}</view> --> |
| 22 | 22 | <view class="info-racord" style="margin: 20rpx 0;" v-if="moban.length !=0"> |
| 23 | - <view class="info-price" v-if="tableData.actualUsableArea"><span>{{moban[0].rentalPrice*tableData.actualUsableArea || ''}}</span>元/{{moban[0].leaseTerm || ''}}</view> | |
| 24 | - <view class="info-price" v-else-if="moban[0].rentalPrice"><span>{{moban[0].rentalPrice*tableData.actualArea || ''}}</span>元/{{moban[0].leaseTerm || ''}}</view> | |
| 23 | + <view class="info-price" v-if="tableData.actualUsableArea"><span>{{math(moban[0].rentalPrice*tableData.actualUsableArea) || ''}}</span>元/{{moban[0].leaseTerm || ''}}</view> | |
| 24 | + <view class="info-price" v-else-if="moban[0].rentalPrice"><span>{{math(moban[0].rentalPrice*tableData.actualArea) || ''}}</span>元/{{moban[0].leaseTerm || ''}}</view> | |
| 25 | 25 | <view class="info-price" v-else>自营</view> |
| 26 | 26 | </view> |
| 27 | 27 | <view class="" v-if="moban.length !=0" @click="moreZu"> |
| ... | ... | @@ -199,7 +199,7 @@ |
| 199 | 199 | <view class="position-info" @click.stop="gomapApp(latitude,longitude)"> |
| 200 | 200 | <u-image :showLoading="true" :src="$imgUrl('/location-icon.png')" width="20rpx" |
| 201 | 201 | height="20rpx"></u-image> |
| 202 | - <view @click.stop="gomapApp(latitude,longitude)"> | |
| 202 | + <view> | |
| 203 | 203 | <text v-if="tableData.shopName">{{tableData.detailedLocation}}</text> |
| 204 | 204 | <u-parse :html="tableData.description" v-else></u-parse> |
| 205 | 205 | </view> |
| ... | ... | @@ -351,6 +351,9 @@ |
| 351 | 351 | |
| 352 | 352 | }, |
| 353 | 353 | methods: { |
| 354 | + math(val){ | |
| 355 | + return val.toFixed(4); | |
| 356 | + }, | |
| 354 | 357 | openimg1(urls,index) { |
| 355 | 358 | let list = urls.map(item=>{ |
| 356 | 359 | return this.imgUrl + item | ... | ... |
lvdao-miniapp/pagesA/moreZu/moreZu.vue
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | <view class="zuTitle">{{item.policyName}}</view> |
| 5 | 5 | <view class=""> |
| 6 | 6 | <view v-if="item.rentalPrice" style="padding: 10rpx; color: #3f9b6a;font-size: 16px;padding: 15px 0;"> |
| 7 | - {{item.rentalPrice*moprice}}元/{{item.leaseTerm}} | |
| 7 | + {{math(item.rentalPrice*moprice)}}元/{{item.leaseTerm}} | |
| 8 | 8 | </view> |
| 9 | 9 | <view style="padding: 10rpx; color: #3f9b6a;font-size: 16px;padding: 15px 0;" v-else>自营</view> |
| 10 | 10 | <view class="youTitle"> |
| ... | ... | @@ -67,6 +67,9 @@ |
| 67 | 67 | |
| 68 | 68 | }, |
| 69 | 69 | methods: { |
| 70 | + math(val){ | |
| 71 | + return val.toFixed(4); | |
| 72 | + }, | |
| 70 | 73 | getAll(){ |
| 71 | 74 | this.$http.sendRequest('/cereResourceStrategy/queryByResources', 'POST', this.paesize,1).then(res => { |
| 72 | 75 | this.moban = res.data.data | ... | ... |