api
This commit is contained in:
18
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
18
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
@@ -12,18 +12,9 @@ const _sfc_main = {
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
// requestSomething() {
|
||||
// wx.request({
|
||||
// url: "http://192.168.0.218:8086/user/login", // 请求的 URL
|
||||
// method: "POST", // 请求方式
|
||||
// success: (res) => {
|
||||
// uni.__f__('log','at pages/Home/Home.vue:37',"请求成功", res.data); // 处理成功的响应
|
||||
// },
|
||||
// fail: (err) => {
|
||||
// uni.__f__('error','at pages/Home/Home.vue:40',"请求失败", err); // 处理失败的响应
|
||||
// },
|
||||
// });
|
||||
// },
|
||||
goAdvertisement() {
|
||||
common_vendor.index.navigateTo({ url: "/pages/login/login" });
|
||||
}
|
||||
},
|
||||
components: {
|
||||
topNavigation,
|
||||
@@ -46,7 +37,8 @@ if (!Math) {
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0$1
|
||||
a: common_assets._imports_0$1,
|
||||
b: common_vendor.o$1((...args) => $options.goAdvertisement && $options.goAdvertisement(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7ffebbf4"]]);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<view class="page data-v-7ffebbf4"><image src="{{a}}" class="HomeBackground data-v-7ffebbf4"></image></view><view class="top-navigation-container data-v-7ffebbf4"><top-navigation class="data-v-7ffebbf4" u-i="7ffebbf4-0" bind:__l="__l"></top-navigation></view><view class="Advertisement data-v-7ffebbf4"><advertisement class="data-v-7ffebbf4" u-i="7ffebbf4-1" bind:__l="__l"></advertisement></view><view class="contentList data-v-7ffebbf4"><content-list class="data-v-7ffebbf4" u-i="7ffebbf4-2" bind:__l="__l"></content-list></view><view class="tabBar data-v-7ffebbf4"><tab-bar class="data-v-7ffebbf4" u-i="7ffebbf4-3" bind:__l="__l"></tab-bar></view>
|
||||
<view class="page data-v-7ffebbf4"><image src="{{a}}" class="HomeBackground data-v-7ffebbf4"></image></view><view class="top-navigation-container data-v-7ffebbf4"><top-navigation class="data-v-7ffebbf4" u-i="7ffebbf4-0" bind:__l="__l"></top-navigation></view><view class="Advertisement data-v-7ffebbf4" bindtap="{{b}}"><advertisement class="data-v-7ffebbf4" u-i="7ffebbf4-1" bind:__l="__l"></advertisement></view><view class="contentList data-v-7ffebbf4"><content-list class="data-v-7ffebbf4" u-i="7ffebbf4-2" bind:__l="__l"></content-list></view><view class="tabBar data-v-7ffebbf4"><tab-bar class="data-v-7ffebbf4" u-i="7ffebbf4-3" bind:__l="__l"></tab-bar></view>
|
||||
@@ -29,7 +29,7 @@
|
||||
}
|
||||
.contentList.data-v-7ffebbf4 {
|
||||
position: fixed;
|
||||
top: 300rpx;
|
||||
top: 400rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 1300rpx;
|
||||
|
||||
Reference in New Issue
Block a user