This commit is contained in:
liuye
2023-03-09 16:24:36 +08:00
parent b595eba075
commit 5317f6b45a
11 changed files with 434 additions and 0 deletions

View File

@@ -0,0 +1,162 @@
<template>
<div class="AppConversation">
<AiTopFixed>
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6"
inactive-color="#A1C1E8" :bar-style="barStyle" :active-item-style="activeStyle" active-color="#ffffff " @change="change">
</u-tabs>
<div class="top-search">
<div class="left">
<u-search v-model="keyword" :clearabled="true" placeholder="请输入昵称" :show-action="false" bg-color="#F5F5F5"
search-icon-color="#999" color="#999" height="58" @search="getListInit" @clear="getListInit">
</u-search>
</div>
</div>
<div class="top-select">
<div class="item">
<AiAreaPicker v-model="areaId" :areaId="areaId" @select="areaSelect" :name.sync="areaName" style="color: #666" selectRoot>
<span style="margin-left: 4px" v-if="areaName">{{ areaName }}</span>
<span v-else style="color:#999;">行政区划</span>
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
</AiAreaPicker>
</div>
<div class="item">
<span style="color:#999;">部门名称</span>
<!-- <span v-else>{{ $dict.getLabel('EP_handleType', handleType) }}</span> -->
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
</div>
</div>
</AiTopFixed>
<div class="user-list">
<div class="item">
<img src="./img/user-img.png" alt="">
<p>李毅</p>
</div>
<div class="item">
<img src="./img/user-img.png" alt="">
<p>李毅</p>
</div>
<div class="item">
<img src="./img/user-img.png" alt="">
<p>李毅</p>
</div>
</div>
</div>
</template>
<script>
export default {
name: "AppConversation",
appName: "会话存档",
data() {
return {
tabList: [
{name: '群聊会话'},
{name: '私聊会话'},
],
currentTabs: 0,
barStyle: {
'width': '24px',
'height': '2px',
'border-radius': '0',
'bottom': '5px'
},
activeStyle: {
'font-weight' : '400',
},
keyword: '',
areaId: '',
areaName: '',
};
},
onShow() {
},
methods: {
change(index) {
this.keyword = ''
this.currentTabs = index
this.getListInit()
},
getListInit() {
},
areaSelect(e) {
this.areaId = e
this.getListInit()
this.getTotal()
},
},
};
</script>
<style lang="scss" scoped>
.AppConversation {
height: 100%;
::v-deep .AiTopFixed {
.placeholder {
.content {
padding: 0 !important;
}
}
.fixed {
margin: 0 !important;
.content {
padding: 0 !important;
}
}
}
.top-search {
padding: 20px 32px;
display: flex;
.left {
width: 100%;
}
}
.top-select {
display: flex;
padding: 28px 0;
.item {
flex: 1;
padding: 0 8px;
text-align: center;
span {
display: inline-block;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 28px;
color: #666;
line-height: 40px;
}
}
}
.user-list {
border-top: 1px solid #eee;
background-color: #fff;
.item {
padding: 24px 0 0 32px;
display: flex;
img {
width: 80px;
height: 80px;
margin-right: 32px;
}
p {
padding-bottom: 32px;
width: calc(100% - 112px);
line-height: 80px;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 32px;
color: #333;
letter-spacing: 0.3px;
border-bottom: 1px solid #eee;
}
}
.item:nth-last-child(1) {
p {
border-bottom: 0;
}
}
}
}
</style>

View File

@@ -0,0 +1,29 @@
<template>
<div class="conversationDetail">
</div>
</template>
<script>
export default {
name: "conversationDetail",
data() {
return {
};
},
onShow() {
document.title = '会话详情'
},
methods: {
},
};
</script>
<style lang="scss" scoped>
.conversationDetail {
}
</style>

View File

@@ -0,0 +1,29 @@
<template>
<div class="conversationRecord">
</div>
</template>
<script>
export default {
name: "conversationRecord",
data() {
return {
};
},
onShow() {
document.title = '会话记录'
},
methods: {
},
};
</script>
<style lang="scss" scoped>
.conversationRecord {
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -0,0 +1,87 @@
<template>
<div class="userInfo">
<div class="user-info">
<img src="./img/user-img.png" alt="" class="user-img">
<div class="user-name">
<h3>卓作旺<img src="./img/ic-man@2x.png" alt=""></h3>
<p>出差ing</p>
</div>
</div>
<div class="btn">添加联系人为好友</div>
<div class="btn bg-fff">发消息</div>
</div>
</template>
<script>
export default {
name: "userInfo",
data() {
return {
};
},
onShow() {
document.title = '个人信息'
},
methods: {
},
};
</script>
<style lang="scss" scoped>
.userInfo {
height: 100vh;
background-color: #F5F5F5;
.user-info {
display: flex;
padding: 40px 32px;
background-color: #fff;
margin-bottom: 40px;
.user-img {
width: 120px;
height: 120px;
margin-right: 24px;
}
.user-name {
margin-top: 6px;
h3 {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 36px;
color: #333;
line-height: 50px;
margin-bottom: 18px;
img {
width: 24px;
height: 24px;
margin-left: 8px;
}
}
p {
font-family: PingFangSC-Regular;
font-size: 28px;
color: #999;
line-height: 40px;
}
}
}
.btn {
width: calc(100% - 64px);
margin: 0 0 32px 32px;
height: 112px;
line-height: 112px;
text-align: center;
background: #3975C6;
border-radius: 8px;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 32px;
color: #FFF;
}
.bg-fff {
background-color: #fff;
color: #000;
}
}
</style>

View File

@@ -0,0 +1,127 @@
<template>
<div class="AppGroupDetail">
<div class="bg-fff">
<div class="group-info">
<img src="./img/down-icon.png" alt="">
<div>
<h3>县政法委</h3>
<p>群成员45</p>
</div>
</div>
<img src="./img/down-icon.png" alt="" class="group-img">
<p class="text">使用微信或企业微信扫码加入</p>
<div class="btn">申请加入群聊</div>
<div class="btn">进入群聊</div>
</div>
<div class="flex">
<div class="item">
<img src="./img/retransmission-icon.png" alt="">
<p>转发到聊天</p>
</div>
<div class="item">
<img src="./img/wechat-icon.png" alt="">
<p>分享到微信</p>
</div>
<div class="item">
<img src="./img/down-icon.png" alt="">
<p>保存到相册</p>
</div>
</div>
</div>
</template>
<script>
export default {
name: "AppGroupDetail",
appName: "群详情",
data() {
return {
};
},
onShow() {
},
methods: {
},
};
</script>
<style lang="scss" scoped>
.AppGroupDetail {
height: 100vh;
background-color: #f5f5f5;
.bg-fff {
background-color: #fff;
margin: 48px 0 52px 32px;
padding: 64px 32px 72px;
.group-info {
display: flex;
margin-bottom: 72px;
img {
width: 96px;
height: 96px;
margin: 0 20px 0 40px;
}
h3 {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 36px;
color: #333;
line-height: 52px;
margin-bottom: 4px;
}
p {
font-family: PingFangSC-Regular;
font-size: 28px;
color: #999;
}
}
.group-img {
width: 386px;
height: 386px;
margin: 0 0 40px 118px;
}
.text {
text-align: center;
font-family: PingFangSC-Regular;
font-size: 28px;
color: #666;
margin-bottom: 80px;
}
.btn {
width: 100%;
height: 100px;
text-align: center;
line-height: 100px;
background: #3975C6;
border-radius: 8px;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 32px;
color: #FFF;
margin-bottom: 32px;
}
}
.flex {
padding: 0 100px;
display: flex;
justify-content: space-between;
.item {
text-align: center;
img {
width: 62px;
height: 62px;
margin-bottom: 4px;
}
p {
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 26px;
color: #999;
}
}
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB