Commit 6643da5e authored by mengcuiguang's avatar mengcuiguang

优化阅读记录

parent c932e64a
......@@ -15,7 +15,7 @@
src="@/static/index/ic_quit_white.png"></image>
</view>
<view class="body" style="width: 100%;height: 100%;">
<view class="body" style="width: 100%;height: 100%;background-color: white;">
<scroll-view scroll-y>
<view style="display: flex;flex-direction: column;align-items: flex-end;">
<view style="display: flex;flex-direction: row;">
......@@ -229,6 +229,7 @@
},
fail(res) {
uni.hideLoading();
console.log('ttPrePay',res.errMsg);
// message.notify(res.errMsg);
},
});
......@@ -255,6 +256,7 @@
that.queryOrderStatus(largeType, ttData.tidStr);
},
fail(res) {
console.log('ios pay',res.errMsg);
// message.notify(res.errMsg);
},
});
......@@ -265,6 +267,7 @@
that.queryOrderStatus(largeType, ttData.tidStr);
},
fail(res) {
console.log('android pay',res.errMsg);
// message.notify(res.errMsg);
},
});
......@@ -312,7 +315,7 @@
.section {
display: flex;
flex-direction: column;
background: white;
// background: white;
}
.pack-box {
......
......@@ -15,7 +15,7 @@
</view>
<view style="display: flex;align-items: center;margin-right: 8rpx;">
<view style="display: flex;flex-direction: column;">
<image v-if="item.collect==0" @click="handleXing(item)"
<image v-if="!item.isCollect" @click="handleXing(item)"
style="width: 50rpx;height: 50rpx;display: flex;align-items: right;padding-right: 4rpx;"
src="../../static/home_collect_img_0.png"></image>
<image v-else @click="handleXing(item)"
......@@ -93,7 +93,7 @@
this.post({
url: '/book/collect',
data: {
articleId: item.articleId,
articleId: item.id,
},
showLoading: false,
success: ({
......@@ -104,9 +104,9 @@
});
} else {
this.post({
url: '/book/cancelCollect',
url: '/book/collectCancel',
data: {
articleId: item.articleId,
articleId: item.id,
},
showLoading: false,
success: ({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment