This commit is contained in:
pengxiaolong
2025-05-14 16:09:14 +08:00
parent 5f8ff971d4
commit 838cfd9986
45 changed files with 437 additions and 270 deletions

View File

@@ -26,21 +26,21 @@ export default {
return {};
},
onLoad() {
this.requestSomething();
// 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); // 处理失败的响应
},
});
},
// 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); // 处理失败的响应
// },
// });
// },
},
components: {
topNavigation,

View File

@@ -1,22 +0,0 @@
<template>
</template>
<script>
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
// 页面加载时执行
},
methods: {
// 方法定义
}
}
</script>
<style scoped>
/* 样式定义 */
</style>

View File

@@ -1,23 +1,22 @@
<template></template>
<template>
</template>
<script>
export default {
data() {
return {
title: "Hello",
};
},
onLoad() {
this.openConversationList();
},
methods: {
openConversationList() {
uni.navigateTo({ url: "/TUIKit/components/TUIConversation/index" });
},
},
};
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
// 页面加载时执行
},
methods: {
// 方法定义
}
}
</script>
<style scoped>
/* 样式定义 */
</style>
/* 样式定义 */
</style>