Commit 6643da5e authored by mengcuiguang's avatar mengcuiguang

优化阅读记录

parent c932e64a
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
src="@/static/index/ic_quit_white.png"></image> src="@/static/index/ic_quit_white.png"></image>
</view> </view>
<view class="body" style="width: 100%;height: 100%;"> <view class="body" style="width: 100%;height: 100%;background-color: white;">
<scroll-view scroll-y> <scroll-view scroll-y>
<view style="display: flex;flex-direction: column;align-items: flex-end;"> <view style="display: flex;flex-direction: column;align-items: flex-end;">
<view style="display: flex;flex-direction: row;"> <view style="display: flex;flex-direction: row;">
...@@ -229,6 +229,7 @@ ...@@ -229,6 +229,7 @@
}, },
fail(res) { fail(res) {
uni.hideLoading(); uni.hideLoading();
console.log('ttPrePay',res.errMsg);
// message.notify(res.errMsg); // message.notify(res.errMsg);
}, },
}); });
...@@ -255,6 +256,7 @@ ...@@ -255,6 +256,7 @@
that.queryOrderStatus(largeType, ttData.tidStr); that.queryOrderStatus(largeType, ttData.tidStr);
}, },
fail(res) { fail(res) {
console.log('ios pay',res.errMsg);
// message.notify(res.errMsg); // message.notify(res.errMsg);
}, },
}); });
...@@ -265,6 +267,7 @@ ...@@ -265,6 +267,7 @@
that.queryOrderStatus(largeType, ttData.tidStr); that.queryOrderStatus(largeType, ttData.tidStr);
}, },
fail(res) { fail(res) {
console.log('android pay',res.errMsg);
// message.notify(res.errMsg); // message.notify(res.errMsg);
}, },
}); });
...@@ -312,7 +315,7 @@ ...@@ -312,7 +315,7 @@
.section { .section {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: white; // background: white;
} }
.pack-box { .pack-box {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</view> </view>
<view style="display: flex;align-items: center;margin-right: 8rpx;"> <view style="display: flex;align-items: center;margin-right: 8rpx;">
<view style="display: flex;flex-direction: column;"> <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;" style="width: 50rpx;height: 50rpx;display: flex;align-items: right;padding-right: 4rpx;"
src="../../static/home_collect_img_0.png"></image> src="../../static/home_collect_img_0.png"></image>
<image v-else @click="handleXing(item)" <image v-else @click="handleXing(item)"
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
this.post({ this.post({
url: '/book/collect', url: '/book/collect',
data: { data: {
articleId: item.articleId, articleId: item.id,
}, },
showLoading: false, showLoading: false,
success: ({ success: ({
...@@ -104,9 +104,9 @@ ...@@ -104,9 +104,9 @@
}); });
} else { } else {
this.post({ this.post({
url: '/book/cancelCollect', url: '/book/collectCancel',
data: { data: {
articleId: item.articleId, articleId: item.id,
}, },
showLoading: false, showLoading: false,
success: ({ 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