Parcourir la source

refactor(ticketList): fix style and add tooltip content

LaveyD il y a 5 jours
Parent
commit
56f639877f
1 fichiers modifiés avec 10 ajouts et 1 suppressions
  1. 10 1
      src/pages/sellManage/common/TicketList.vue

+ 10 - 1
src/pages/sellManage/common/TicketList.vue

@@ -160,7 +160,15 @@
                 :content="getTicketTip(item)"
                 placement="top"
                 effect="dark">
-                <span @click.stop="showTicketInfo(item)">
+                <div slot="content">
+                  <div>
+                    {{ item.name }}
+                  </div>
+                  <div>
+                    {{ getTicketTip(item) }}
+                  </div>
+                </div>
+                <span>
                   {{ item.name }}
                 </span>
               </el-tooltip>
@@ -820,6 +828,7 @@ export default {
           .title {
             width: calc(100% - 80px);
             margin-top: 4px;
+            display: flex;
 
             span {
               overflow: hidden;