优化页面
This commit is contained in:
@@ -1 +1 @@
|
||||
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const n=require("./server.js");Math||t();const t=()=>"../../common/Icon.js",o=e.defineComponent({__name:"index",setup(t,{expose:o}){const c=e.ref([]),r=e.ref(),a=e.computed((()=>n.ConversationHeaderServer.getInstance().getMenu()));e.onMounted((()=>{c.value=[]}));const d=e=>{const{data:{children:n},listener:t={onClicked:()=>{}}}=e;n?c.value=c.value.length>0?[]:n:(t.onClicked(e),i())},i=()=>{c.value=[]};return o({closeChildren:i}),(n,t)=>e.e({a:e.unref(a).length>0},e.unref(a).length>0?{b:e.f(e.unref(a),((n,t,o)=>e.e({a:n.icon&&!n.data.children},n.icon&&!n.data.children?{b:"4401d0ac-0-"+o,c:e.p({file:n.icon})}:{},{d:e.t(n.text),e:e.o$1((e=>d(n)),t),f:t})))}:{},{c:e.unref(c).length>0},e.unref(c).length>0?{d:e.f(e.unref(c),((n,t,o)=>e.e({a:n.icon},n.icon?{b:"4401d0ac-1-"+o,c:e.p({file:n.icon})}:{},{d:e.t(n.text),e:e.o$1((e=>d(n)),t),f:t})))}:{},{e:e.unref(r)})}}),c=e._export_sfc(o,[["__scopeId","data-v-4401d0ac"]]);wx.createComponent(c);
|
||||
"use strict";const e=require("../../../../common/vendor.js");require("../../../adapter-vue.js");const r=require("./server.js"),n=e.defineComponent({__name:"index",setup(n,{expose:o}){const t=e.ref([]);e.ref(),e.computed((()=>r.ConversationHeaderServer.getInstance().getMenu())),e.onMounted((()=>{t.value=[]}));return o({closeChildren:()=>{t.value=[]}}),(e,r)=>({})}}),o=e._export_sfc(n,[["__scopeId","data-v-07ead678"]]);wx.createComponent(o);
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"icon": "../../common/Icon"
|
||||
}
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<view ref="{{e}}" class="tui-conversation-header data-v-4401d0ac"><view wx:if="{{a}}" class="list data-v-4401d0ac"><view wx:for="{{b}}" wx:for-item="item" wx:key="f" class="list-item data-v-4401d0ac"><view class="tui-conversation-header-item data-v-4401d0ac" catchtap="{{item.e}}"><icon wx:if="{{item.a}}" class="tui-conversation-header-item-icon data-v-4401d0ac" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/><view wx:else class="plus data-v-4401d0ac"/><view class="tui-conversation-header-item-title data-v-4401d0ac">{{item.d}}</view></view></view></view><view wx:if="{{c}}" class="tui-conversation-header-children list data-v-4401d0ac"><view wx:for="{{d}}" wx:for-item="childrenItem" wx:key="f" class="list-item data-v-4401d0ac"><view class="tui-conversation-header-item data-v-4401d0ac" bindtap="{{childrenItem.e}}"><icon wx:if="{{childrenItem.a}}" class="tui-conversation-header-item-icon data-v-4401d0ac" u-i="{{childrenItem.b}}" bind:__l="__l" u-p="{{childrenItem.c}}"/><view class="tui-conversation-header-item-title data-v-4401d0ac">{{childrenItem.d}}</view></view></view></view></view>
|
||||
@@ -1 +1 @@
|
||||
body.data-v-4401d0ac,div.data-v-4401d0ac,ul.data-v-4401d0ac,ol.data-v-4401d0ac,dt.data-v-4401d0ac,dd.data-v-4401d0ac,li.data-v-4401d0ac,dl.data-v-4401d0ac,h1.data-v-4401d0ac,h2.data-v-4401d0ac,h3.data-v-4401d0ac,h4.data-v-4401d0ac,p.data-v-4401d0ac{margin:0;padding:0;font-style:normal}ol.data-v-4401d0ac,ul.data-v-4401d0ac,li.data-v-4401d0ac{list-style:none}img.data-v-4401d0ac{border:0;vertical-align:middle;pointer-events:none}body.data-v-4401d0ac{color:#000;background:#fff}.clear.data-v-4401d0ac{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-4401d0ac{color:#000;text-decoration:none;cursor:pointer}a.data-v-4401d0ac:hover{text-decoration:none}input.data-v-4401d0ac,textarea.data-v-4401d0ac{-webkit-user-select:auto;user-select:auto}input.data-v-4401d0ac:focus,input.data-v-4401d0ac:active,textarea.data-v-4401d0ac:focus,textarea.data-v-4401d0ac:active{outline:none}.chat-aside.data-v-4401d0ac{position:absolute;top:50px;right:0;box-sizing:border-box;width:360px!important;border-radius:8px 0 0 8px;z-index:9999;max-height:calc(100% - 50px)}.tui-conversation.data-v-4401d0ac{width:100%;height:100%;flex:1;overflow:hidden;display:flex;flex-direction:column}.tui-conversation-list.data-v-4401d0ac{overflow:auto}.tui-conversation-header.data-v-4401d0ac{width:100%;position:relative}.tui-conversation-header .list.data-v-4401d0ac{display:flex;align-items:center;border-bottom:1px solid #F4F5F9;padding:7px 0}.tui-conversation-header .list-item.data-v-4401d0ac{flex:1;display:flex;position:relative;padding:7px;cursor:pointer;-webkit-user-select:none;user-select:none}.tui-conversation-header-item.data-v-4401d0ac{flex:1;display:flex;align-items:center}.tui-conversation-header-item-title.data-v-4401d0ac{padding:0 8px;font-size:16px;font-weight:400}.tui-conversation-header-children.data-v-4401d0ac{position:absolute;top:100%;z-index:3;padding:7px 9px;border-bottom:none;box-shadow:0 3px 7px rgba(0,0,0,.2);flex-direction:column}.network.data-v-4401d0ac{padding:0 12px;display:flex;align-items:center}.network .icon-error.data-v-4401d0ac{display:flex;justify-content:center;align-items:center;width:15px;height:15px;border-radius:15px;color:#fff;font-style:normal}.network-content.data-v-4401d0ac{padding:5px;font-size:12px;line-height:22px}.plus.data-v-4401d0ac{display:inline-block;width:30px;height:30px;position:relative}.plus.data-v-4401d0ac:before,.plus.data-v-4401d0ac:after{content:"";position:absolute;background-color:#232832;border-radius:.5px;width:1px;height:14px;left:0;right:0;top:0;bottom:0;margin:auto}.plus.data-v-4401d0ac:after{transform:rotate(90deg);width:.5px}.network-content.data-v-4401d0ac{font-family:PingFangSC-Regular;font-weight:400;color:#e54545;letter-spacing:0}
|
||||
body.data-v-07ead678,div.data-v-07ead678,ul.data-v-07ead678,ol.data-v-07ead678,dt.data-v-07ead678,dd.data-v-07ead678,li.data-v-07ead678,dl.data-v-07ead678,h1.data-v-07ead678,h2.data-v-07ead678,h3.data-v-07ead678,h4.data-v-07ead678,p.data-v-07ead678{margin:0;padding:0;font-style:normal}ol.data-v-07ead678,ul.data-v-07ead678,li.data-v-07ead678{list-style:none}img.data-v-07ead678{border:0;vertical-align:middle;pointer-events:none}body.data-v-07ead678{color:#000;background:#fff}.clear.data-v-07ead678{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a.data-v-07ead678{color:#000;text-decoration:none;cursor:pointer}a.data-v-07ead678:hover{text-decoration:none}input.data-v-07ead678,textarea.data-v-07ead678{-webkit-user-select:auto;user-select:auto}input.data-v-07ead678:focus,input.data-v-07ead678:active,textarea.data-v-07ead678:focus,textarea.data-v-07ead678:active{outline:none}.chat-aside.data-v-07ead678{position:absolute;top:50px;right:0;box-sizing:border-box;width:360px!important;border-radius:8px 0 0 8px;z-index:9999;max-height:calc(100% - 50px)}.tui-conversation.data-v-07ead678{width:100%;height:100%;flex:1;overflow:hidden;display:flex;flex-direction:column}.tui-conversation-list.data-v-07ead678{overflow:auto}.tui-conversation-header.data-v-07ead678{width:100%;position:relative}.tui-conversation-header .list.data-v-07ead678{display:flex;align-items:center;border-bottom:1px solid #F4F5F9;padding:7px 0}.tui-conversation-header .list-item.data-v-07ead678{flex:1;display:flex;position:relative;padding:7px;cursor:pointer;-webkit-user-select:none;user-select:none}.tui-conversation-header-item.data-v-07ead678{flex:1;display:flex;align-items:center}.tui-conversation-header-item-title.data-v-07ead678{padding:0 8px;font-size:16px;font-weight:400}.tui-conversation-header-children.data-v-07ead678{position:absolute;top:100%;z-index:3;padding:7px 9px;border-bottom:none;box-shadow:0 3px 7px rgba(0,0,0,.2);flex-direction:column}.network.data-v-07ead678{padding:0 12px;display:flex;align-items:center}.network .icon-error.data-v-07ead678{display:flex;justify-content:center;align-items:center;width:15px;height:15px;border-radius:15px;color:#fff;font-style:normal}.network-content.data-v-07ead678{padding:5px;font-size:12px;line-height:22px}.plus.data-v-07ead678{display:inline-block;width:30px;height:30px;position:relative}.plus.data-v-07ead678:before,.plus.data-v-07ead678:after{content:"";position:absolute;background-color:#232832;border-radius:.5px;width:1px;height:14px;left:0;right:0;top:0;bottom:0;margin:auto}.plus.data-v-07ead678:after{transform:rotate(90deg);width:.5px}.network-content.data-v-07ead678{font-family:PingFangSC-Regular;font-weight:400;color:#e54545;letter-spacing:0}
|
||||
|
||||
Reference in New Issue
Block a user