jufubao-base 1.0.281 → 1.0.282-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -130,14 +130,15 @@
|
|
|
130
130
|
v-for="item in payChannels"
|
|
131
131
|
:key="item.channel_provider_id"
|
|
132
132
|
class="pay_item"
|
|
133
|
+
@click="handlerPayCheck(item.channel_provider_id)"
|
|
133
134
|
>
|
|
134
135
|
<view class="icon">
|
|
135
136
|
<image mode="scaleToFill" :src="item['channel_logo']" style="height:64rpx; width: 64rpx" />
|
|
136
137
|
</view>
|
|
137
138
|
<view class="pay_name">{{ item.channel_provider_name }}</view>
|
|
138
139
|
<xd-radio
|
|
139
|
-
@change="(flat) => handlerPayCheck(item.channel_provider_id, flat)"
|
|
140
140
|
:value="channel_provider_id === item.channel_provider_id"
|
|
141
|
+
:isClickEvent="false"
|
|
141
142
|
size="mini"
|
|
142
143
|
></xd-radio>
|
|
143
144
|
</view>
|
|
@@ -358,6 +359,9 @@ export default {
|
|
|
358
359
|
}).then((res) => {
|
|
359
360
|
console.log("p_getListUserPayChannel", res);
|
|
360
361
|
this.payChannels = res.list;
|
|
362
|
+
if(res.list.length > 0){
|
|
363
|
+
this.channel_provider_id = res.list[0].channel_provider_id
|
|
364
|
+
}
|
|
361
365
|
});
|
|
362
366
|
},
|
|
363
367
|
p_getH5WxAuthorize() {
|
|
@@ -520,9 +524,8 @@ export default {
|
|
|
520
524
|
});
|
|
521
525
|
// #endif
|
|
522
526
|
},
|
|
523
|
-
handlerPayCheck(channel_provider_id
|
|
524
|
-
|
|
525
|
-
else this.channel_provider_id = "";
|
|
527
|
+
handlerPayCheck(channel_provider_id) {
|
|
528
|
+
this.channel_provider_id = channel_provider_id;
|
|
526
529
|
},
|
|
527
530
|
|
|
528
531
|
onJfbBack(options) {
|