|
@@ -1,51 +1,47 @@
|
|
<template>
|
|
<template>
|
|
- <view class="ezy-cuoti-page">
|
|
|
|
|
|
+ <view class="ezy-order-page">
|
|
<view class="icon-title-navBar-box">
|
|
<view class="icon-title-navBar-box">
|
|
<view @click="goBack" class="nav-bar-icon"></view>
|
|
<view @click="goBack" class="nav-bar-icon"></view>
|
|
<text class="nav-bar-title">我的订单</text>
|
|
<text class="nav-bar-title">我的订单</text>
|
|
</view>
|
|
</view>
|
|
- <view class="cuoti-border-box">
|
|
|
|
|
|
+ <view class="ezy-tab-border">
|
|
|
|
|
|
<uni-segmented-control :current="dingdanData.current" :values="dingdanData.items" active-color="#3A7FE9"
|
|
<uni-segmented-control :current="dingdanData.current" :values="dingdanData.items" active-color="#3A7FE9"
|
|
- @clickItem="onChangeTab" class="cuo-tab-box" />
|
|
|
|
- <view class="cuoti-content-box">
|
|
|
|
|
|
+ @clickItem="onChangeTab" class="ezy-tab-box" />
|
|
|
|
+ <view>
|
|
<view v-if="dingdanData.current === 0">
|
|
<view v-if="dingdanData.current === 0">
|
|
<scroll-view scroll-y="true" refresher-enabled="true"
|
|
<scroll-view scroll-y="true" refresher-enabled="true"
|
|
:refresher-triggered="dingdanData.quanbu.loading" :refresher-threshold="50"
|
|
:refresher-triggered="dingdanData.quanbu.loading" :refresher-threshold="50"
|
|
- refresher-background="lightgreen" @refresherrefresh="onRefresh" class="cuoti-scroll-view">
|
|
|
|
|
|
+ refresher-background="transparent" @refresherrefresh="onRefresh" class="order-scroll-view">
|
|
<!--数学-->
|
|
<!--数学-->
|
|
<uni-list>
|
|
<uni-list>
|
|
- <uni-list-item v-for="item in dingdanData.quanbu.list" class="list-item-box">
|
|
|
|
|
|
+ <uni-list-item v-for="item in dingdanData.quanbu.list" class="order-list-item">
|
|
<template v-slot:body>
|
|
<template v-slot:body>
|
|
- <view>
|
|
|
|
- 鹅状元自营 不支持退订
|
|
|
|
|
|
+ <view class="order-item-head">
|
|
|
|
+ <view class="order-name-box">
|
|
|
|
+ <icon></icon><text>鹅状元自营</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view>
|
|
|
|
+ <text>不支持退订</text>
|
|
|
|
+ <text v-if="item.status ==0||item.status ==1" class="pay-status">已付款</text>
|
|
|
|
+ <text v-if="item.status ==2" class="pay-status">待付款</text>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="item.status ==0||item.status ==1">
|
|
|
|
- 已付款
|
|
|
|
|
|
+ <view class="order-content-box">
|
|
|
|
+ <icon :class="'content-img'+item.cardId"></icon>
|
|
|
|
+ <view class="content-body-box">
|
|
|
|
+ <view class="content-name">SVIP终身卡</view>
|
|
|
|
+ <view class="content-tag">终身有效</view>
|
|
|
|
+ <view class="content-yuanjia">¥{{item.cardYuanjia}}</view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view v-if="item.status ==2">
|
|
|
|
- 未付款
|
|
|
|
- </view>
|
|
|
|
- <view>
|
|
|
|
- 图片
|
|
|
|
- </view>
|
|
|
|
- <view>
|
|
|
|
- {{item.cardName}}
|
|
|
|
-
|
|
|
|
- </view>
|
|
|
|
- <view>
|
|
|
|
-
|
|
|
|
- {{item.cardYuanjia}}
|
|
|
|
- </view>
|
|
|
|
- <view>
|
|
|
|
- {{item.ctime}}
|
|
|
|
-
|
|
|
|
- </view>
|
|
|
|
- <view>
|
|
|
|
- 实付款:{{item.money}}
|
|
|
|
- </view>
|
|
|
|
- <view v-if="item.status ==1">
|
|
|
|
- 立即支付
|
|
|
|
|
|
+ <view class="order-bottom-box">
|
|
|
|
+ <view class="bottom-money-box">
|
|
|
|
+ <text class="bottom-data">{{item.ctime}}</text>
|
|
|
|
+ <text class="bottom-money">实付款:¥{{item.money}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- v-if="item.status ==1" -->
|
|
|
|
+ <view class="bottom-btn">立即支付</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
</uni-list-item>
|
|
</uni-list-item>
|