Files
dvcp_v2_wechat_app/src/project/fengdu/AppCircle/Topic.vue

71 lines
1.2 KiB
Vue
Raw Normal View History

2023-03-16 17:11:40 +08:00
<template>
<div class="Topic">
2023-03-16 17:41:40 +08:00
<div class="Topic-item" v-for="(item, index) in 10" :key="index">
<h2>#闲置物品交易</h2>
<span>去看看</span>
</div>
2023-03-16 17:11:40 +08:00
<AiLogin ref="login"/>
</div>
</template>
<script>
import { mapActions, mapState } from 'vuex'
export default {
name: 'Topic',
2023-03-16 17:41:40 +08:00
appName: '更多话题',
2023-03-16 17:11:40 +08:00
data () {
return {
}
},
computed: {
...mapState(['user', 'token'])
},
onLoad() {
},
methods: {
...mapActions(['autoLogin', 'authCheck'])
}
}
</script>
<style scoped lang="scss">
.Topic {
2023-03-16 17:41:40 +08:00
min-height: 100vh;
background: #fff;
2023-03-16 17:11:40 +08:00
padding-bottom: 40px;
2023-03-16 17:41:40 +08:00
border-top: 24px solid #f4f6fa;
box-sizing: border-box;
2023-03-16 17:11:40 +08:00
div {
box-sizing: border-box;
}
2023-03-16 17:41:40 +08:00
.Topic-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 40px 32px;
h2 {
font-size: 30px;
color: #333333;
}
span {
width: 126px;
height: 52px;
line-height: 52px;
text-align: center;
border-radius: 26px;
border: 2px solid #2d7dffff;
font-size: 24px;
color: #2D7DFF;
}
}
2023-03-16 17:11:40 +08:00
}
</style>