2024-08-05 16:16:08 +08:00
|
|
|
<template>
|
2024-08-13 09:36:13 +08:00
|
|
|
<div class="account_newFollow">
|
|
|
|
|
<div class="account_newFollow_title modal_title_text">
|
|
|
|
|
新增粉丝
|
2024-08-05 16:16:08 +08:00
|
|
|
</div>
|
2024-08-13 09:36:13 +08:00
|
|
|
<div class="account_newFollow_center modal_title_text">
|
|
|
|
|
<div class="account_newFollow_item">
|
|
|
|
|
<div class="account_newFollow_item_right">
|
|
|
|
|
<div class="account_newFollow_item_right_img">
|
|
|
|
|
<img src="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="account_newFollow_item_right_title">
|
|
|
|
|
<div class="">名字</div>
|
|
|
|
|
<div class="modal_title_text_intro">2024-01-01 12:00:00 关注了你</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="account_newFollow_item_left">
|
|
|
|
|
<div>回关</div>
|
|
|
|
|
</div>
|
2024-08-05 16:16:08 +08:00
|
|
|
</div>
|
2024-08-13 09:36:13 +08:00
|
|
|
<div class="account_newFollow_item">
|
|
|
|
|
<div class="account_newFollow_item_right">
|
|
|
|
|
<div class="account_newFollow_item_right_img">
|
|
|
|
|
<img src="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="account_newFollow_item_right_title">
|
|
|
|
|
<div class="">名字</div>
|
|
|
|
|
<div class="modal_title_text_intro">2024-01-01 12:00:00 关注了你</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="account_newFollow_item_left">
|
|
|
|
|
<div>回关</div>
|
|
|
|
|
</div>
|
2024-08-05 16:16:08 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script lang="ts">
|
|
|
|
|
import { defineComponent,computed,ref,reactive,nextTick,toRefs,createVNode, onMounted} from 'vue'
|
|
|
|
|
import { Https } from "@/tool/https";
|
|
|
|
|
import { useRouter,useRoute } from 'vue-router'
|
|
|
|
|
import { Modal,message } from 'ant-design-vue';
|
|
|
|
|
import { useStore } from "vuex";
|
|
|
|
|
import { setCookie, getCookie, WriteCookie } from "@/tool/cookie";
|
|
|
|
|
import { useI18n } from 'vue-i18n'
|
|
|
|
|
export default defineComponent({
|
|
|
|
|
components:{
|
|
|
|
|
},
|
|
|
|
|
setup() {
|
|
|
|
|
const router = useRouter()
|
|
|
|
|
const store = useStore();
|
|
|
|
|
let accountMessage = reactive({
|
|
|
|
|
activeKey: ref('1'),
|
2024-08-13 09:36:13 +08:00
|
|
|
followList:ref([
|
|
|
|
|
{
|
|
|
|
|
name:'张三',
|
|
|
|
|
avatar:'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
|
|
|
|
|
time:'2024-01-01 12:00:00',
|
|
|
|
|
content:'关注了你',
|
|
|
|
|
isRead:false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name:'李四',
|
|
|
|
|
avatar:'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
|
|
|
|
|
}
|
|
|
|
|
])
|
2024-08-05 16:16:08 +08:00
|
|
|
})
|
|
|
|
|
// let ws = new WebSocket('ws://127.0.0.1:3000')
|
|
|
|
|
// console.log(ws);
|
|
|
|
|
|
|
|
|
|
// ws.onopen = ()=>{
|
|
|
|
|
// console.log(222);
|
|
|
|
|
// let data = {
|
|
|
|
|
// cmd:4,
|
|
|
|
|
// data:{
|
|
|
|
|
// msg:'222'
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// ws.send(JSON.stringify(data))
|
|
|
|
|
// // ws.onmessage = (data)=>{
|
|
|
|
|
// // console.log(data);
|
|
|
|
|
// // }
|
|
|
|
|
// }
|
|
|
|
|
// provide('exhibitionList',exhibitionList)
|
|
|
|
|
|
|
|
|
|
onMounted (()=>{
|
|
|
|
|
})
|
|
|
|
|
return{
|
|
|
|
|
...toRefs(accountMessage),
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data(){
|
|
|
|
|
return{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
2024-08-13 09:36:13 +08:00
|
|
|
.account_newFollow{
|
2024-08-05 16:16:08 +08:00
|
|
|
width: 100%;
|
2024-08-13 09:36:13 +08:00
|
|
|
.account_newFollow_title{
|
2024-08-05 16:16:08 +08:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 2rem 5rem;
|
|
|
|
|
border-bottom: 1px solid #e9eaec;
|
|
|
|
|
box-shadow: 0 0px 10px 1px rgba(0, 0, 0, 0.12);
|
|
|
|
|
border: 1px solid #e9eaec;
|
|
|
|
|
border-radius: 5px;
|
2024-08-13 09:36:13 +08:00
|
|
|
.account_newFollow_title_setting{
|
2024-08-05 16:16:08 +08:00
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-08-13 09:36:13 +08:00
|
|
|
.account_newFollow_center{
|
2024-08-05 16:16:08 +08:00
|
|
|
box-shadow: 0 0px 10px 1px rgba(0, 0, 0, 0.12);
|
|
|
|
|
border: 1px solid #e9eaec;
|
|
|
|
|
border-radius: 5px;
|
2024-08-13 09:36:13 +08:00
|
|
|
padding: 2rem 5rem;
|
|
|
|
|
.account_newFollow_item{
|
|
|
|
|
display: flex;
|
2024-08-05 16:16:08 +08:00
|
|
|
display: flex;
|
2024-08-13 09:36:13 +08:00
|
|
|
justify-content: space-between;
|
2024-08-05 16:16:08 +08:00
|
|
|
align-items: center;
|
2024-08-13 09:36:13 +08:00
|
|
|
padding: 2rem 0;
|
|
|
|
|
border-bottom: 1px solid #e9eaec;
|
|
|
|
|
.account_newFollow_item_right{
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
.account_newFollow_item_right_img{
|
|
|
|
|
width: 8rem;
|
|
|
|
|
height: 8rem;
|
|
|
|
|
margin-right: 2rem;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
img{
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.account_newFollow_item_left{
|
|
|
|
|
div{
|
|
|
|
|
padding: .5rem 2rem;
|
|
|
|
|
border-radius: 4rem;
|
|
|
|
|
border: 2px solid #e9eaec;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
2024-08-05 16:16:08 +08:00
|
|
|
}
|
|
|
|
|
}
|
2024-08-13 09:36:13 +08:00
|
|
|
.account_newFollow_item:last-child{
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
border-bottom: none;
|
2024-08-05 16:16:08 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|