hookehuyr

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

...@@ -125,6 +125,62 @@ export default [{ ...@@ -125,6 +125,62 @@ export default [{
125 }, 125 },
126 children: [] 126 children: []
127 }, { 127 }, {
128 + path: '/me/donateList',
129 + name: '我的捐赠',
130 + component: () => import('./views/me/donateList.vue'),
131 + meta: {
132 + title: '我的捐赠'
133 + },
134 + children: []
135 +}, {
136 + path: '/me/videoList',
137 + name: '我的作品',
138 + component: () => import('./views/me/videoList.vue'),
139 + meta: {
140 + title: '我的作品'
141 + },
142 + children: []
143 +}, {
144 + path: '/me/subscribe',
145 + name: '我的订阅',
146 + component: () => import('./views/me/subscribe.vue'),
147 + meta: {
148 + title: '我的订阅'
149 + },
150 + children: []
151 +}, {
152 + path: '/me/collection',
153 + name: '我的收藏',
154 + component: () => import('./views/me/collection.vue'),
155 + meta: {
156 + title: '我的收藏'
157 + },
158 + children: []
159 +}, {
160 + path: '/me/like',
161 + name: '我的点赞',
162 + component: () => import('./views/me/like.vue'),
163 + meta: {
164 + title: '我的点赞'
165 + },
166 + children: []
167 +}, {
168 + path: '/me/message',
169 + name: '我的留言',
170 + component: () => import('./views/me/message.vue'),
171 + meta: {
172 + title: '我的留言'
173 + },
174 + children: []
175 +}, {
176 + path: '/me/callMe',
177 + name: '@我的',
178 + component: () => import('./views/me/callMe.vue'),
179 + meta: {
180 + title: '@我的'
181 + },
182 + children: []
183 +}, {
128 path: '/image', 184 path: '/image',
129 name: 'html转图片', 185 name: 'html转图片',
130 component: () => import('./views/html2canvas.vue'), 186 component: () => import('./views/html2canvas.vue'),
......
1 +<template>
2 + <div class=""></div>
3 +</template>
4 +
5 +<script setup>
6 +import { ref, reactive, onMounted } from 'vue'
7 +import { useRoute, useRouter } from 'vue-router'
8 +import axios from '@/utils/axios';
9 +import $ from 'jquery'
10 +import { Toast } from 'vant';
11 +const $route = useRoute();
12 +const $router = useRouter();
13 +
14 + onMounted(() => {
15 +
16 + })
17 +</script>
18 +
19 +<script>
20 +import mixin from 'common/mixin';
21 +
22 +export default {
23 + mixins: [mixin.init],
24 + data () {
25 + return {
26 +
27 + }
28 + },
29 + mounted () {
30 +
31 + },
32 + methods: {
33 +
34 + }
35 +}
36 +</script>
37 +
38 +<style lang="less" scoped>
39 +
40 +</style>
...\ No newline at end of file ...\ No newline at end of file
1 +<template>
2 + <div class=""></div>
3 +</template>
4 +
5 +<script setup>
6 +import { ref, reactive, onMounted } from 'vue'
7 +import { useRoute, useRouter } from 'vue-router'
8 +import axios from '@/utils/axios';
9 +import $ from 'jquery'
10 +import { Toast } from 'vant';
11 +const $route = useRoute();
12 +const $router = useRouter();
13 +
14 + onMounted(() => {
15 +
16 + })
17 +</script>
18 +
19 +<script>
20 +import mixin from 'common/mixin';
21 +
22 +export default {
23 + mixins: [mixin.init],
24 + data () {
25 + return {
26 +
27 + }
28 + },
29 + mounted () {
30 +
31 + },
32 + methods: {
33 +
34 + }
35 +}
36 +</script>
37 +
38 +<style lang="less" scoped>
39 +
40 +</style>
...\ No newline at end of file ...\ No newline at end of file
1 +<template>
2 + <div class=""></div>
3 +</template>
4 +
5 +<script setup>
6 +import { ref, reactive, onMounted } from 'vue'
7 +import { useRoute, useRouter } from 'vue-router'
8 +import axios from '@/utils/axios';
9 +import $ from 'jquery'
10 +import { Toast } from 'vant';
11 +const $route = useRoute();
12 +const $router = useRouter();
13 +
14 + onMounted(() => {
15 +
16 + })
17 +</script>
18 +
19 +<script>
20 +import mixin from 'common/mixin';
21 +
22 +export default {
23 + mixins: [mixin.init],
24 + data () {
25 + return {
26 +
27 + }
28 + },
29 + mounted () {
30 +
31 + },
32 + methods: {
33 +
34 + }
35 +}
36 +</script>
37 +
38 +<style lang="less" scoped>
39 +
40 +</style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
52 </div> 52 </div>
53 53
54 <template v-for="(item, key) in itemList" :key="key"> 54 <template v-for="(item, key) in itemList" :key="key">
55 - <div class="van-hairline--bottom item-list"> 55 + <div class="van-hairline--bottom item-list" @click="goTo(item.to)">
56 <van-row> 56 <van-row>
57 <van-col span="12">{{ item.name }}</van-col> 57 <van-col span="12">{{ item.name }}</van-col>
58 <van-col span="12" style="text-align: right; color: #777777;"> 58 <van-col span="12" style="text-align: right; color: #777777;">
...@@ -103,39 +103,39 @@ const itemList = [ ...@@ -103,39 +103,39 @@ const itemList = [
103 { 103 {
104 name: '我的捐赠', 104 name: '我的捐赠',
105 sum: '5', 105 sum: '5',
106 - to: '/' 106 + to: '/me/donateList'
107 }, 107 },
108 { 108 {
109 name: '我的作品', 109 name: '我的作品',
110 sum: '5', 110 sum: '5',
111 - to: '/' 111 + to: '/me/videoList'
112 }, 112 },
113 { 113 {
114 name: '我的订阅', 114 name: '我的订阅',
115 sum: '5', 115 sum: '5',
116 - to: '/' 116 + to: '/me/subscribe'
117 }, 117 },
118 { 118 {
119 name: '我的收藏', 119 name: '我的收藏',
120 sum: '5', 120 sum: '5',
121 - to: '/' 121 + to: '/me/collection'
122 }, 122 },
123 { 123 {
124 name: '我的点赞', 124 name: '我的点赞',
125 sum: '5', 125 sum: '5',
126 - to: '/' 126 + to: '/me/like'
127 }, 127 },
128 { 128 {
129 name: '我的留言', 129 name: '我的留言',
130 sum: '2', 130 sum: '2',
131 tag: true, 131 tag: true,
132 - to: '/' 132 + to: '/me/message'
133 }, 133 },
134 { 134 {
135 name: '@我的', 135 name: '@我的',
136 sum: '2', 136 sum: '2',
137 tag: true, 137 tag: true,
138 - to: '/' 138 + to: '/me/callMe'
139 }, 139 },
140 ] 140 ]
141 141
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
204 } 204 }
205 .divide { 205 .divide {
206 line-height: 2.5; 206 line-height: 2.5;
207 - color: #BCB4C9; 207 + color: #999999;
208 font-size: 1rem; 208 font-size: 1rem;
209 } 209 }
210 } 210 }
......
1 +<template>
2 + <div class=""></div>
3 +</template>
4 +
5 +<script setup>
6 +import { ref, reactive, onMounted } from 'vue'
7 +import { useRoute, useRouter } from 'vue-router'
8 +import axios from '@/utils/axios';
9 +import $ from 'jquery'
10 +import { Toast } from 'vant';
11 +const $route = useRoute();
12 +const $router = useRouter();
13 +
14 + onMounted(() => {
15 +
16 + })
17 +</script>
18 +
19 +<script>
20 +import mixin from 'common/mixin';
21 +
22 +export default {
23 + mixins: [mixin.init],
24 + data () {
25 + return {
26 +
27 + }
28 + },
29 + mounted () {
30 +
31 + },
32 + methods: {
33 +
34 + }
35 +}
36 +</script>
37 +
38 +<style lang="less" scoped>
39 +
40 +</style>
...\ No newline at end of file ...\ No newline at end of file
1 +<template>
2 + <div class=""></div>
3 +</template>
4 +
5 +<script setup>
6 +import { ref, reactive, onMounted } from 'vue'
7 +import { useRoute, useRouter } from 'vue-router'
8 +import axios from '@/utils/axios';
9 +import $ from 'jquery'
10 +import { Toast } from 'vant';
11 +const $route = useRoute();
12 +const $router = useRouter();
13 +
14 + onMounted(() => {
15 +
16 + })
17 +</script>
18 +
19 +<script>
20 +import mixin from 'common/mixin';
21 +
22 +export default {
23 + mixins: [mixin.init],
24 + data () {
25 + return {
26 +
27 + }
28 + },
29 + mounted () {
30 +
31 + },
32 + methods: {
33 +
34 + }
35 +}
36 +</script>
37 +
38 +<style lang="less" scoped>
39 +
40 +</style>
...\ No newline at end of file ...\ No newline at end of file
1 +<template>
2 + <div class=""></div>
3 +</template>
4 +
5 +<script setup>
6 +import { ref, reactive, onMounted } from 'vue'
7 +import { useRoute, useRouter } from 'vue-router'
8 +import axios from '@/utils/axios';
9 +import $ from 'jquery'
10 +import { Toast } from 'vant';
11 +const $route = useRoute();
12 +const $router = useRouter();
13 +
14 + onMounted(() => {
15 +
16 + })
17 +</script>
18 +
19 +<script>
20 +import mixin from 'common/mixin';
21 +
22 +export default {
23 + mixins: [mixin.init],
24 + data () {
25 + return {
26 +
27 + }
28 + },
29 + mounted () {
30 +
31 + },
32 + methods: {
33 +
34 + }
35 +}
36 +</script>
37 +
38 +<style lang="less" scoped>
39 +
40 +</style>
...\ No newline at end of file ...\ No newline at end of file
1 +<template>
2 + <div class=""></div>
3 +</template>
4 +
5 +<script setup>
6 +import { ref, reactive, onMounted } from 'vue'
7 +import { useRoute, useRouter } from 'vue-router'
8 +import axios from '@/utils/axios';
9 +import $ from 'jquery'
10 +import { Toast } from 'vant';
11 +const $route = useRoute();
12 +const $router = useRouter();
13 +
14 + onMounted(() => {
15 +
16 + })
17 +</script>
18 +
19 +<script>
20 +import mixin from 'common/mixin';
21 +
22 +export default {
23 + mixins: [mixin.init],
24 + data () {
25 + return {
26 +
27 + }
28 + },
29 + mounted () {
30 +
31 + },
32 + methods: {
33 +
34 + }
35 +}
36 +</script>
37 +
38 +<style lang="less" scoped>
39 +
40 +</style>
...\ No newline at end of file ...\ No newline at end of file