fix: 修复跳转及国际化文案

This commit is contained in:
2026-06-05 09:19:57 +08:00
parent 65b49fe4d5
commit e9c679e1aa
2 changed files with 9 additions and 5 deletions

View File

@@ -64,7 +64,7 @@
@tap.stop="modifyInfo()">{{ langIndex == 0 ? 'CN' : 'EN' }}</view> @tap.stop="modifyInfo()">{{ langIndex == 0 ? 'CN' : 'EN' }}</view>
</view> </view>
<view class="info-wrap" v-else :style="infoStyle" @tap.stop="redirect($util.MEMBER_PAGE_URL)"> <view class="info-wrap" v-else :style="infoStyle" @tap.stop="redirect($util.MEMBER_PAGE_URL)" @click.stop="redirect($util.MEMBER_PAGE_URL)">
<view class="headimg"> <view class="headimg">
<image :src="$util.getDefaultImage().head" mode="widthFix" show-menu-by-longpress></image> <image :src="$util.getDefaultImage().head" mode="widthFix" show-menu-by-longpress></image>
</view> </view>
@@ -566,6 +566,10 @@ export default {
this.$util.redirectTo(url); this.$util.redirectTo(url);
} }
// #endif // #endif
// #ifndef MP || H5
this.$util.redirectTo(url);
// #endif
}, },
/** /**
* 获取微信授权 * 获取微信授权

View File

@@ -84,14 +84,14 @@
<view class="cart-action-wrap" v-if="config.control && item.is_virtual == 0"> <view class="cart-action-wrap" v-if="config.control && item.is_virtual == 0">
<view class="cart buy-btn click-wrap" :id="'goods-' + item.id" <view class="cart buy-btn click-wrap" :id="'goods-' + item.id"
@click.stop="$refs.goodsSkuIndex.addCart(config.cartEvent, item, $event)"> @click.stop="$refs.goodsSkuIndex.addCart(config.cartEvent, item, $event)">
购买 {{ $lang('common.buy') }}
<view class="click-event"></view> <view class="click-event"></view>
</view> </view>
</view> </view>
</view> </view>
<view class="ai-chat-btn-wrap" v-if="item.isinformation == 1"> <view class="ai-chat-btn-wrap" v-if="item.isinformation == 1">
<view class="ai-chat-btn" @click.stop="sendToAIChat(item)"> <view class="ai-chat-btn" @click.stop="sendToAIChat(item)">
立即咨询 {{ $lang('common.consult') }}
</view> </view>
</view> </view>
</view> </view>
@@ -132,14 +132,14 @@
<view class="cart-action-wrap" v-if="config.control && item.is_virtual == 0"> <view class="cart-action-wrap" v-if="config.control && item.is_virtual == 0">
<view class="cart buy-btn click-wrap" :id="'goods-' + item.id" <view class="cart buy-btn click-wrap" :id="'goods-' + item.id"
@click.stop="$refs.goodsSkuIndex.addCart(config.cartEvent, item, $event)"> @click.stop="$refs.goodsSkuIndex.addCart(config.cartEvent, item, $event)">
购买 {{ $lang('common.buy') }}
<view class="click-event"></view> <view class="click-event"></view>
</view> </view>
</view> </view>
</view> </view>
<view class="ai-chat-btn-wrap" v-if="item.isinformation == 1"> <view class="ai-chat-btn-wrap" v-if="item.isinformation == 1">
<view class="ai-chat-btn" @click.stop="sendToAIChat(item)"> <view class="ai-chat-btn" @click.stop="sendToAIChat(item)">
立即咨询 {{ $lang('common.consult') }}
</view> </view>
</view> </view>
</view> </view>