|
|
@@ -27,10 +27,11 @@
|
|
|
<!-- 第一行:名称、修改、地区 以及 右上角更多操作菜单 -->
|
|
|
<view class="item-top-row">
|
|
|
<!-- 供货商信息 -->
|
|
|
- <view class="title-section" @click.stop="nameModify(item)">
|
|
|
+ <view class="title-section" hover-class="none" @click.stop="nameModify(item)">
|
|
|
<!-- 地区标签 -->
|
|
|
<view
|
|
|
class="location-badge"
|
|
|
+ hover-class="none"
|
|
|
:class="item.location == 1 ? 'badge-local' : 'badge-upstream'"
|
|
|
@click.stop="changeLocation(item)">
|
|
|
{{item.location == 1 ? '本地' : '上游'}}
|
|
|
@@ -41,12 +42,12 @@
|
|
|
|
|
|
<!-- 更多操作菜单 -->
|
|
|
<view class="more-menu-wrap" v-if="tabs[tabIndex].delStatus === 0">
|
|
|
- <view class="more-trigger" @click.stop="toggleMenu(item)">
|
|
|
+ <view class="more-trigger" hover-class="none" @click.stop="toggleMenu(item)">
|
|
|
<text class="more-dots">•••</text>
|
|
|
</view>
|
|
|
<!-- 下拉菜单内容 -->
|
|
|
<view class="more-dropdown" v-if="activeMenuId === item.id">
|
|
|
- <view class="dropdown-item" @click.stop="handleDeleteFromMenu(item)">
|
|
|
+ <view class="dropdown-item" hover-class="none" @click.stop="handleDeleteFromMenu(item)">
|
|
|
<text class="dropdown-icon">🗑</text>
|
|
|
<text class="dropdown-text">删除供货商</text>
|
|
|
</view>
|
|
|
@@ -70,15 +71,16 @@
|
|
|
<!-- 记录信息区(中部,非删除状态显示) -->
|
|
|
<view class="record-section" v-if="tabs[tabIndex].delStatus === 0">
|
|
|
<view class="record-buttons">
|
|
|
- <view class="record-btn" @click.stop="pageTo({ url: '/admin/clear/list?ghsId='+item.id})">结账记录</view>
|
|
|
- <view class="record-btn" @click.stop="getDebtList(item)">挂账变动明细</view>
|
|
|
- <view class="record-btn" @click.stop="cgList(item)">采购记录</view>
|
|
|
+ <view class="record-btn" hover-class="none" @click.stop="pageTo({ url: '/admin/clear/list?ghsId='+item.id})">结账记录</view>
|
|
|
+ <view class="record-btn" hover-class="none" @click.stop="getDebtList(item)">挂账变动明细</view>
|
|
|
+ <view class="record-btn" hover-class="none" @click.stop="cgList(item)">采购记录</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 待结订单提示区(如果有欠款且非删除状态) -->
|
|
|
<view
|
|
|
class="pending-order-box"
|
|
|
+ hover-class="none"
|
|
|
@click.stop="goToDebtList(item)"
|
|
|
v-if="Number(item.debtAmount)>0 && tabs[tabIndex].delStatus === 0">
|
|
|
<view class="pending-order-content">
|
|
|
@@ -728,4 +730,26 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+/* ==================== 彻底禁用本页面所有矩形点击闪现 ==================== */
|
|
|
+/* 针对小程序/uni-app 平台的默认 tap highlight(长方形灰色/高亮闪现) */
|
|
|
+.app-content,
|
|
|
+.list_item,
|
|
|
+.title-section,
|
|
|
+.location-badge,
|
|
|
+.more-trigger,
|
|
|
+.record-btn,
|
|
|
+.pending-order-box,
|
|
|
+.dropdown-item,
|
|
|
+.action-btn,
|
|
|
+.more-dropdown {
|
|
|
+ -webkit-tap-highlight-color: transparent !important;
|
|
|
+ -webkit-touch-callout: none !important;
|
|
|
+}
|
|
|
+
|
|
|
+/* 额外强化:任何带点击事件的 view 在此页面都不显示默认高亮 */
|
|
|
+view[hover-class],
|
|
|
+button {
|
|
|
+ -webkit-tap-highlight-color: transparent !important;
|
|
|
+}
|
|
|
</style>
|