fixbug: 修改点击的问题&更换图片

This commit is contained in:
2026-09-10 18:06:49 +08:00
parent cb3f8bbaba
commit b2242ba20b
3 changed files with 120 additions and 114 deletions
+1 -1
View File
@@ -63,7 +63,7 @@
"urltypes" : [ "urltypes" : [
{ {
"urlidentifier" : "com.trustbridgeapp.mm", "urlidentifier" : "com.trustbridgeapp.mm",
"urlschemes" : [ "trustbridgeapp" ] "urlschemes" : "trustbridgeapp"
} }
], ],
"associatedDomains" : [ "applinks:ulink.trustbridgeapp.com" ], "associatedDomains" : [ "applinks:ulink.trustbridgeapp.com" ],
+6 -6
View File
@@ -4,12 +4,12 @@
<view class="purse_content_warp"> <view class="purse_content_warp">
<view v-for="(item, vIndex) in balanceList" :key="item.id" class="purse_warp_item" @click="jumpBonus(item)"> <view v-for="(item, vIndex) in balanceList" :key="item.id" class="purse_warp_item" @click="jumpBonus(item)">
<view class="purse_item_title"> <view class="purse_item_title">
<view class="purse_item_title-left"> <view class="purse_item_title-left" @click.stop="openTip(item.categoty)">
<up-image :src="`https://static.tbmall.xin/static/mine-purse/${item.categoty}.png`" width="22" height="22" <up-image :src="`https://static.tbmall.xin/static/mine-purse/${item.categoty}.png`" width="22" height="22"
bgColor="#f1f6ff00" class="purse_amount"></up-image> bgColor="#f1f6ff00" class="purse_amount"></up-image>
<view class="title">{{ item.name }}</view> <view class="title">{{ item.name }}</view>
<up-image v-if="item.categoty != 'balance'" src="/pages/rwa_package/static/tips.png" width="16" height="16" <up-image v-if="item.categoty != 'balance'" src="/pages/rwa_package/static/tips.png" width="16" height="16"
bgColor="#f1f6ff00" @click.stop="openTip(item.categoty)" /> bgColor="#f1f6ff00" />
<up-image src="/static/common/right_soild.png" width="10" height="10" bgColor="#fff" <up-image src="/static/common/right_soild.png" width="10" height="10" bgColor="#fff"
class="right_soild"></up-image> class="right_soild"></up-image>
</view> </view>
@@ -34,10 +34,10 @@
<view class="bottom_item" v-if="item.categoty == 'vcoin'"> <view class="bottom_item" v-if="item.categoty == 'vcoin'">
<view class="bottom_item_amount bottom_item_amount_center">{{ item.bonusAmount || 0 }}</view> <view class="bottom_item_amount bottom_item_amount_center">{{ item.bonusAmount || 0 }}</view>
<view class="bottom_item_title bottom_item_title_center"> <view class="bottom_item_title bottom_item_title_center" @click.stop="openTip('rights')">
<text class="title_text">消费者权益</text> <text class="title_text">消费者权益</text>
<up-image v-if="item.categoty != 'balance'" src="/pages/rwa_package/static/tips.png" width="12" height="12" <up-image v-if="item.categoty != 'balance'" src="/pages/rwa_package/static/tips.png" width="12"
bgColor="#f1f6ff00" class="tip_icon" @click.stop="openTip('rights')" /> height="12" bgColor="#f1f6ff00" class="tip_icon" />
</view> </view>
</view> </view>
@@ -655,7 +655,7 @@ export default {
.tip_popup_btn { .tip_popup_btn {
width: 100%; width: 100%;
height: 84rpx; height: 84rpx;
background: #707070; background: #7934F6;
border-radius: 42rpx; border-radius: 42rpx;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -218,11 +218,16 @@
<image v-if="item.type == 'alipay'" src="https://static.tbmall.xin/static/new/zfb.png"></image> <image v-if="item.type == 'alipay'" src="https://static.tbmall.xin/static/new/zfb.png"></image>
<image v-if="item.type == 'balance'" src="https://static.tbmall.xin/static/new/bank.png"></image> <image v-if="item.type == 'balance'" src="https://static.tbmall.xin/static/new/bank.png"></image>
<image v-if="item.type == 'redpacket'" src="https://static.tbmall.xin/static/new/jf.png"></image> <image v-if="item.type == 'redpacket'" src="https://static.tbmall.xin/static/new/jf.png"></image>
<text v-if="item.type == 'douyin'" aria-hidden="true" style="display: inline-flex; align-items: center; justify-content: center; width: 48rpx; height: 48rpx; border-radius: 50%; background: #161823; color: #fff; font-size: 32rpx; flex-shrink: 0;">♪</text> <image v-if="item.type == 'douyin'" src="https://static.tbmall.xin/static/new/douyin.png"></image>
<!-- <text aria-hidden="true"
style="display: inline-flex; align-items: center; justify-content: center; width: 48rpx; height: 48rpx; border-radius: 50%; background: #161823; color: #fff; font-size: 32rpx; flex-shrink: 0;">♪</text> -->
<!-- <text v-if="item.type == 'douyin'" aria-hidden="true" style="display: inline-flex; align-items: center; justify-content: center; width: 48rpx; height: 48rpx; border-radius: 50%; background: #161823; color: #fff; font-size: 32rpx; flex-shrink: 0;">♪</text> -->
<text v-if="item.type == 'wechat' || item.type == 'alipay' || item.type == 'douyin'" class="text-32 text-zu" <text v-if="item.type == 'wechat' || item.type == 'alipay' || item.type == 'douyin'" class="text-32 text-zu"
style="margin-left: 20rpx">{{ item.name }} style="margin-left: 20rpx">{{ item.name }}
<!-- #ifdef H5 --> <!-- #ifdef H5 -->
<text v-if="item.type == 'douyin'" style="font-size: 24rpx; color: #777; margin-left: 12rpx;">仅 App 支持</text> <text v-if="item.type == 'douyin'" style="font-size: 24rpx; color: #777; margin-left: 12rpx;">仅 App
支持</text>
<!-- #endif --> <!-- #endif -->
</text> </text>
<text v-else style="margin-left: 20rpx" class="text-32 text-zu">{{ item.name }} <text v-else style="margin-left: 20rpx" class="text-32 text-zu">{{ item.name }}
@@ -613,6 +618,7 @@ export default {
parmas.types = douyinPayTypes(parmas.types); parmas.types = douyinPayTypes(parmas.types);
console.log("支付的入口", parmas.types)
const result = await getSupportPay(parmas); const result = await getSupportPay(parmas);
if (result && result.bizcode === 100) { if (result && result.bizcode === 100) {
const data = filterDouyinPayWays(result.data); const data = filterDouyinPayWays(result.data);
@@ -637,7 +643,7 @@ export default {
); );
// #endif // #endif
console.log("getWayOption", this.wayOption); console.log("getWayOption", result.data, this.wayOption);
} }
}, },
async getOrder(couponUserId) { async getOrder(couponUserId) {
@@ -968,7 +974,7 @@ export default {
return (this.tipsShow = true); return (this.tipsShow = true);
} }
console.log("orderInfo----", arr); console.log("orderInfo---11-", arr);
if (arr.length) { if (arr.length) {
if (this.isCoupon) { if (this.isCoupon) {
this.show = true; this.show = true;
@@ -1014,7 +1020,7 @@ export default {
console.log("收货地址ID--params", params); console.log("收货地址ID--params", params);
let resp = null; let resp = null;
console.log("orderInfo----", this.sed, this.orderInfo); console.log("orderInfo--22--", this.sed, this.orderInfo);
if (this.sed) { if (this.sed) {
if ( if (
this.orderInfo.paymentMethod == "balance" || this.orderInfo.paymentMethod == "balance" ||