优化代码

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) { _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);

View File

@ -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
} }

View File

@ -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": "我的",

View File

@ -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,