Compare commits
No commits in common. "1a9f06e722b8f34978dd67c9e66e6b129b02edeb" and "dd15356717460bf490ccad046d2d3319081fb917" have entirely different histories.
1a9f06e722
...
dd15356717
@ -33,7 +33,7 @@ export default {
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
>text{
|
>text{
|
||||||
max-width: 100rpx;
|
width: 100rpx;
|
||||||
margin-top: 14rpx;
|
margin-top: 14rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
@ -232,7 +232,7 @@ export default {
|
|||||||
this.$u.api.getOrderInfo({
|
this.$u.api.getOrderInfo({
|
||||||
order_id: id,
|
order_id: id,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res)
|
// console.log(res)
|
||||||
if(res.errCode == 0) {
|
if(res.errCode == 0) {
|
||||||
this.orderInfo = res.data;
|
this.orderInfo = res.data;
|
||||||
this.setTitle(this.orderInfo.view_type);
|
this.setTitle(this.orderInfo.view_type);
|
||||||
@ -286,7 +286,6 @@ export default {
|
|||||||
toOtherPage(url) {
|
toOtherPage(url) {
|
||||||
this.$u.route('/pageE/order/' + url, {
|
this.$u.route('/pageE/order/' + url, {
|
||||||
oid: this.orderInfo.order_id,
|
oid: this.orderInfo.order_id,
|
||||||
type:this.orderInfo.view_type
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
makePhone(phone) {
|
makePhone(phone) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="mine-history">
|
<view class="mine-history">
|
||||||
<view scroll-y class="history-box">
|
<scroll-view scroll-y class="history-box" @scrolltolower="reachBottom">
|
||||||
<view class="item-box">
|
<view class="item-box">
|
||||||
<!-- 需求:只显示最近五十条数据 后台未作限制 -->
|
<!-- 需求:只显示最近五十条数据 后台未作限制 -->
|
||||||
<view v-for="(item, index) in historyList" :key="index" class="history-item">
|
<view v-for="(item, index) in historyList" :key="index" class="history-item">
|
||||||
@ -20,7 +20,7 @@
|
|||||||
<u-action-sheet :list="actionList" v-model="showAction" :cancel-btn="true" @click="delHistory" border-radius="20"></u-action-sheet>
|
<u-action-sheet :list="actionList" v-model="showAction" :cancel-btn="true" @click="delHistory" border-radius="20"></u-action-sheet>
|
||||||
<u-empty text="暂无足迹" mode="list" color="#000" v-if="!historyList.length"></u-empty>
|
<u-empty text="暂无足迹" mode="list" color="#000" v-if="!historyList.length"></u-empty>
|
||||||
<u-loadmore class="load-size" :status="loadStatus" bgColor="#ECECEC" margin-top="20" margin-bottom="20" v-if="historyList.length >= pageSize" @loadmore="reachBottom"></u-loadmore>
|
<u-loadmore class="load-size" :status="loadStatus" bgColor="#ECECEC" margin-top="20" margin-bottom="20" v-if="historyList.length >= pageSize" @loadmore="reachBottom"></u-loadmore>
|
||||||
</view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -47,9 +47,6 @@ export default {
|
|||||||
onLoad() {
|
onLoad() {
|
||||||
this.getBrowseList();
|
this.getBrowseList();
|
||||||
},
|
},
|
||||||
onReachBottom(){
|
|
||||||
this.reachBottom()
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
viewAction(id) {
|
viewAction(id) {
|
||||||
this.showAction = true;
|
this.showAction = true;
|
||||||
@ -61,10 +58,6 @@ export default {
|
|||||||
this.$u.api.delMemberBrowse({ goods_id: glist }).then(res => {
|
this.$u.api.delMemberBrowse({ goods_id: glist }).then(res => {
|
||||||
if(res.errCode == 0) {
|
if(res.errCode == 0) {
|
||||||
this.getBrowseList();
|
this.getBrowseList();
|
||||||
uni.pageScrollTo({
|
|
||||||
scrollTop: 0,
|
|
||||||
duration: 300
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
this.$u.toast(res.message);
|
this.$u.toast(res.message);
|
||||||
}
|
}
|
||||||
@ -116,16 +109,13 @@ export default {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss" scoped>
|
||||||
page{
|
|
||||||
background: #ECECEC;
|
|
||||||
}
|
|
||||||
.mine-history {
|
.mine-history {
|
||||||
min-height: calc(100vh - var(--window-top));
|
min-height: calc(100vh - var(--window-top));
|
||||||
background: #ECECEC;
|
background: #ECECEC;
|
||||||
.history-box {
|
.history-box {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
// height: calc(100vh - var(--window-top));
|
height: calc(100vh - var(--window-top));
|
||||||
padding: 20rpx 30rpx 0;
|
padding: 20rpx 30rpx 0;
|
||||||
.item-box {
|
.item-box {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user