vip功能测试

This commit is contained in:
liuyuan
2025-02-19 16:11:29 +08:00
parent 341321af5f
commit b262de009e
4 changed files with 12 additions and 60 deletions

View File

@@ -3,20 +3,7 @@
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<z-nav-bar title="我的订单" bgColor="#258feb" fontColor="#fff" :backState="2000">
<!-- <template slot="left">
<u-icon
@click="goHome"
name="home"
color="#fff"
size="22"
style="display: inline-block; margin-left: 30rpx"
></u-icon>
</template> -->
</z-nav-bar>
<!-- 顶部导航栏 -->
<!-- <z-nav-bar backState="2000" title="我的订单"></z-nav-bar> -->
<view class="cateList flexbox">
<common-sticky itemStyle="width:20%; height: 68rpx;font-size:24rpx;" :list="ordersTabs" label="name"
:currentCateIndex="currentCateIndex" @handleselectCate="ordersTabCLi"></common-sticky>
@@ -333,22 +320,6 @@
</view>
</common-list>
</view>
<!-- <view v-if="status == 0" style="text-align: center">
<u-loading-icon style="display: inline-block"></u-loading-icon>
<font
style="
vertical-align: super;
margin-left: 10px;
font-size: 26rpx;
color: #909399;
"
>努力加载中</font
>
</view>
<view v-if="status == 1" style="padding-bottom: 20rpx">
<u-divider v-if="newList.length > 0" text="全部加载完成"></u-divider>
<u-divider v-else text="暂无订单"></u-divider>
</view> -->
<!-- 对话框 -->
<u-popup :show="pingjiaShow" :round="10" @close="closePingjia">
@@ -409,7 +380,6 @@
<z-navigation></z-navigation>
<u-action-sheet :closeOnClickAction="true" :closeOnClickOverlay="true" :actions="moreList" :show="isShowMore"
cancelText="关闭" @close="isShowMore = false" @select="selectClick"></u-action-sheet>
<!-- <music-play :playData="playData"></music-play> -->
</view>
</template>
@@ -511,41 +481,23 @@
};
},
onPullDownRefresh() {
console.log("下拉刷新了");
uni.stopPullDownRefresh();
this.newestpage = 1;
// this.hotestpage = 1
// this.booksetpage = 1
this.newList = [];
// this.hotList = []
// this.bookList = []
this.getBookList(this.ordersListTab, false);
},
onReachBottom() {
this.newestpage++;
// this.hotestpage++
// this.booksetpage++
this.getBookList(this.ordersListTab, false);
},
onLoad(e) {
this.windowWidth = uni.getSystemInfoSync().windowWidth;
console.log(e, "onload111");
// this.bookid = e.bookid
this.options = e;
// this.newList = [];
// this.pagination = {
// page: 1, //页码
// limit: 20, //每页显示
// total: 0, //总条数
// };
// this.$nextTick(() => {
// this.ordersTabCLi(this.ordersTabs[0],0);
// // this.getBookList(null, false);
// });
// 隐藏原生的tabbar
uni.hideTabBar();
},
async onShow() {
uni.hideTabBar();
this.newList = [];
this.pagination = {
page: 1, //页码
@@ -563,9 +515,6 @@
limit: 20, //每页显示
total: 0, //总条数
};
// this.$nextTick(async () => {
// await this.ordersTabCLi(this.ordersTabs[0], 0);
// });
},
onReady() {},
computed: {
@@ -1434,6 +1383,7 @@
.commonDetailPage {
background-color: $themeBgColor;
height: calc(100vh);
}
.order_box {