This commit is contained in:
X1627315083
2024-08-13 09:36:13 +08:00
parent 1f5ddc604a
commit a0c3b06b80
23 changed files with 23125 additions and 22325 deletions

View File

@@ -0,0 +1,207 @@
<template>
<div class="account_comment">
<div class="account_comment_title modal_title_text">
收到的评论
</div>
<div class="account_comment_center modal_title_text">
<div class="account_comment_item">
<div class="account_comment_item_right">
<div class="account_comment_item_right_img" @click="openOtherUsers">
<img src="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" alt="">
</div>
<div class="account_comment_item_right_title">
<div class="account_comment_item_right_title_name">名字 <span>回复你的作品</span></div>
<div class="account_comment_item_right_title_center modal_title_text_assistant">回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容</div>
<div class="account_comment_item_right_works modal_title_text_intro">回复作品名</div>
</div>
</div>
<div class="account_comment_item_left">
<div class="account_comment_item_left_delete modal_title_text_intro">
<span class="icon iconfont icon-shanchu operate_icon"></span>
</div>
<div class="modal_title_text_intro">2024-06-05</div>
</div>
</div>
<div class="account_comment_item">
<div class="account_comment_item_right">
<div class="account_comment_item_right_img">
<img src="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" alt="">
</div>
<div class="account_comment_item_right_title">
<div class="account_comment_item_right_title_name">名字 <span>回复你的作品</span></div>
<div class="account_comment_item_right_title_center modal_title_text_assistant">回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容回复内容</div>
<div class="account_comment_item_right_works modal_title_text_intro">回复作品名</div>
</div>
</div>
<div class="account_comment_item_left">
<div class="account_comment_item_left_delete modal_title_text_intro">
<span class="icon iconfont icon-shanchu operate_icon"></span>
</div>
<div class="modal_title_text_intro">2024-06-05</div>
</div>
</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'),
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',
}
])
})
// 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)
let openOtherUsers = ()=>{
const routeUrl = router.resolve({
path:'/home/otherUsers',
query:{
id:123
}
})
window.open(routeUrl.href,'_blank')
}
onMounted (()=>{
})
return{
...toRefs(accountMessage),
openOtherUsers,
}
},
data(){
return{
}
},
})
</script>
<style lang="less" scoped>
.account_comment{
width: 100%;
.account_comment_title{
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;
.account_comment_title_setting{
cursor: pointer;
}
}
.account_comment_center{
box-shadow: 0 0px 10px 1px rgba(0, 0, 0, 0.12);
border: 1px solid #e9eaec;
border-radius: 5px;
padding: 2rem 5rem;
.account_comment_item{
display: flex;
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 0;
border-bottom: 1px solid #e9eaec;
.account_comment_item_right{
display: flex;
align-items: center;
margin-right: 1rem;
.account_comment_item_right_works{
cursor: pointer;
}
.account_comment_item_right_works:hover{
text-decoration: underline;
}
.account_comment_item_right_img{
width: 8rem;
height: 8rem;
margin-right: 2rem;
flex-shrink: 0;
cursor: pointer;
img{
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.account_comment_item_right_title{
display: flex;
flex-direction: column;
align-items: flex-start;
.account_comment_item_right_title_center{
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.account_comment_item_right_title_name{
font-weight: 600;
font-weight: 500;
color: #000;
span{
font-weight: 500;
color: #9999aa;
}
}
}
}
.account_comment_item_left{
text-align: right;
flex-shrink: 0;
.account_comment_item_left_delete{
span{
cursor: pointer;
}
}
div{
padding: .5rem 2rem;
border-radius: 4rem;
}
}
}
.account_comment_item:last-child{
margin-bottom: 0;
border-bottom: none;
}
}
}
</style>

View File

@@ -0,0 +1,181 @@
<template>
<div class="account_like">
<div class="account_like_title modal_title_text">
点赞
</div>
<div class="account_like_center modal_title_text">
<div class="account_like_item">
<div class="account_like_item_right">
<div class="account_like_item_right_img">
<img src="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" alt="">
</div>
<div class="account_like_item_right_title">
<div class="account_like_item_right_title_name">名字 <span>等人攒了你的作品</span></div>
<div>作品名字</div>
</div>
</div>
<div class="account_like_item_left">
<div class="account_like_item_left_delete modal_title_text_intro">
<span class="icon iconfont icon-shanchu operate_icon"></span>
</div>
<div class="modal_title_text_intro">2024-06-05</div>
</div>
</div>
<div class="account_like_item">
<div class="account_like_item_right">
<div class="account_like_item_right_img">
<img src="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" alt="">
</div>
<div class="account_like_item_right_title">
<div class="account_like_item_right_title_name">名字 <span>等人攒了你的作品</span></div>
<div>作品名字</div>
</div>
</div>
<div class="account_like_item_left">
<div class="account_like_item_left_delete modal_title_text_intro">
<span class="icon iconfont icon-shanchu operate_icon"></span>
</div>
<div class="modal_title_text_intro">2024-06-05</div>
</div>
</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'),
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',
}
])
})
// 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>
.account_like{
width: 100%;
.account_like_title{
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;
.account_like_title_setting{
cursor: pointer;
}
}
.account_like_center{
box-shadow: 0 0px 10px 1px rgba(0, 0, 0, 0.12);
border: 1px solid #e9eaec;
border-radius: 5px;
padding: 2rem 5rem;
.account_like_item{
display: flex;
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 0;
border-bottom: 1px solid #e9eaec;
.account_like_item_right{
display: flex;
align-items: center;
margin-right: 1rem;
.account_like_item_right_img{
width: 8rem;
height: 8rem;
margin-right: 2rem;
flex-shrink: 0;
cursor: pointer;
img{
width: 100%;
height: 100%;
border-radius: 50%;
}
}
.account_like_item_right_title{
.account_like_item_right_title_name{
font-weight: 600;
font-weight: 500;
color: #000;
span{
font-weight: 500;
color: #9999aa;
}
}
}
}
.account_like_item_left{
text-align: right;
flex-shrink: 0;
.account_like_item_left_delete{
span{
cursor: pointer;
}
}
div{
padding: .5rem 2rem;
border-radius: 4rem;
}
}
}
.account_like_item:last-child{
margin-bottom: 0;
border-bottom: none;
}
}
}
</style>

View File

@@ -1,20 +1,38 @@
<template>
<div class="account_systemMessage">
<div class="account_systemMessage_title modal_title_text">
系统消息
<div class="account_newFollow">
<div class="account_newFollow_title modal_title_text">
新增粉丝
</div>
<div class="account_systemMessage_item modal_title_text">
<div class="account_systemMessage_item_title">
<div>Open Call for International Young Fashion Talent</div>
<div class="modal_title_text_intro">31 Aug 2024</div>
<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>
</div>
<div class="modal_title_text_intro">
10 selected young fashion talent will be mentored by the AiDA development team to learn and explore the possibilities of AiDA. Each selected young fashion talent will create a 4-outfit collection themed Culture with AiDA. They will receive full technical support and subsidies for the associated production fee. Selected International/ Mainland young talent will also be able to attend the Culture X AI Internation Fashion Show in Hong Kong that is scheduled on 11 March 2025.
<span class="account_systemMessage_item_link">网页链接</span>
<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>
</div>
</div>
<div></div>
<div></div>
</div>
</template>
<script lang="ts">
@@ -33,6 +51,19 @@ export default defineComponent({
const store = useStore();
let accountMessage = reactive({
activeKey: ref('1'),
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',
}
])
})
// let ws = new WebSocket('ws://127.0.0.1:3000')
// console.log(ws);
@@ -66,9 +97,9 @@ export default defineComponent({
})
</script>
<style lang="less" scoped>
.account_systemMessage{
.account_newFollow{
width: 100%;
.account_systemMessage_title{
.account_newFollow_title{
display: flex;
align-items: center;
justify-content: space-between;
@@ -77,27 +108,49 @@ export default defineComponent({
box-shadow: 0 0px 10px 1px rgba(0, 0, 0, 0.12);
border: 1px solid #e9eaec;
border-radius: 5px;
.account_systemMessage_title_setting{
.account_newFollow_title_setting{
cursor: pointer;
}
}
.account_systemMessage_item{
.account_newFollow_center{
box-shadow: 0 0px 10px 1px rgba(0, 0, 0, 0.12);
border: 1px solid #e9eaec;
border-radius: 5px;
padding: 5rem 5rem;
.account_systemMessage_item_title{
padding: 2rem 5rem;
.account_newFollow_item{
display: flex;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
.modal_title_text_intro{
margin-left: 4rem;
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;
}
}
}
.account_systemMessage_item_link{
color: #39215b;
cursor: pointer;
font-weight: 600;
.account_newFollow_item:last-child{
margin-bottom: 0;
border-bottom: none;
}
}
}