优化代码

This commit is contained in:
java110 2021-08-23 12:03:38 +08:00
parent 1e328e1a04
commit 328cfa2fbc
3 changed files with 18 additions and 18 deletions

View File

@ -12,7 +12,7 @@
// 服务器域名 公众号时,配置为 / 就可以
const baseUrl = '/';
// #endif
const commonBaseUrl = 'http://qh.dianlixiaoqu.homecommunity.cn/';
const commonBaseUrl = 'http://demo.homecommunity.cn/';
//商城的url
const mallUrl = 'http://mallapp.homecommunity.cn/';
@ -24,13 +24,13 @@ const mallUrlRefresh = mallUrl + "#/pages/mallTokenRefresh/mallTokenRefresh?mall
// #ifndef H5
//服务器域名 小程序 或者 app 时 后端地址
const baseUrl = 'http://qh.dianlixiaoqu.homecommunity.cn/';
const baseUrl = 'http://demo.homecommunity.cn/';
// #endif
//默认的小区ID和名称用户还没有登录时显示的小区信息
const DEFAULT_COMMUNITY_ID = "2021071533770010"; //HC测试小区id 用于没有登录时展示相关信息
const DEFAULT_COMMUNITY_NAME = "海湖新区电力小区";
const DEFAULT_COMMUNITY_ID = "2021080494780158"; //HC测试小区id 用于没有登录时展示相关信息
const DEFAULT_COMMUNITY_NAME = "HC演示小区";
// APP 或者 公众号 appId

View File

@ -604,18 +604,18 @@
"iconPath": "static/images/home.png",
"selectedIconPath": "static/images/home-selected.png"
},
// {
// "pagePath": "pages/homemaking/homemaking",
// "text": "家政",
// "iconPath": "static/images/rent.png",
// "selectedIconPath": "static/images/rent-selected.png"
// },
// {
// "pagePath": "pages/mall/mall",
// "text": "商圈",
// "iconPath": "static/images/market.png",
// "selectedIconPath": "static/images/market-selected.png"
// },
{
"pagePath": "pages/homemaking/homemaking",
"text": "家政",
"iconPath": "static/images/rent.png",
"selectedIconPath": "static/images/rent-selected.png"
},
{
"pagePath": "pages/mall/mall",
"text": "商圈",
"iconPath": "static/images/market.png",
"selectedIconPath": "static/images/market-selected.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",

View File

@ -54,8 +54,8 @@
data() {
return {
logoUrl: '',
username: '',
password: '',
username: 'test001',
password: 'wuxw2015',
appId: "",
code: "",
loginByPhone: false,