mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 13:26:40 +08:00
优化代码
This commit is contained in:
parent
cbf2326741
commit
ddcb418a87
@ -157,11 +157,8 @@ export function loadActivites(dataObj) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_activites.forEach(function(_item) {
|
_activites.forEach(function(_item) {
|
||||||
_item.src = url.filePath + "?fileId=" + _item.headerImg +
|
_item.src = _item.headerImg;
|
||||||
"&communityId=" + dataObj.communityId +
|
|
||||||
"&time=" + new Date();
|
|
||||||
_item.startTime = dateTimeStringToDateString(_item.startTime);
|
_item.startTime = dateTimeStringToDateString(_item.startTime);
|
||||||
|
|
||||||
_acts.push(_item);
|
_acts.push(_item);
|
||||||
});
|
});
|
||||||
resolve(_acts);
|
resolve(_acts);
|
||||||
|
|||||||
@ -80,12 +80,12 @@
|
|||||||
"disableHostCheck" : true,
|
"disableHostCheck" : true,
|
||||||
"proxy" : {
|
"proxy" : {
|
||||||
"/app" : {
|
"/app" : {
|
||||||
"target" : "http://127.0.0.1:8008/", //目标接口域名
|
"target" : "http://demo.homecommunity.cn/", //目标接口域名
|
||||||
"changeOrigin" : true, //是否跨域
|
"changeOrigin" : true, //是否跨域
|
||||||
"secure" : true // 设置支持https协议的代理
|
"secure" : true // 设置支持https协议的代理
|
||||||
},
|
},
|
||||||
"/callComponent" : {
|
"/callComponent" : {
|
||||||
"target" : "http://127.0.0.1:8008/", //目标接口域名
|
"target" : "http://demo.homecommunity.cn/", //目标接口域名
|
||||||
"changeOrigin" : true, //是否跨域
|
"changeOrigin" : true, //是否跨域
|
||||||
"secure" : true // 设置支持https协议的代理
|
"secure" : true // 设置支持https协议的代理
|
||||||
}
|
}
|
||||||
|
|||||||
12
pages.json
12
pages.json
@ -1117,12 +1117,12 @@
|
|||||||
"iconPath": "static/images/rent.png",
|
"iconPath": "static/images/rent.png",
|
||||||
"selectedIconPath": "static/images/rent-selected.png"
|
"selectedIconPath": "static/images/rent-selected.png"
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
"pagePath": "pages/mall/mall",
|
// "pagePath": "pages/mall/mall",
|
||||||
"text": "商圈",
|
// "text": "商圈",
|
||||||
"iconPath": "static/images/market.png",
|
// "iconPath": "static/images/market.png",
|
||||||
"selectedIconPath": "static/images/market-selected.png"
|
// "selectedIconPath": "static/images/market-selected.png"
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
"pagePath": "pages/my/my",
|
"pagePath": "pages/my/my",
|
||||||
"text": "我的",
|
"text": "我的",
|
||||||
|
|||||||
@ -46,18 +46,18 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
var _this;
|
var _this;
|
||||||
import wInput from '../../components/watch-input.vue' //input
|
import wInput from '@/components/watch-input.vue' //input
|
||||||
import wButton from '../../components/watch-button.vue' //button
|
import wButton from '@/components/watch-button.vue' //button
|
||||||
import {
|
import {
|
||||||
sendSmsCode,
|
sendSmsCode,
|
||||||
ownerLogin,
|
ownerLogin,
|
||||||
} from '../../api/user/userApi.js'
|
} from '@/api/user/userApi.js'
|
||||||
import context from '../../lib/java110/Java110Context.js';
|
import context from '@/lib/java110/Java110Context.js';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
||||||
getLoginCode
|
getLoginCode
|
||||||
} from '../../lib/java110/page/Page.js';
|
} from '@/lib/java110/page/Page.js';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
saveOwnerStorage,
|
saveOwnerStorage,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user