jufubao-base 1.0.237-beta4 → 1.0.237-beta6

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.
Files changed (33) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +4 -1
  3. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +3 -3
  4. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +13 -2
  5. package/src/components/JfbBaseFastLink/Attr.js +12 -1
  6. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +66 -0
  7. package/src/components/JfbBaseHeaderColumn/Attr.js +75 -0
  8. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +46 -2
  9. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +2 -2
  10. package/src/components/JfbBaseOpenVip/Attr.js +41 -0
  11. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +31 -4
  12. package/src/components/JfbBaseOpenVip/Mock.js +1 -1
  13. package/src/components/JfbBaseOpenVip/XdVipList.vue +7 -1
  14. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +13 -4
  15. package/src/components/JfbBaseOpenVipDetail/Mock.js +13 -11
  16. package/src/components/JfbBasePay/Attr.js +40 -0
  17. package/src/components/JfbBasePay/JfbBasePay.vue +12 -4
  18. package/src/components/JfbBasePay/Mock.js +0 -9
  19. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +1 -1
  20. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +12 -8
  21. package/src/components/JfbBasePoster/Attr.js +1 -1
  22. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
  23. package/src/components/JfbBasePosterGroup/Attr.js +8 -0
  24. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +5 -2
  25. package/src/components/JfbBaseShare/JfbBaseShare.vue +3 -1
  26. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +1 -0
  27. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +4 -0
  28. package/src/components/JfbBaseTfkSearch/listMixins.js +2 -1
  29. package/src/components/JfbBaseUserInfo/Attr.js +61 -1
  30. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +29 -5
  31. package/src/components/JfbBaseUserOrder/Attr.js +16 -0
  32. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +11 -2
  33. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +19 -3
@@ -11,14 +11,14 @@
11
11
  <view>提现金额</view>
12
12
  <view @click="handleAllWithDraw">全部提现</view>
13
13
  </view>
14
- <input class="jfb-base-withdraw__body-amount" v-model="amount"></input>
14
+ <input @input="handleAmountChange" class="jfb-base-withdraw__body-amount" v-model="amount"></input>
15
15
  <view class="jfb-base-withdraw__body-balance">可提现余额¥{{getAmout(balance)}}</view>
16
16
  </view>
17
17
  <view v-if="notice" :style="[bodyStyleComp]">
18
18
  <XdContentXss v-html="notice"></XdContentXss>
19
19
  </view>
20
20
  <view class="fixe_bottom" :style="prod_bottom">
21
- <XdButton v-if="amount>0" fontSize="32" type="primary" @click="handleWithDraw">提现</XdButton>
21
+ <XdButton v-if="amount>0&&amount<=getAmout(balance)" fontSize="32" type="primary" @click="handleWithDraw">提现</XdButton>
22
22
  <XdButton v-else disabled fontSize="32" type="primary">提现</XdButton>
23
23
  <view @click="handleToWithDrawRecord">提现记录</view>
24
24
  </view>
@@ -56,7 +56,7 @@
56
56
  withDrawRecordPath: '',
57
57
  withDrawPath: '',
58
58
  balance: 0,
59
- amount: 0,
59
+ amount: '',
60
60
  showSuccess: false,
61
61
  method: '',
62
62
  wallet_type: ''
@@ -165,6 +165,18 @@
165
165
  handleWithDrawSuccess() {
166
166
  this.showSuccess = false;
167
167
  },
168
+ handleAmountChange(e) {
169
+ this.$nextTick(() => {
170
+ if(e.detail.value>this.getAmout(this.balance)) {
171
+ uni.showToast(
172
+ {
173
+ title: '输入金额超过可提现余额',
174
+ icon: 'none'
175
+ }
176
+ )
177
+ }
178
+ })
179
+ },
168
180
  onJfbScroll(options) {
169
181
  console.log('event.onJfbScroll', options)
170
182
  },
@@ -173,6 +185,10 @@
173
185
  },
174
186
  onJfbShow(options) {
175
187
  console.log('event.onJfbShow', options)
188
+ this.method = options.method
189
+ this.wallet_type = options.wallet_type
190
+ this.getContent()
191
+ this.getDetail()
176
192
  },
177
193
  onJfbHide(options) {
178
194
  console.log('event.onJfbHide', options)