hookehuyr

✨ feat(客户端): 新增我的操作列表页

......@@ -125,6 +125,62 @@ export default [{
},
children: []
}, {
path: '/me/donateList',
name: '我的捐赠',
component: () => import('./views/me/donateList.vue'),
meta: {
title: '我的捐赠'
},
children: []
}, {
path: '/me/videoList',
name: '我的作品',
component: () => import('./views/me/videoList.vue'),
meta: {
title: '我的作品'
},
children: []
}, {
path: '/me/subscribe',
name: '我的订阅',
component: () => import('./views/me/subscribe.vue'),
meta: {
title: '我的订阅'
},
children: []
}, {
path: '/me/collection',
name: '我的收藏',
component: () => import('./views/me/collection.vue'),
meta: {
title: '我的收藏'
},
children: []
}, {
path: '/me/like',
name: '我的点赞',
component: () => import('./views/me/like.vue'),
meta: {
title: '我的点赞'
},
children: []
}, {
path: '/me/message',
name: '我的留言',
component: () => import('./views/me/message.vue'),
meta: {
title: '我的留言'
},
children: []
}, {
path: '/me/callMe',
name: '@我的',
component: () => import('./views/me/callMe.vue'),
meta: {
title: '@我的'
},
children: []
}, {
path: '/image',
name: 'html转图片',
component: () => import('./views/html2canvas.vue'),
......
<template>
<div class=""></div>
</template>
<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import $ from 'jquery'
import { Toast } from 'vant';
const $route = useRoute();
const $router = useRouter();
onMounted(() => {
})
</script>
<script>
import mixin from 'common/mixin';
export default {
mixins: [mixin.init],
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div class=""></div>
</template>
<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import $ from 'jquery'
import { Toast } from 'vant';
const $route = useRoute();
const $router = useRouter();
onMounted(() => {
})
</script>
<script>
import mixin from 'common/mixin';
export default {
mixins: [mixin.init],
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div class=""></div>
</template>
<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import $ from 'jquery'
import { Toast } from 'vant';
const $route = useRoute();
const $router = useRouter();
onMounted(() => {
})
</script>
<script>
import mixin from 'common/mixin';
export default {
mixins: [mixin.init],
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
......@@ -52,7 +52,7 @@
</div>
<template v-for="(item, key) in itemList" :key="key">
<div class="van-hairline--bottom item-list">
<div class="van-hairline--bottom item-list" @click="goTo(item.to)">
<van-row>
<van-col span="12">{{ item.name }}</van-col>
<van-col span="12" style="text-align: right; color: #777777;">
......@@ -103,39 +103,39 @@ const itemList = [
{
name: '我的捐赠',
sum: '5',
to: '/'
to: '/me/donateList'
},
{
name: '我的作品',
sum: '5',
to: '/'
to: '/me/videoList'
},
{
name: '我的订阅',
sum: '5',
to: '/'
to: '/me/subscribe'
},
{
name: '我的收藏',
sum: '5',
to: '/'
to: '/me/collection'
},
{
name: '我的点赞',
sum: '5',
to: '/'
to: '/me/like'
},
{
name: '我的留言',
sum: '2',
tag: true,
to: '/'
to: '/me/message'
},
{
name: '@我的',
sum: '2',
tag: true,
to: '/'
to: '/me/callMe'
},
]
......@@ -204,7 +204,7 @@ export default {
}
.divide {
line-height: 2.5;
color: #BCB4C9;
color: #999999;
font-size: 1rem;
}
}
......
<template>
<div class=""></div>
</template>
<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import $ from 'jquery'
import { Toast } from 'vant';
const $route = useRoute();
const $router = useRouter();
onMounted(() => {
})
</script>
<script>
import mixin from 'common/mixin';
export default {
mixins: [mixin.init],
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div class=""></div>
</template>
<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import $ from 'jquery'
import { Toast } from 'vant';
const $route = useRoute();
const $router = useRouter();
onMounted(() => {
})
</script>
<script>
import mixin from 'common/mixin';
export default {
mixins: [mixin.init],
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div class=""></div>
</template>
<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import $ from 'jquery'
import { Toast } from 'vant';
const $route = useRoute();
const $router = useRouter();
onMounted(() => {
})
</script>
<script>
import mixin from 'common/mixin';
export default {
mixins: [mixin.init],
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
<template>
<div class=""></div>
</template>
<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import axios from '@/utils/axios';
import $ from 'jquery'
import { Toast } from 'vant';
const $route = useRoute();
const $router = useRouter();
onMounted(() => {
})
</script>
<script>
import mixin from 'common/mixin';
export default {
mixins: [mixin.init],
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file