Commit a461b406 by zhangzhen

功能优化

parent 8c8e281e
......@@ -34,3 +34,7 @@ export const balanceLog=(data)=>{
return http.get(url,data)
}
export const equityFundLog=(data)=>{
let url=`/equityFundLog/listUid`
return http.get(url,data)
}
......@@ -227,13 +227,6 @@
}
},
{
"path" : "equityDetail/index",
"style": {
"navigationBarTitleText": "权益详情",
"enablePullDownRefresh" : false
}
},
{
"path" : "levelDetail/index",
"style": {
"navigationBarTitleText": "会员等级详情",
......@@ -247,6 +240,22 @@
"navigationStyle": "custom",
"enablePullDownRefresh" : false
}
},
{
"path" : "equityDetail/equityDetail",
"style" :
{
"navigationBarTitleText" : "权益详情",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},
{
"path": "equityFundLog/index",
"style": {
"navigationBarTitleText": "收益明细",
"enablePullDownRefresh" : false
}
}
]
}
......
......@@ -235,6 +235,16 @@
<text class="text-gray">购买记录</text>
</view>
</view>
<view v-if="userInfo.consumerMember && userInfo.consumerMember.isRights" class="item-box" @tap="onNavByPath('equityFundLog')">
<view class="icon-img">
<image :src="assetsPath+'/user/tool_4.png'" mode="scaleToFill"></image>
</view>
<view class="text-box">
<text class="text-gray">收益明细</text>
</view>
</view>
<view class="item-box" @tap="onNavByPath('payRecord')">
<view class="icon-img">
<image :src="assetsPath+'/user/tool_5.png'" mode="scaleToFill"></image>
......@@ -527,6 +537,7 @@
}
],
routePathEnum:{
equityFundLog:"/setting/equityFundLog/index",
payRecord:"/setting/payRecord/index",
recharge:"/setting/recharge/index",
equity: "/setting/equityRecord/index",
......
......@@ -633,7 +633,7 @@
},
onNavToRule3() {
uni.navigateTo({
url: "/setting/rule/rule?keyData=user_equity_details"
url: "/setting/equityDetail/equityDetail"
})
},
......
<template>
<view class="equity-detail">
<f-navbar :title="title" :isShowLeft="true" fontColor="#333333" leftIconColor="#333333"
bgColor="transparent"></f-navbar>
<view class="">
<swiper :indicator-dots="false" :circular="true" previous-margin="24px" next-margin="24px" :autoplay="false"
:duration="1000" @change="onChange">
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">会员折扣</text>
<text class="text-des">最低享9折</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">专属周边(敬请期待)</text>
<text class="text-des">多种周边供你选择</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">会员日</text>
<text class="text-des">会员日享半价</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">活动报名(敬请期待)</text>
<text class="text-des">免费报名参与</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">邀请有礼</text>
<text class="text-des">时长赠送和3%的返利</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">专属礼物(敬请期待)</text>
<text class="text-des">赠送会员优惠券</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">专属客服</text>
<text class="text-des">一对一服务</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">商城优惠(敬请期待)</text>
<text class="text-des">享购物优惠</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">次卡月卡</text>
<text class="text-des">享次卡月卡购买权</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image class="img-bg" :src="assetsPath+'/vip/equity_bg.png'" mode="widthFix"></image>
<view class="content">
<view class="title-icon">
<text>专属活动</text>
</view>
<view class="flex-row">
<view class="part-title">
<text class="text-title">联营开店</text>
<text class="text-des">合作投资,资源共享</text>
</view>
<view class="img-icon">
<image src="../../static/logo_icon.png" mode="widthFix"></image>
</view>
</view>
</view>
</view>
</swiper-item>
</swiper>
</view>
<view class="content-box">
<view class="sj-up">
<image :src="assetsPath+'/vip/sanjiao_up.png'" mode="widthFix"></image>
</view>
<view class="content-bg">
<scroll-view scroll-y="true" class="scroll-view">
<view class="content-des">
<view v-if="index ===0" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>会员折扣</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>预定房间和续时最低享9折优惠</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>全国门店通用</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>购买零食、饮料、充电宝等合作公司的商品不享受折扣活动</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>铜角会员9.5折预定优惠</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>银角会员9.2折预定优惠</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>金角会员8.8折预定优惠</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>会员折扣力度以实际支付金额为准</text>
</view>
</view>
<view v-if="index ===1" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>专属周边</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>赠送吉祥物</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>多种周边供你选择</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>貔貅</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>算盘</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>把把壶</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>把把葫</text>
</view>
</view>
<view v-if="index ===2" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>会员日</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>每周二会员日享受全部预约半价活动</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>本活动不予其他活动同享</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>预约房间的开始时间在周二内即可享受半价,允许订单跨日使用。</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>会员日半价在当日只可享受一次,过期作废</text>
</view>
</view>
<view v-if="index ===3" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>活动报名</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>免费报名参与</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>在凑角举办的各种大型线上或线下活动和赛事时,报名参与的费用免除</text>
</view>
</view>
<view v-if="index ===4" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>邀请有礼</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>推荐会员有返利</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>推荐人账号通过分享有礼活动推荐新用户成功注册小程序,推荐人即与新用户永久绑定</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>推荐人账号开通了权益会员,被推荐的用户成为任意会员(充值会员、权益会员)后,所产生的任意现金或余额消费均可为推荐会员产生3%的返利。</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>推荐人账号权益会员存续期间,获得的返利进入推荐人账号的权益金账户内,权益金内的权益金可提现。</text>
</view>
</view>
<view v-if="index ===5" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>专享礼物</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>赠送会员优惠券</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>成为铜角会员可领取2小时</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>成为银角会员可领取3小时</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>成为金角会员可领取4小时</text>
</view>
</view>
<view v-if="index ===6" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>专属客服</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>一对一服务</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>您可享受7*24小时专属客服服务</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>随时联系客服处理问题</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>随时向客服咨询相关活动</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>优先处理会员建议和反馈</text>
</view>
</view>
<view v-if="index ===7" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>商城优惠</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>享购物优惠</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>特定商品购买权</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>特定物品购买折扣</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>特定物品购买获双倍积分</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>积分兑换商品折扣</text>
</view>
</view>
<view v-if="index ===8" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>次卡月卡</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>享次卡月卡购买权</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>次卡有效期一年,随时使用随时享</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>月卡:30天每日4小时免费使用时长,当日不用过期作废。</text>
</view>
</view>
<view v-if="index ===9" class="flex-col">
<view class="flex-row-center title-content">
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
<view class="title-text">
<view class="text">
<text>联营开店</text>
</view>
<view class="line">
</view>
</view>
<view class="xx">
<image :src="assetsPath+'/xx.png'" mode="widthFix"></image>
</view>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>合作投资,资源共享</text>
</view>
<view class="flex-row text-lg">
<text class="cuIcon-title"></text>
<text>金角会员可申请与凑角合作投资凑角筹备计划中的新店。</text>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
</view>
</template>
<script>
import config from "@/config/index.config"
import fNavbar from '@/components/module/f-navbar/f-navbar';
export default {
components: {
fNavbar
},
data() {
return {
assetsPath: config.assetsPath,
title: '权益详情',
index: 0
}
},
methods: {
onChange(e) {
console.log(e.target.current, 99999)
this.index = e.target.current;
}
}
}
</script>
<style>
page {
background: #ffeabf;
}
</style>
<style lang="scss" scoped>
.equity-detail {
display: flex;
flex-direction: column;
width: 100vw;
height: 100vh;
.swiper-item {
position: relative;
margin: 0 6px;
.img-bg {
display: block;
width: 100%;
}
.content {
position: absolute;
top: 0;
left: 0;
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
.title-icon {
display: flex;
justify-content: center;
align-items: center;
width: 130upx;
height: 45upx;
background: linear-gradient(90deg, rgba(255, 78, 0, 0.72), rgba(255, 222, 0, 0.72));
border-radius: 20upx 0 20upx 0;
text {
font-weight: normal;
font-size: 24upx;
color: #FFFFFF;
}
}
.flex-row {
display: flex;
flex: 1;
width: 100%;
.part-title {
display: flex;
flex-direction: column;
width: 60%;
height: 80%;
justify-content: center;
padding-left: 24upx;
.text-title {
font-weight: bold;
font-size: 34upx;
color: #000000;
background: linear-gradient(-90deg, #FF7800 0%, #FF0000 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.text-des {
margin-top: 12upx;
font-weight: normal;
font-size: 28upx;
color: #333333;
}
}
}
.img-icon {
display: flex;
flex: 1;
height: 80%;
justify-content: center;
align-items: center;
image {
display: block;
width: 120upx;
max-height: 130upx;
}
}
}
}
}
.content-box {
position: relative;
display: flex;
flex-direction: column;
flex: 1;
width: 690upx;
margin: 24upx auto;
border-radius: 30upx;
background-color: #FFCA7E;
.sj-up {
position: absolute;
top: 0;
width: 100%;
display: flex;
justify-content: center;
image {
margin-top: -20upx;
display: block;
width: 34upx;
max-height: 28upx;
}
}
.content-bg {
position: relative;
display: flex;
flex: 1;
width: 666upx;
margin: 12upx auto;
background-color: #ffffff;
border-radius: 26upx;
overflow: hidden;
.scroll-view {
position: relative;
width: 100%;
height: 100%;
.content-des {
position: absolute;
width: 100%;
padding: 24upx;
.flex-row{
margin-top: 12upx;
}
}
}
}
}
.title-content {
margin: 10upx 0 20upx;
justify-content: center;
.title-text {
display: flex;
justify-content: center;
position: relative;
margin: 0 20upx;
.text {
position: relative;
font-weight: normal;
font-size: 48rpx;
color: #000000;
background: linear-gradient(-90deg, #FF7800 0%, #FF0000 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
z-index: 2;
}
.line {
position: absolute;
bottom: 0;
width: 110%;
height: 15upx;
background: #FFEABF;
border-radius: 8upx;
}
}
.xx {
width: 30upx;
image {
width: 100%;
max-height: 34upx;
}
}
}
</style>
\ No newline at end of file
<template>
</template>
<script>
</script>
<style>
page {
background-color: #f1f1f1;
}
</style>
<style lang="scss" scoped>
</style>
\ No newline at end of file
<template>
<view class="order-record">
<view class="content-box">
<view class="list-content">
<view v-for="(item,index) in list" :key="index" class="list-item" @tap="onNavToOrderInfo(item)">
<view class="flex-between">
<text class="">支付金额</text>
<text class="text-bold text-pink text-lg">{{item.payPrice}}</text>
</view>
<view class="flex-between">
<text class="">购买期限</text>
<text class="text-black text-bold text-lg">一年</text>
</view>
<view class="flex-between">
<text class="">支付方式</text>
<text>{{payTypeEnum[item.payType]}}</text>
</view>
<view class="flex-between">
<text class="">订单编号</text>
<text class="text-black">{{item.equityOrderNo}}</text>
</view>
<view class="flex-between">
<text class="">操作日期</text>
<text>{{item.payTime}}</text>
</view>
</view>
</view>
</view>
<view v-if="loginStatus && list.length == 0" class="empty-box">
<u-empty text="暂无数据" textColor='#C1C1C1' width="120" :icon="listBlankImage">
</u-empty>
</view>
<view v-if="loginStatus && list.length" style="padding: 12px 6% 0;">
<u-loadmore :status="status" :icon="true" :line='true' :loading-text="loadingText"
:loadmore-text="loadmoreText" :nomore-text="nomoreText" />
</view>
</view>
</template>
<script>
import config from "@/config/index.config"
import {
equityFundLog
} from "@/api/recharge.js"
import NoLogin from "@/components/noLogin/noLogin"
import {
getDictItem
} from "@/utils/tools.js"
export default {
components: {
NoLogin
},
data() {
return {
status: 'nomore ',
loadingText: '努力加载中',
loadmoreText: '上划加载',
nomoreText: '到底啦',
statusIndex: 0,
list: [],
statusList: [{
label: "全部",
value: "",
},
{
label: "已预约",
value: "0",
},
{
label: "使用中",
value: "1",
},
{
label: "已完成",
value: "2",
},
{
label: "退单",
value: "3",
}
],
queryParams: {
pageNum: 1,
pageSize: 100,
uid: uni.getStorageSync("userInfo").id
},
orderStatusEnum: {},
payTypeEnum: {
1: "微信支付",
2: "支付宝支付",
3: "余额支付"
},
payStatus: {
expenditure: '-',
income: '+'
},
listBlankImage: config.assetsPath + '/no_data_icon.png',
};
},
onLoad() {
},
onReachBottom() {
if (this.status == 'loadmore') {
this.queryParams.pageNum += 1;
this.onLoading();
}
},
onShow() {
this.onGetDicts()
},
methods: {
onGetDicts() {
let dicts = []
if (uni.getStorageSync('dicts')) {
dicts = JSON.parse(uni.getStorageSync('dicts'))
this.orderStatusEnum = getDictItem(dicts, "store_order_status");
this.onLoading()
} else {
dictList().then(res => {
dicts = res.data.data;
uni.setStorageSync('dicts', JSON.stringify(res.data.data))
this.orderStatusEnum = getDictItem(dicts, "store_order_status");
this.onLoading()
})
}
},
onLoading() {
uni.showLoading({
title: '加载中'
})
this.status = 'loading'
// this.queryParams.status = this.statusList[this.statusIndex].value;
equityFundLog(this.queryParams).then(res => {
console.log(res)
uni.hideLoading()
this.status = "nomore"
if (res.data.code == 200) {
this.list = res.data.data.map(item => {
return {
...item
}
})
} else if (res.data.code == 401) {
this.loginStatus = false
}
})
},
tabSelect(i) {
console.log(i, 99999)
this.statusIndex = i;
this.queryParams.pageNum = 1;
this.list = []
this.onLoading()
},
onNavToOrderInfo(val) {
// uni.navigateTo({
// url:"/pages/orderResult/orderResult?orderNo="+val.orderNo
// })
}
}
}
</script>
<style>
page {
background-color: #f1f1f1;
}
</style>
<style lang="scss" scoped>
.order-record {
display: flex;
flex-direction: column;
.content-box {
display: flex;
flex-direction: column;
.list-content {
display: flex;
flex-direction: column;
align-items: center;
.list-item {
display: flex;
flex-direction: column;
width: 94%;
padding: 20upx 20upx;
border-radius: 20upx;
background-color: #ffffff;
margin-top: 30upx;
.part-1 {
display: flex;
.flex-row {
display: flex;
flex-direction: row;
}
}
}
}
}
}
</style>
\ No newline at end of file
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