优化代码

This commit is contained in:
Your Name 2023-01-10 01:48:13 +08:00
parent 55d9e0dbb6
commit 879cbdb67b
2 changed files with 11 additions and 3 deletions

View File

@ -38,13 +38,16 @@
<view class="cu-modal" :class="callPropertyModal==true?'show':''"> <view class="cu-modal" :class="callPropertyModal==true?'show':''">
<view class="cu-dialog"> <view class="cu-dialog">
<view class="cu-bar bg-white justify-end"> <view class="cu-bar bg-white justify-end">
<view class="content">拨打电话</view> <view class="content">拨打电话
<text v-if="property.communityQrCode">/ 加微信好友</text>
</view>
<view class="action" @tap="_cancleCall()"> <view class="action" @tap="_cancleCall()">
<text class="cuIcon-close text-red"></text> <text class="cuIcon-close text-red"></text>
</view> </view>
</view> </view>
<view class="padding-xl"> <view class="padding-xl">
您确认拨打,{{property.communityName}}物业客服电话<br />{{property.sCommunityTel}} <view v-if="property.communityQrCode"><image class="call-qrcode" :src="property.communityQrCode"></image></view>
<view>您确认拨打,{{property.communityName}}物业客服电话<br />{{property.sCommunityTel}}</view>
</view> </view>
<view class="cu-bar bg-white justify-end"> <view class="cu-bar bg-white justify-end">
<view class="action margin-0 flex-sub solid-left" @tap="_cancleCall()">取消</view> <view class="action margin-0 flex-sub solid-left" @tap="_cancleCall()">取消</view>
@ -311,4 +314,9 @@
margin-right: 0; margin-right: 0;
} }
} }
.call-qrcode{
width: 480upx;
height: 480upx;
}
</style> </style>

View File

@ -15,7 +15,7 @@ const baseUrl = '/';
// #ifndef H5 // #ifndef H5
//服务器域名 小程序 或者 app 时 后端地址 //服务器域名 小程序 或者 app 时 后端地址
const baseUrl = 'http://192.168.100.108:8008/'; const baseUrl = 'http://192.168.100.108:8088/';
// #endif // #endif
let commonBaseUrl = 'http://demo.homecommunity.cn/'; let commonBaseUrl = 'http://demo.homecommunity.cn/';