tremble 2 年 前
コミット
db112ec2dd

+ 3 - 1
packages/qjkankan-kankan-view/src/components/Tags/index.vue

@@ -6,7 +6,9 @@
                 <div class="content">
                     <div class="trans" :class="{ active: (isFixed && hotData && tag.sid == hotData.sid) || (showInfo && hotData && tag.sid == hotData.sid) }">
                         <template v-if="hotData && tag.sid == hotData.sid && !showMsg">
-                            <div class="arrow" :id="`arrow_${tag.sid}`"></div>
+                            <div class="arrow" :id="`arrow_${tag.sid}`">
+                                <ui-icon @click.stop="closeTag" v-if="getApp().config.mobile" type="close"></ui-icon>
+                            </div>
                             <ShowTag @click.stop="" v-if="!isEdit && hotData" @open="openInfo" />
                         </template>
                     </div>

+ 3 - 1
packages/qjkankan-view/src/utils/browser.js

@@ -322,7 +322,9 @@ var browser = {
         //阿里系
         return window.navigator.userAgent.toLowerCase().match(/Alipay/i) == 'alipay'
     },
-
+    detectEdge: function () {
+        return window.navigator.userAgent.indexOf("Edge") > -1;
+    },
     detectTT: function () {
         //字节跳动 
         return window.navigator.userAgent