mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-11 06:07:24 +08:00
优化代码
This commit is contained in:
parent
ee84e4bbd1
commit
21f0565ff9
@ -15,10 +15,10 @@ const baseUrl = '/';
|
|||||||
|
|
||||||
// #ifndef H5
|
// #ifndef H5
|
||||||
//服务器域名 小程序 或者 app 时 后端地址
|
//服务器域名 小程序 或者 app 时 后端地址
|
||||||
const baseUrl = 'https://wuye.huilinwan.cn/';
|
const baseUrl = 'http://demo.homecommunity.cn/';
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
let commonBaseUrl = 'https://wuye.huilinwan.cn/';
|
let commonBaseUrl = 'http://demo.homecommunity.cn/';
|
||||||
|
|
||||||
//商城的url
|
//商城的url
|
||||||
let mallUrl = 'https://mallapp.huilinwan.cn/';
|
let mallUrl = 'https://mallapp.huilinwan.cn/';
|
||||||
|
|||||||
@ -80,12 +80,12 @@
|
|||||||
"disableHostCheck" : true,
|
"disableHostCheck" : true,
|
||||||
"proxy" : {
|
"proxy" : {
|
||||||
"/app" : {
|
"/app" : {
|
||||||
"target" : "http://demo.homecommunity.cn/", //目标接口域名
|
"target" : "http://127.0.0.1:8008/", //目标接口域名
|
||||||
"changeOrigin" : true, //是否跨域
|
"changeOrigin" : true, //是否跨域
|
||||||
"secure" : true // 设置支持https协议的代理
|
"secure" : true // 设置支持https协议的代理
|
||||||
},
|
},
|
||||||
"/callComponent" : {
|
"/callComponent" : {
|
||||||
"target" : "http://demo.homecommunity.cn/", //目标接口域名
|
"target" : "http://127.0.0.1:8008/", //目标接口域名
|
||||||
"changeOrigin" : true, //是否跨域
|
"changeOrigin" : true, //是否跨域
|
||||||
"secure" : true // 设置支持https协议的代理
|
"secure" : true // 设置支持https协议的代理
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
</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="_cancleOpenDoor()">取消</view>
|
<view class="action margin-0 flex-sub solid-left" @tap="_cancleOpenDoor()">取消</view>
|
||||||
<view class="action margin-0 flex-sub solid-left" v-if="curMachine.monitorId" @tap="_viewDoorVideo()">视频</view>
|
<view class="action margin-0 flex-sub solid-left" v-if="curMachine.monitorId && curMachine.monitorId != '-1'" @tap="_viewDoorVideo()">视频</view>
|
||||||
<view class="action margin-0 flex-sub text-green solid-left" @tap="_doOpenDoor()">确认开门</view>
|
<view class="action margin-0 flex-sub text-green solid-left" @tap="_doOpenDoor()">确认开门</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user