优化代码

This commit is contained in:
wuxw 2025-09-23 11:23:01 +08:00
parent cbf2326741
commit ddcb418a87
4 changed files with 14 additions and 17 deletions

View File

@ -157,11 +157,8 @@ export function loadActivites(dataObj) {
}
_activites.forEach(function(_item) {
_item.src = url.filePath + "?fileId=" + _item.headerImg +
"&communityId=" + dataObj.communityId +
"&time=" + new Date();
_item.src = _item.headerImg;
_item.startTime = dateTimeStringToDateString(_item.startTime);
_acts.push(_item);
});
resolve(_acts);

View File

@ -80,12 +80,12 @@
"disableHostCheck" : true,
"proxy" : {
"/app" : {
"target" : "http://127.0.0.1:8008/", //
"target" : "http://demo.homecommunity.cn/", //
"changeOrigin" : true, //
"secure" : true // https
},
"/callComponent" : {
"target" : "http://127.0.0.1:8008/", //
"target" : "http://demo.homecommunity.cn/", //
"changeOrigin" : true, //
"secure" : true // https
}

View File

@ -1117,12 +1117,12 @@
"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/mall/mall",
// "text": "商圈",
// "iconPath": "static/images/market.png",
// "selectedIconPath": "static/images/market-selected.png"
// },
{
"pagePath": "pages/my/my",
"text": "我的",

View File

@ -46,18 +46,18 @@
<script>
var _this;
import wInput from '../../components/watch-input.vue' //input
import wButton from '../../components/watch-button.vue' //button
import wInput from '@/components/watch-input.vue' //input
import wButton from '@/components/watch-button.vue' //button
import {
sendSmsCode,
ownerLogin,
} from '../../api/user/userApi.js'
import context from '../../lib/java110/Java110Context.js';
} from '@/api/user/userApi.js'
import context from '@/lib/java110/Java110Context.js';
import {
getLoginCode
} from '../../lib/java110/page/Page.js';
} from '@/lib/java110/page/Page.js';
import {
saveOwnerStorage,