hupeng 4 years ago
parent
commit
aba959eaa3
  1. 2
      manifest.json
  2. 20
      pages/activity/DargainDetails/index.vue
  3. 1
      unpackage/debug/.ios.ins
  4. BIN
      unpackage/debug/iOS_debug.ipa

2
manifest.json

@ -146,9 +146,9 @@
"version" : "1.1.10",
"provider" : "wx2b03c6e691cd7370"
}
// #endif
}
},
// #endif
"mp-alipay" : {
"usingComponents" : true
},

20
pages/activity/DargainDetails/index.vue

@ -55,8 +55,8 @@
<!-- 砍价进度条下的金额 -->
<view class="balance acea-row row-between-wrapper">
<view v-text="'已砍' + bargainHelpCount.alreadyPrice + '元'"></view>
<view v-if="bargainHelpCount.remainingPrice === 0">砍价成功</view>
<view v-else v-text="'还剩' + bargainHelpCount.remainingPrice + '元'"></view>
<view v-if="bargainHelpCount.price === 0">砍价成功</view>
<view v-else v-text="'还剩' + bargainHelpCount.price + '元'"></view>
</view>
<!-- 砍价成功-->
@ -267,15 +267,15 @@
//
openAlone: function () {
this.$yrouter.push({
path: "/detail/" + this.bargain.productId
path: "/detail/" + this.goodsDetail.productId
});
},
//
goPay: function () {
var data = {};
var that = this;
data.productId = that.bargain.productId;
data.cartNum = that.bargain.num;
data.productId = that.goodsDetail.productId;
data.cartNum = that.goodsDetail.num;
data.uniqueId = "";
data.bargainId = that.bargainId;
data.new = 1;
@ -379,7 +379,7 @@
getBargainHelp: function () {
var that = this;
if (
this.bargainHelpCount.remainingPrice === 0 &&
this.bargainHelpCount.price === 0 &&
that.bargainUid !== that.userInfo.uid
) {
return uni.showToast({
@ -478,7 +478,7 @@
bargainUserUid: this.bargainUid
})
.then(res => {
// = -
// ** 使 = -
let remainingPrice = (this.goodsDetail.price - res.data.alreadyPrice).toFixed(2)
this.bargainHelpCount = {
...res.data,
@ -514,7 +514,7 @@
if (
this.bargainUid === this.userInfo.uid &&
this.bargainHelpCount.status == 1 &&
this.bargainHelpCount.remainingPrice > 0
this.bargainHelpCount.price > 0
) {
this.inviteFriends = true
} else {
@ -526,7 +526,7 @@
this.bargainUid != this.userInfo.uid &&
this.bargainHelpCount.status == 1 &&
// this.bargainHelpCount.userBargainStatus &&
this.bargainHelpCount.remainingPrice > 0
this.bargainHelpCount.price > 0
) {
this.helpFriendsBargain = true
} else {
@ -537,7 +537,7 @@
if (
this.bargainUid === this.userInfo.uid &&
this.bargainHelpCount.status == 1 &&
this.bargainHelpCount.remainingPrice <= 0
this.bargainHelpCount.price <= 0
) {
this.pay = true
} else {

1
unpackage/debug/.ios.ins

@ -0,0 +1 @@
forceInstall

BIN
unpackage/debug/iOS_debug.ipa

Binary file not shown.
Loading…
Cancel
Save