提交 6cc46e07 作者: 毛细亚

清除 cookie

上级 e5a50223
......@@ -19,8 +19,7 @@
</div>
<div class="rowFlex columnCenter spaceBetween gameCodeTitle" @click="showGameCode = !showGameCode">
<p class="rowFlex columnCenter spaceBetween">
<img src="@/assets/icon/svg/gift.svg" alt="gift"
style="width: 16px;height: 16px;margin-right: 5px;margin-top: -2px;">
<svg-icon icon-class="gift" style="font-size:20px;margin-right: 5px;margin-top: -2px;"></svg-icon>
<span class="giftCode">礼包码</span>
</p>
<i :class="showGameCode ? 'el-icon-arrow-right' : 'el-icon-arrow-down'"></i>
......
<template>
<div class="info-tab-content">
<div
class="userDetailsPanel columnFlex"
>
<div class="content" v-loading="viewLoading">
<div v-if="chatUserDetails.is_phishing_account==1" class="warnText">
<p>高风险玩家,请立即通知组长!!!!</p>
<p>①千万不能推转游!!不要发送违禁词汇!!不要发送礼包和告知任何礼包信息!!</p>
<p>②不能以任何形式推送APP/网页链接,也不可承认有APP/网页端口!!</p>
</div>
<div
v-if="change_appraisal"
class="warnText"
>
<p> 钓鱼号 禁止转端通知组长!</p>
</div>
<div
v-else-if="gameUserInfo.exp_ip"
class="warnText"
>
<p>高风险用户,禁止转端 !!!</p>
</div>
<div class="cser_info">
<div class="cser_name">
<span>当前客服:{{ `${cser_name}(${clientStatusText})` }}</span>
<div class="info-tab-content">
<div class="userDetailsPanel columnFlex">
<div class="content" v-loading="viewLoading">
<div v-if="chatUserDetails.is_phishing_account == 1" class="warnText">
<p>高风险玩家,请立即通知组长!!!!</p>
<p>①千万不能推转游!!不要发送违禁词汇!!不要发送礼包和告知任何礼包信息!!</p>
<p>②不能以任何形式推送APP/网页链接,也不可承认有APP/网页端口!!</p>
</div>
<!-- 添加客服状态显示及按钮 -->
<div class="cser_status">
<div class="status-actions">
<el-button type="danger" v-if="clientStatus !== 'offline'" style="margin-left: 0px;" size="mini" @click="logout">下线</el-button>
<!-- 休息中状态显示结束休息按钮 -->
<el-button v-if="clientStatus === 'rest'" type="primary" size="mini" @click="handleFinishRest">结束休息</el-button>
<!-- 在线状态显示开始休息按钮 -->
<el-tooltip v-if="clientStatus === 'online'" content="午休或者临时有事可点击休息" placement="top">
<el-button type="warning" size="mini" @click="handleStartRest" >开始休息</el-button>
</el-tooltip>
<!-- 发送评价按钮 -->
<el-button type="primary" style="margin-left: 0px;" size="mini" @click="handleSendComment">发送评价</el-button>
</div>
<div v-if="change_appraisal" class="warnText">
<p> 钓鱼号 禁止转端通知组长!</p>
</div>
</div>
<!-- 会话内容存档状态 -->
<div class="archive-status" v-if="agreeStatus!=='Agree' || !hasPermit">
<p v-if="agreeStatus!=='Agree'">当前微信用户未开启会话内容存档</p>
<p v-if="!hasPermit">当前客服号未授权开启会话内容存档</p>
</div>
<div class="item rowFlex">
<!-- 公共的信息 -->
<el-image
fit="fill"
draggable="false"
style="-webkit-user-drag: none"
:src="chatUserDetails.avatar"
class="tableImage"
></el-image>
<div class="columnFlex">
<div
class="rowFlex"
style="margin-bottom: 3px"
>
<p
class="text"
style="font-weight: 600"
>
{{ chatUserDetails.name }}
</p>
<span v-if="chatUserDetails.add_way_text" style="color: #09b159; margin-left: 10px">@{{ chatUserDetails.add_way_text }}</span>
<div v-else-if="gameUserInfo.exp_ip" class="warnText">
<p>高风险用户,禁止转端 !!!</p>
</div>
<div class="cser_info">
<div class="cser_name">
<span>当前客服:{{ `${cser_name}(${clientStatusText})` }}</span>
</div>
<!-- 游戏模块特有 -->
<div
v-if="accountSelect && accountSelect !== ''"
style="margin-top: 3px"
>
<el-button-group>
<el-button size="mini" @click="zyouUnBindConfirm">解绑</el-button>
<!-- <el-button size="mini" @click="autoResetPassword">修改密码</el-button>
<!-- 添加客服状态显示及按钮 -->
<div class="cser_status">
<div class="status-actions">
<el-button type="danger" v-if="clientStatus !== 'offline'" style="margin-left: 0px;" size="mini"
@click="logout">下线</el-button>
<!-- 休息中状态显示结束休息按钮 -->
<el-button v-if="clientStatus === 'rest'" type="primary" size="mini"
@click="handleFinishRest">结束休息</el-button>
<!-- 在线状态显示开始休息按钮 -->
<el-tooltip v-if="clientStatus === 'online'" content="午休或者临时有事可点击休息" placement="top">
<el-button type="warning" size="mini" @click="handleStartRest">开始休息</el-button>
</el-tooltip>
<!-- 发送评价按钮 -->
<el-button type="primary" style="margin-left: 0px;" size="mini"
@click="handleSendComment">发送评价</el-button>
</div>
</div>
</div>
<!-- 会话内容存档状态 -->
<div class="archive-status" v-if="agreeStatus !== 'Agree' || !hasPermit">
<p v-if="agreeStatus !== 'Agree'">当前微信用户未开启会话内容存档</p>
<p v-if="!hasPermit">当前客服号未授权开启会话内容存档</p>
</div>
<div class="item rowFlex">
<!-- 公共的信息 -->
<el-image fit="fill" draggable="false" style="-webkit-user-drag: none" :src="chatUserDetails.avatar"
class="tableImage"></el-image>
<div class="columnFlex">
<div class="rowFlex" style="margin-bottom: 3px">
<p class="text" style="font-weight: 600">
{{ chatUserDetails.name }}
</p>
<span v-if="chatUserDetails.add_way_text" style="color: #09b159; margin-left: 10px">@{{
chatUserDetails.add_way_text }}</span>
</div>
<!-- 游戏模块特有 -->
<div v-if="accountSelect && accountSelect !== ''" style="margin-top: 3px">
<el-button-group>
<el-button size="mini" @click="zyouUnBindConfirm">解绑</el-button>
<!-- <el-button size="mini" @click="autoResetPassword">修改密码</el-button>
<el-button size="mini" @click="changePhoneClick">修改手机号</el-button> -->
<el-button v-if="!chatUserDetails.bind_cser" size="mini" @click="relationKfh">关联客服</el-button>
<el-button size="mini" v-if="false" @click="errorHandle">误操作</el-button>
</el-button-group>
<el-button v-if="!chatUserDetails.bind_cser" size="mini" @click="relationKfh">关联客服</el-button>
<el-button size="mini" v-if="false" @click="errorHandle">误操作</el-button>
</el-button-group>
</div>
</div>
</div>
</div>
<div class="item rowFlex columnCenter">
<div class="rowFlex columnCenter">
<span class="label" style="min-width: 45px;">备注:</span>
<p
v-if="!showInputRemark"
class="text"
style="max-width: 170px;"
>
{{
chatUserDetails.remark && chatUserDetails.remark != ""
? chatUserDetails.remark
: chatUserDetails.name
}}
</p>
<div class="item rowFlex columnCenter">
<div class="rowFlex columnCenter">
<span class="label" style="min-width: 45px;">备注:</span>
<p v-if="!showInputRemark" class="text" style="max-width: 170px;">
{{
chatUserDetails.remark && chatUserDetails.remark != ""
? chatUserDetails.remark
: chatUserDetails.name
}}
</p>
</div>
<el-input v-if="showInputRemark" v-model="showInputRemarkValue" class="showInputRemarkInput" type="textarea"
@change="handleInputRemark" @blur="showInputRemark = false"></el-input>
<i class="el-icon-edit icon" style="font-size: 14px" @click="editRemark"></i>
</div>
<el-input
v-if="showInputRemark"
v-model="showInputRemarkValue"
class="showInputRemarkInput"
type="textarea"
@change="handleInputRemark"
@blur="showInputRemark = false"
></el-input>
<i class="el-icon-edit icon" style="font-size: 14px"
@click="editRemark"></i>
</div>
<div>
<!-- 自定义列 -->
<!-- <div v-if="false">
<div>
<!-- 自定义列 -->
<!-- <div v-if="false">
<div
v-for="(item, index) in chatUserDetails.self_defined_columns"
:key="index"
......@@ -137,162 +108,129 @@
@click="inputShow(item, index)"></i>
</div>
</div> -->
<!-- 游戏业务的账号信息 -->
<gameDetails
v-if="gameUserInfo.username && !viewLoading"
:chat-user-details="chatUserDetails"
:game-user-info="gameUserInfo"
@changeAppraisal="changeAppraisal"
/>
<!-- 游戏标签 -->
<div
class="item rowFlex columnCenter spaceBetween tagsLost"
>
<div class="rowFlex">
<span class="label">关联标签:</span>
<div
v-if="
<!-- 游戏业务的账号信息 -->
<gameDetails v-if="gameUserInfo.username && !viewLoading" :chat-user-details="chatUserDetails"
:game-user-info="gameUserInfo" @changeAppraisal="changeAppraisal" />
<!-- 游戏标签 -->
<div class="item rowFlex columnCenter spaceBetween tagsLost">
<div class="rowFlex">
<span class="label">关联标签:</span>
<div v-if="
chatUserDetails.tag_group &&
chatUserDetails.tag_group.length > 0
"
>
<!-- 第一个标签组的所有标签 -->
<el-tag
v-for="(items, indexs) in chatUserDetails.tag_group[0].tag"
:key="indexs"
>{{ items.name }}</el-tag>
<!-- 如果有多个标签组,显示+n -->
<el-popover
v-if="chatUserDetails.tag_group.length > 1"
placement="top"
trigger="hover"
popper-class="tag-popover"
>
<div class="groups-popover-content" style="max-height: 600px;overflow-y: auto;">
<div
v-for="(group, groupIndex) in chatUserDetails.tag_group.slice(1)"
:key="groupIndex"
class="group-item"
>
<el-tag
v-for="(tagItem, tagIndex) in group.tag"
:key="tagIndex"
style="margin-right: 10px;"
>{{ tagItem.name }}</el-tag>
chatUserDetails.tag_group.length > 0
">
<!-- 第一个标签组的所有标签 -->
<el-tag v-for="(items, indexs) in chatUserDetails.tag_group[0].tag" :key="indexs">{{ items.name
}}</el-tag>
<!-- 如果有多个标签组,显示+n -->
<el-popover v-if="chatUserDetails.tag_group.length > 1" placement="top" trigger="hover"
popper-class="tag-popover">
<div class="groups-popover-content" style="max-height: 600px;overflow-y: auto;">
<div v-for="(group, groupIndex) in chatUserDetails.tag_group.slice(1)" :key="groupIndex"
class="group-item">
<el-tag v-for="(tagItem, tagIndex) in group.tag" :key="tagIndex" style="margin-right: 10px;">{{
tagItem.name }}</el-tag>
</div>
</div>
</div>
<span
slot="reference"
class="tag-more"
>+{{ chatUserDetails.tag_group.length - 1 }}</span>
</el-popover>
<span slot="reference" class="tag-more">+{{ chatUserDetails.tag_group.length - 1 }}</span>
</el-popover>
</div>
</div>
<i class="el-icon-edit icon" style="font-size: 14px;margin-right: 10px;" @click="editTags"></i>
</div>
<i class="el-icon-edit icon" style="font-size: 14px;margin-right: 10px;"
@click="editTags"></i>
<!-- 共享信息 -->
<shareInfo :chat-user-details="chatUserDetails" />
</div>
<!-- 共享信息 -->
<shareInfo :chat-user-details="chatUserDetails" />
</div>
</div>
</div>
<!-- 修改手机号 -->
<changePhone
:show.sync="changePhone"
:phone.sync="gameUserInfo.mobile"
title="修改手机号"
width="350px"
/>
<!-- 修改手机号 -->
<changePhone :show.sync="changePhone" :phone.sync="gameUserInfo.mobile" title="修改手机号" width="350px" />
<!-- 修改标签 -->
<selectTag
v-if="showTag"
:show.sync="showTag"
:checkbox="true"
:check-list="chatUserDetails.tag_group || []"
@submit="selectTags"
/>
</div>
</template>
<script>
import { mapState, mapMutations, mapActions } from 'vuex'
import gameDetails from './gameInfo/gameUserInfo.vue'
import shareInfo from './shareInfo.vue'
<selectTag v-if="showTag" :show.sync="showTag" :checkbox="true" :check-list="chatUserDetails.tag_group || []"
@submit="selectTags" />
</div>
</template>
<script>
import { mapState, mapMutations, mapActions } from 'vuex'
import gameDetails from './gameInfo/gameUserInfo.vue'
import shareInfo from './shareInfo.vue'
import changePhone from './changePhone.vue'
import watchMember from '@/mixins/watchMember'
import { autoResetPassword,bindUserSelfAdd } from '@/api/game'
import { memberBindCser,editUser,zyouUnBind } from '@/api/works'
import selectTag from '@/components/selectTag.vue'
import { getClientStatus, remarkSessionIntelTag, finishRest, client_session_rest, checkSingleAgree, checkUserPermit, sendComment, logout } from '@/api/user.js'
import { sendChatMessage } from '@/utils/index.js'
import { getToken,removeToken } from '@/utils/auth'
export default {
name: 'info',
components: {
gameDetails,
import { autoResetPassword, bindUserSelfAdd } from '@/api/game'
import { memberBindCser, editUser, zyouUnBind } from '@/api/works'
import selectTag from '@/components/selectTag.vue'
import { getClientStatus, remarkSessionIntelTag, finishRest, client_session_rest, checkSingleAgree, checkUserPermit, sendComment, logout } from '@/api/user.js'
import { sendChatMessage } from '@/utils/index.js'
import { getToken, removeToken } from '@/utils/auth'
import Cookies from 'js-cookie'
export default {
name: 'info',
components: {
gameDetails,
changePhone,
shareInfo,
selectTag
},
props: {
// 用户详情
chatUserDetails: {
type: Object,
default: () => ({})
},
},
data() {
return {
// 备注相关
showInputRemark: false,
showInputRemarkValue: '',
change_appraisal:false,
// 自定义列相关
showInput: false,
showInputValue: '',
inputIndex: -1,
changePhone:false,
showTag:false,
// 新增状态数据
agreeStatus: '', // 用户是否同意聊天内容存档:Agreen同意 Disagree不同意
hasPermit: false, // 客服号是否开启会话内容存档权限
}
},
computed: {
...mapState('game', [
'accountSelect',
'gameUserInfo',
'bindGameUserList',
'viewLoading'
]),
...mapState('user', ['cser_info', 'cser_id', 'cser_name', 'corp_id', 'external_userid', 'userid', 'client_online_status','token']),
// 客服状态文本
clientStatusText() {
const statusMap = {
'online': '在线',
'offline': '离线',
'rest': '休息中'
}
return statusMap[this.client_online_status] || '未知'
},
// 客服休息状态:online上线 offline下线 rest休息中
clientStatus() {
return this.client_online_status
},
},
mixins: [watchMember],
mounted() {
shareInfo,
selectTag
},
props: {
// 用户详情
chatUserDetails: {
type: Object,
default: () => ({})
},
},
data() {
return {
// 备注相关
showInputRemark: false,
showInputRemarkValue: '',
change_appraisal: false,
// 自定义列相关
showInput: false,
showInputValue: '',
inputIndex: -1,
changePhone: false,
showTag: false,
// 新增状态数据
agreeStatus: '', // 用户是否同意聊天内容存档:Agreen同意 Disagree不同意
hasPermit: false, // 客服号是否开启会话内容存档权限
}
},
computed: {
...mapState('game', [
'accountSelect',
'gameUserInfo',
'bindGameUserList',
'viewLoading'
]),
...mapState('user', ['cser_info', 'cser_id', 'cser_name', 'corp_id', 'external_userid', 'userid', 'client_online_status', 'token']),
// 客服状态文本
clientStatusText() {
const statusMap = {
'online': '在线',
'offline': '离线',
'rest': '休息中'
}
return statusMap[this.client_online_status] || '未知'
},
// 客服休息状态:online上线 offline下线 rest休息中
clientStatus() {
return this.client_online_status
},
},
mixins: [watchMember],
mounted() {
// 初始化企业微信SDK
this.initializeWecom()
// 获取客服状态和相关信息
if(this.cser_id && this.token){
// 获取客服状态和相关信息
if (this.cser_id && this.token) {
this.getInitialData()
}
},
methods: {
}
},
methods: {
...mapMutations('game', ['set_accountSelect']),
...mapActions('user', ['initWecom']),
// 初始化企业微信SDK
async initializeWecom() {
try {
......@@ -303,8 +241,8 @@ import { getToken,removeToken } from '@/utils/auth'
console.error('❌ 企业微信 SDK 初始化失败:', error)
}
},
logout(){
if(this.client_online_status === 'rest'){
logout() {
if (this.client_online_status === 'rest') {
this.$message({
type: 'error',
message: '当前客服号处于休息状态,不能下线'
......@@ -318,58 +256,60 @@ import { getToken,removeToken } from '@/utils/auth'
}).then(() => {
this.userLogout()
}).catch(() => {
this.$message({
type: 'info',
message: '已取消'
})
this.$message({
type: 'info',
message: '已取消'
})
})
},
async userLogout(){
async userLogout() {
const data = {
userid: this.userid,
}
const res = await logout(data)
if(res.status_code === 1){
if (res.status_code === 1) {
this.$message({
type: 'success',
message: '下线成功'
})
removeToken()
window.location.href = window.location.origin +'/company_app/index.html?corp_id='+this.corp_id
}else{
Cookies.clear()
window.location.href = window.location.origin + '/company_app/index.html?corp_id=' + this.corp_id
} else {
this.$message({
type: 'error',
message: '下线失败'
})
}
},
// 获取初始数据
async getInitialData() {
try {
// 1. 获取客服休息状态
const statusRes = await getClientStatus()
if (statusRes.status_code === 1) {
if(statusRes.data.client_online_status === 'offline'){
if (statusRes.data.client_online_status === 'offline') {
removeToken()
window.location.href = window.location.origin +'/company_app/index.html?corp_id='+this.corp_id
window.location.href = window.location.origin + '/company_app/index.html?corp_id=' + this.corp_id
}
this.$store.commit('user/set_client_online_status', statusRes.data.client_online_status)
}
// 2. 同步智能标签
this.syncIntelligentTags()
// 3. 检查用户是否同意聊天内容存档
this.checkAgreeStatus()
// 4. 检查客服号是否开启会话内容存档
this.checkPermitStatus()
} catch (error) {
console.error('获取初始数据失败:', error)
}
},
// 同步智能标签
async syncIntelligentTags() {
try {
......@@ -383,7 +323,7 @@ import { getToken,removeToken } from '@/utils/auth'
console.error('智能标签同步失败:', error)
}
},
// 检查用户是否同意聊天内容存档
async checkAgreeStatus() {
try {
......@@ -398,7 +338,7 @@ import { getToken,removeToken } from '@/utils/auth'
console.error('检查用户同意状态失败:', error)
}
},
// 检查客服号是否开启会话内容存档
async checkPermitStatus() {
try {
......@@ -412,7 +352,7 @@ import { getToken,removeToken } from '@/utils/auth'
console.error('检查客服权限失败:', error)
}
},
// 开始休息
async handleStartRest() {
try {
......@@ -428,7 +368,7 @@ import { getToken,removeToken } from '@/utils/auth'
this.$message.error('开始休息失败')
}
},
// 结束休息
async handleFinishRest() {
try {
......@@ -444,7 +384,7 @@ import { getToken,removeToken } from '@/utils/auth'
this.$message.error('结束休息失败')
}
},
// 发送评价
async handleSendComment() {
try {
......@@ -453,7 +393,7 @@ import { getToken,removeToken } from '@/utils/auth'
external_userid: this.external_userid,
userid: this.userid
})
if (res.status_code === 1 && res.data.news) {
// 使用企业微信JSSDK发送评价
const result = await sendChatMessage(res.data.news, 'link')
......@@ -470,12 +410,12 @@ import { getToken,removeToken } from '@/utils/auth'
this.$message.error('发送评价失败')
}
},
memberChange() {
this.requestBindUser()
},
// 解绑确认
zyouUnBindConfirm() {
// 解绑确认
zyouUnBindConfirm() {
this.$confirm('确定要解绑当前账号么?', '确认提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
......@@ -514,12 +454,12 @@ import { getToken,removeToken } from '@/utils/auth'
if (res.status_code == 1) {
this.$message.success(res.msg)
const index = this.bindGameUserList.findIndex(item => item.member_id == this.accountSelect)
this.bindGameUserList.splice(index,1)
this.bindGameUserList.splice(index, 1)
this.set_accountSelect(this.bindGameUserList[0].member_id)
}
})
},
// 修改密码 之前是客服手动设置密码 现在改成系统自动设置密码
// 修改密码 之前是客服手动设置密码 现在改成系统自动设置密码
autoResetPassword() {
this.$confirm('确认重置密码吗?密码重置后玩家将无法登录,请谨慎操作!', '重置密码', {
confirmButtonText: '确定',
......@@ -542,12 +482,12 @@ import { getToken,removeToken } from '@/utils/auth'
})
})
},
// 修改手机号
changePhoneClick() {
// 修改手机号
changePhoneClick() {
this.changePhone = true
},
// 关联客服
relationKfh() {
},
// 关联客服
relationKfh() {
const username = this.bindGameUserList.find(
(item) => item.value == this.accountSelect
)
......@@ -564,20 +504,20 @@ import { getToken,removeToken } from '@/utils/auth'
}
})
},
// 误操作处理
errorHandle() {
this.$emit('error-handle')
},
// 编辑备注
editRemark() {
this.showInputRemark = true
this.showInputRemarkValue = this.chatUserDetails.remark || this.chatUserDetails.name
this.$nextTick(() => {
// 误操作处理
errorHandle() {
this.$emit('error-handle')
},
// 编辑备注
editRemark() {
this.showInputRemark = true
this.showInputRemarkValue = this.chatUserDetails.remark || this.chatUserDetails.name
this.$nextTick(() => {
// document.querySelector('.showInputRemarkInput input').focus()
})
},
// 处理备注输入
handleInputRemark(val) {
})
},
// 处理备注输入
handleInputRemark(val) {
this.showInputRemark = false
this.chatUserDetails.remark = this.showInputRemarkValue
const data = {
......@@ -599,33 +539,33 @@ import { getToken,removeToken } from '@/utils/auth'
}
})
},
// 显示自定义列输入
inputShow(item, index) {
this.showInput = true
this.inputIndex = index
this.showInputValue = item.value
this.$nextTick(() => {
document.querySelectorAll('input')[0].focus()
})
},
// 处理自定义列输入
handleInput(item, index) {
this.$emit('update-custom-column', {
item,
index,
value: this.showInputValue
})
this.showInput = false
},
// 编辑标签
editTags() {
// 显示自定义列输入
inputShow(item, index) {
this.showInput = true
this.inputIndex = index
this.showInputValue = item.value
this.$nextTick(() => {
document.querySelectorAll('input')[0].focus()
})
},
// 处理自定义列输入
handleInput(item, index) {
this.$emit('update-custom-column', {
item,
index,
value: this.showInputValue
})
this.showInput = false
},
// 编辑标签
editTags() {
this.showTag = true
},
// 处理评估变更
changeAppraisal(val) {
},
// 处理评估变更
changeAppraisal(val) {
this.change_appraisal = val
},
// 选择的标签
},
// 选择的标签
selectTags(data, is_tag_sync) {
this.chatUserDetails.tag_group = data
const params = {
......@@ -638,75 +578,86 @@ import { getToken,removeToken } from '@/utils/auth'
}
this.editUserInfo(params)
},
}
}
</script>
}
}
</script>
<style lang="scss" scoped>
.info-tab-content{
.info-tab-content {
width: 100%;
height: 100%;
background: #fff;
}
.userDetailsPanel {
width: 100%;
height: 100%;
background-color: #fff;
border-radius: 4px;
overflow: hidden;
.warnText{
width:100%;
height:auto;
.warnText {
width: 100%;
height: auto;
font-weight: 600;
font-size: 18px;
p{
p {
color: #F56C6C;
line-height: 25px;
}
}
.cser_name{
.cser_name {
font-size: 14px;
margin-bottom: 10px;
}
.cser_status {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
font-size: 14px;
.status-actions {
display: flex;
gap: 10px;
}
}
.archive-status {
margin-bottom: 15px;
padding: 8px;
background-color: #f8f8f8;
border-radius: 4px;
font-size: 14px;
p {
margin: 5px 0;
color: #F56C6C;
font-weight: 600;
}
}
.detailsTitle {
height: 50px;
padding: 0 20px;
border-bottom: 1px solid #eee;
p {
font-size: 16px;
font-weight: 600;
}
}
.warnText{
width:100%;
height:auto;
.warnText {
width: 100%;
height: auto;
font-weight: 600;
font-size: 18px;
margin-bottom: 10px;
p{
p {
color: #F56C6C;
line-height: 25px;
}
......@@ -717,6 +668,7 @@ import { getToken,removeToken } from '@/utils/auth'
height: 100%;
overflow-y: auto;
overflow-x: hidden;
.item {
margin-bottom: 15px;
position: relative;
......@@ -740,10 +692,11 @@ import { getToken,removeToken } from '@/utils/auth'
}
.noBind {
color: #3491FA ;
color: #3491FA;
cursor: pointer;
margin-right: 10px;
}
.icon {
cursor: pointer;
margin-left: 10px;
......@@ -753,8 +706,10 @@ import { getToken,removeToken } from '@/utils/auth'
.tags {
max-width: 200px;
.tagsItem {
margin-bottom: 5px;
.tag {
background-color: #f5f5f5;
color: #666;
......@@ -767,6 +722,7 @@ import { getToken,removeToken } from '@/utils/auth'
}
}
}
.item:hover .icon {
display: block;
}
......@@ -820,7 +776,7 @@ import { getToken,removeToken } from '@/utils/auth'
display: flex;
flex-wrap: wrap;
max-width: 200px;
.tag-item {
background-color: #f5f5f5;
color: #666;
......@@ -836,19 +792,20 @@ import { getToken,removeToken } from '@/utils/auth'
display: flex;
flex-direction: column;
max-width: 300px;
.group-item {
display: flex;
flex-wrap: wrap;
margin-bottom: 8px;
padding-bottom: 8px;
border-bottom: 1px dashed #eee;
&:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
.tag-item {
background-color: #f5f5f5;
color: #666;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论