评论需要添加功能,提交订单有问题

This commit is contained in:
bobobobo
2025-12-26 02:15:32 +08:00
parent 1aab94bbc3
commit bb02cb22c0
32 changed files with 2844 additions and 117 deletions

View File

@@ -1,31 +1,20 @@
<script setup>
import { onLoad } from '@dcloudio/uni-app'
import { onMounted, ref } from 'vue'
import { onLoad, onUnload } from '@dcloudio/uni-app'
import { ref } from 'vue'
import { reLaunch } from '@/utils/router'
const cb = v => {
console.log(v)
}
// export default {
// data() {
// return {
// title: 'Hello'
// }
// },
// onLoad() {
// },
// methods: {
// }
// }
const indexGo = ref(null)
onLoad(() => {
// 3秒后跳转
setTimeout(() => {
indexGo.value = setTimeout(() => {
reLaunch('/pages/news-list/news-list')
}, 3000)
})
onUnload(() => {
clearTimeout(indexGo.value)
})
const title = ref('这个是启动页')
</script>