first commit

This commit is contained in:
2025-08-06 17:17:48 +08:00
commit dc5fba137c
453 changed files with 85995 additions and 0 deletions
@@ -0,0 +1,48 @@
<template>
<view class="goods-comment-list">
<tabs :active="active" line-width="40" @change="changeActive">
<tab title="待评价">
<comment-list type="1" v-if="active == 0"></comment-list>
</tab>
<tab title="已评价">
<comment-list type="2" v-if="active == 1"></comment-list>
</tab>
</tabs>
</view>
</template>
<script>
export default {
data() {
return {
active: 0
};
},
components: {
},
props: {},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
this.type = options.type;
if (this.type) {
this.active = parseInt(this.type)
}
},
methods: {
changeActive(e) {
this.active = e
}
}
};
</script>
<style>
</style>