This commit is contained in:
pengxiaolong
2025-05-13 22:16:09 +08:00
parent c006a8e63d
commit 5f8ff971d4
34 changed files with 411 additions and 309 deletions

View File

@@ -10,9 +10,23 @@ const _sfc_main = {
return {};
},
onLoad() {
this.requestSomething();
},
methods: {
// 方法定义
requestSomething() {
common_vendor.wx$1.request({
url: "http://192.168.0.218:8086/user/login",
// 请求的 URL
method: "POST",
// 请求方式
success: (res) => {
common_vendor.index.__f__("log", "at pages/Home/Home.vue:37", "请求成功", res.data);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/Home/Home.vue:40", "请求失败", err);
}
});
}
},
components: {
topNavigation,

View File

@@ -20,18 +20,17 @@
height: 114.5rpx;
}
.Advertisement.data-v-7ffebbf4 {
position: fixed;
top: 300rpx;
left: 0;
width: 100%;
height: 100rpx;
z-index: 100;
position: fixed;
top: 300rpx;
left: 0;
width: 100%;
height: 100rpx;
z-index: 100;
}
.contentList.data-v-7ffebbf4 {
position: fixed;
top: 300rpx;
left: 0;
width: 100%;
height: 1300rpx;
position: fixed;
top: 300rpx;
left: 0;
width: 100%;
height: 1300rpx;
}