api
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<view class="top-navigation-container">
|
||||
<top-navigation></top-navigation>
|
||||
</view>
|
||||
<view class="Advertisement">
|
||||
<view class="Advertisement" @click="goAdvertisement">
|
||||
<advertisement></advertisement>
|
||||
</view>
|
||||
<view class="contentList">
|
||||
@@ -29,18 +29,9 @@ export default {
|
||||
// this.requestSomething();
|
||||
},
|
||||
methods: {
|
||||
// requestSomething() {
|
||||
// wx.request({
|
||||
// url: "http://192.168.0.218:8086/user/login", // 请求的 URL
|
||||
// method: "POST", // 请求方式
|
||||
// success: (res) => {
|
||||
// console.log("请求成功", res.data); // 处理成功的响应
|
||||
// },
|
||||
// fail: (err) => {
|
||||
// console.error("请求失败", err); // 处理失败的响应
|
||||
// },
|
||||
// });
|
||||
// },
|
||||
goAdvertisement(){
|
||||
uni.navigateTo({ url: '/pages/login/login' })
|
||||
}
|
||||
},
|
||||
components: {
|
||||
topNavigation,
|
||||
@@ -83,7 +74,7 @@ export default {
|
||||
}
|
||||
.contentList {
|
||||
position: fixed;
|
||||
top: 300rpx;
|
||||
top: 400rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 1300rpx;
|
||||
|
||||
Reference in New Issue
Block a user