From 026fa8bacfd6f469f0c2ff91263da316dc8b194d Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期一, 05 八月 2024 12:42:24 +0800 Subject: [PATCH] fix: 修改闭合标签 --- src/views/dmx/knowledgeLib/tool.vue | 167 ++++++++++++++++++++++++++++++------------------------- 1 files changed, 90 insertions(+), 77 deletions(-) diff --git a/src/views/dmx/knowledgeLib/tool.vue b/src/views/dmx/knowledgeLib/tool.vue index fd4e192..0fba016 100644 --- a/src/views/dmx/knowledgeLib/tool.vue +++ b/src/views/dmx/knowledgeLib/tool.vue @@ -65,11 +65,6 @@ <a-form-item field="prompt" label="鎻愮ず璇�"> <a-textarea v-model="form.prompt" - style=" - height: 10rem; - border: 1px solid var(--color-fill-3); - border-radius: 4px; - " placeholder="璇峰~鍐欐彁绀鸿瘝" /> </a-form-item> @@ -272,35 +267,24 @@ /> </div> </div> - </div> - <a-divider style="margin-top: 10px" /> - <div class="groupMain"> - <a-checkbox-group v-model="data" @change="handleChange" > - <div class="groupList"> - <a-checkbox value="1"></a-checkbox> - <div class="groupList-content" @click="groupListContentClick('1')" @dblclick="contentClick(1)"> - 鑰� stable version 鏄渶鏂扮ǔ瀹氱増锛岀粡杩囧厖鍒嗘祴璇曞拰楠岃瘉锛宐ug 杈冨皯锛� - 閫傚悎鐢ㄤ簬鐢熶骇鐜銆傚叾鐗堟湰鍙烽�氬父涓哄弻鏁帮紝濡� 1.26銆俵egacy versions - 鍒欐槸涔嬪墠鍙戝竷鐨勭ǔ瀹氱増锛屽浜庨渶瑕� - 鐗瑰畾鏃х増鏈殑鍏煎鎬ф垨瀹夊叏鎬ф敮鎸佺殑鐢ㄦ埛鏈夌敤锛屼絾涓�鑸笉 - 鎺ㄨ崘鐢ㄤ簬鏂伴」鐩紝闄ら潪鏈夌壒娈婇渶姹傘�傚湪瀹為檯浣跨敤涓紝濡傛灉杩芥眰鏈�鏂板姛鑳� - 涓旀効鎰忛潰瀵瑰彲鑳藉瓨鍦ㄧ殑涓�浜涗笉绋冲畾鍥犵礌锛屽彲浠ュ皾璇曚娇鐢ㄤ富绾跨増鏈繘琛屾祴璇曞拰鐮旂┒锛涘鏋滄槸鐢ㄤ簬鐢熶骇鐜 - </div> - <div class="groupList-right"> - <a-switch v-model="switchType" checked-value="1" unchecked-value="0" @change="handleChangeStatus()"/> - </div> - </div> - - <div class="groupList"> - <a-checkbox value="1"></a-checkbox> - <div class="groupList-content" @click="groupListContentClick('2')" @dblclick="contentClick(1)"> - 鑰� stable version 鏄渶鏂扮ǔ瀹氱増锛岀粡杩囧厖鍒嗘祴璇曞拰楠岃瘉锛宐ug 杈冨皯锛� - 閫傚悎鐢ㄤ簬鐢熶骇鐜銆傚叾鐗堟湰鍙烽�氬父涓哄弻鏁帮紝濡� 1.26銆俵egacy versions - 鍒欐槸涔嬪墠鍙戝竷鐨勭ǔ瀹氱増锛屽浜庨渶瑕� - </div> - <div class="groupList-right"> - <a-switch v-model="switchType" checked-value="1" unchecked-value="0" @change="handleChangeStatus()"/> - </div> + </a-checkbox-group> + </div> + <a-divider style="margin-top: 10px" /> + <div class="groupMain"> + <a-checkbox-group v-model="data" @change="handleChange"> + <div class="groupList"> + <a-checkbox value="1"></a-checkbox> + <div + class="groupList-content" + @click="groupListContentClick('1')" + @dblclick="contentClick(1)" + > + 鑰� stable version 鏄渶鏂扮ǔ瀹氱増锛岀粡杩囧厖鍒嗘祴璇曞拰楠岃瘉锛宐ug 杈冨皯锛� + 閫傚悎鐢ㄤ簬鐢熶骇鐜銆傚叾鐗堟湰鍙烽�氬父涓哄弻鏁帮紝濡� 1.26銆俵egacy versions + 鍒欐槸涔嬪墠鍙戝竷鐨勭ǔ瀹氱増锛屽浜庨渶瑕� + 鐗瑰畾鏃х増鏈殑鍏煎鎬ф垨瀹夊叏鎬ф敮鎸佺殑鐢ㄦ埛鏈夌敤锛屼絾涓�鑸笉 + 鎺ㄨ崘鐢ㄤ簬鏂伴」鐩紝闄ら潪鏈夌壒娈婇渶姹傘�傚湪瀹為檯浣跨敤涓紝濡傛灉杩芥眰鏈�鏂板姛鑳� + 涓旀効鎰忛潰瀵瑰彲鑳藉瓨鍦ㄧ殑涓�浜涗笉绋冲畾鍥犵礌锛屽彲浠ュ皾璇曚娇鐢ㄤ富绾跨増鏈繘琛屾祴璇曞拰鐮旂┒锛涘鏋滄槸鐢ㄤ簬鐢熶骇鐜 </div> <div class="groupList-right"> <a-switch @@ -310,6 +294,35 @@ @change="handleChangeStatus()" /> </div> + </div> + + <div class="groupList"> + <a-checkbox value="1"></a-checkbox> + <div + class="groupList-content" + @click="groupListContentClick('2')" + @dblclick="contentClick(1)" + > + 鑰� stable version 鏄渶鏂扮ǔ瀹氱増锛岀粡杩囧厖鍒嗘祴璇曞拰楠岃瘉锛宐ug 杈冨皯锛� + 閫傚悎鐢ㄤ簬鐢熶骇鐜銆傚叾鐗堟湰鍙烽�氬父涓哄弻鏁帮紝濡� 1.26銆俵egacy versions + 鍒欐槸涔嬪墠鍙戝竷鐨勭ǔ瀹氱増锛屽浜庨渶瑕� + </div> + <div class="groupList-right"> + <a-switch + v-model="switchType" + checked-value="1" + unchecked-value="0" + @change="handleChangeStatus()" + /> + </div> + </div> + <div class="groupList-right"> + <a-switch + v-model="switchType" + checked-value="1" + unchecked-value="0" + @change="handleChangeStatus()" + /> </div> </a-checkbox-group> </div> @@ -486,71 +499,71 @@ </script> <style scoped lang="less"> -.parser{ - width: 100%; - ::v-deep .arco-btn-outline:hover, .arco-btn-outline, .arco-btn-outline[type='button']{ - color: #2a2a2b; - border: 1px solid #2a2a2b; - } - .button{ - //color: #2a2a2b!important; - } -} -.groupMain{ - width: 100%; - height: 500px; - overflow: auto; - display: flex; - justify-content: center; - .groupList{ - display: flex; - padding: 24px; - border-radius: 8px; - //background: #eff8ff; - border: 1px solid var(--color-neutral-3); - margin-bottom: 20px; - overflow: auto; - .groupList-content{ - width: 700px; - //height: 100px; - overflow: auto; - box-sizing: border-box; - margin: 0; - padding: 0; - color: var(--color-text-1); - font-size: 14px; - font-family: Inter; - position: relative; - - + .parser{ + width: 100%; + ::v-deep .arco-btn-outline:hover, .arco-btn-outline, .arco-btn-outline[type='button']{ + color: #2a2a2b; + border: 1px solid #2a2a2b; + } + .button{ + //color: #2a2a2b!important; } } - .groupMain { + .groupMain{ width: 100%; height: 500px; overflow: auto; display: flex; justify-content: center; - .groupList { + .groupList{ display: flex; padding: 24px; border-radius: 8px; //background: #eff8ff; - border: 1px solid #f0f0f0; + border: 1px solid var(--color-neutral-3); margin-bottom: 20px; overflow: auto; - .groupList-content { + .groupList-content{ width: 700px; //height: 100px; overflow: auto; box-sizing: border-box; margin: 0; padding: 0; - color: rgba(0, 0, 0, 0.88); + color: var(--color-text-1); font-size: 14px; font-family: Inter; position: relative; + + } } - } + .groupMain { + width: 100%; + height: 500px; + overflow: auto; + display: flex; + justify-content: center; + .groupList { + display: flex; + padding: 24px; + border-radius: 8px; + //background: #eff8ff; + border: 1px solid #f0f0f0; + margin-bottom: 20px; + overflow: auto; + .groupList-content { + width: 700px; + //height: 100px; + overflow: auto; + box-sizing: border-box; + margin: 0; + padding: 0; + color: rgba(0, 0, 0, 0.88); + font-size: 14px; + font-family: Inter; + position: relative; + } + } + } </style> -- Gitblit v1.8.0