mirror of
https://gitee.com/zongzhige/shopxo-uniapp.git
synced 2026-06-05 18:25:48 +08:00
Compare commits
2 Commits
f323fca2fc
...
5e4f9cba23
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e4f9cba23 | |||
| 56dcc93f7a |
@ -626,7 +626,8 @@
|
||||
// 赋值默认支付方式
|
||||
var default_payment_id = parseInt(data.default_payment_id || 0);
|
||||
if(this.payment_list.length > 0 && default_payment_id > 0) {
|
||||
var temp_payment_ids = this.payment_list.map(function(item){return item.id;});
|
||||
var temp_payment_ids = this.payment_list.map(function(item){return parseInt(item.id);});
|
||||
console.log(temp_payment_ids)
|
||||
if(temp_payment_ids.indexOf(default_payment_id) != -1) {
|
||||
this.setData({
|
||||
payment_id: default_payment_id
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<image :src="(default_images_data.default_center_head_bg_images_app || wallet_static_url + 'head-bg.png')" mode="widthFix" class="pa bg-img wh-auto" :class="status_bar_height > 0 ? 'top-0' : 'wallet-bg'" />
|
||||
<view class="pr padding-top-main">
|
||||
<!-- 钱包信息 -->
|
||||
<view class="wallet-head padding-horizontal-xxxl margin-top-main">
|
||||
<view class="wallet-head padding-horizontal-xxxl margin-top-xxxl">
|
||||
<view class="content oh cr-white pr filter-blur">
|
||||
<view class="pa content-padding-1 oh filter-blur-child">
|
||||
<image :src="wallet_static_url + 'wallet-bg.png'" mode="widthFix" class="wh-auto wallet-child-bg" />
|
||||
|
||||
Reference in New Issue
Block a user