<template>
|
<!-- 领用 -->
|
<view>
|
<h-tabs
|
class="tab"
|
:activeIndex="orderStatus"
|
:tabData="tabs"
|
:config="{
|
color: '#abb1cc',
|
activeColor: '#518EFF',
|
underLineColor: '#518EFF',
|
underLineHeight: 6,
|
fontSize: '28',
|
underLineWidth: 60,
|
}"
|
/>
|
<view>
|
<navigator class="list-item">
|
<view class="list-header">
|
<view class="flex align-center">
|
<image class="icon" src="../../static/images/order-icon1.png"></image>
|
<text>六女士</text>
|
</view>
|
<text class="gray">2020-12-12 19:06:08</text>
|
</view>
|
<view class="list-content">
|
<image class="icon" src="../../static/images/order-icon2.png"></image>
|
<view class="flex-1">
|
<view class="flex justify-between">
|
<view>
|
<text>肽妍氨基酸平衡基础洁面乳</text>
|
<text class="ml-15">x6</text>
|
</view>
|
<text>已领 1/3</text>
|
</view>
|
<view class="flex justify-between mt-10">
|
<view>
|
<text>水光面膜</text>
|
<text class="ml-15">x6</text>
|
</view>
|
<text>已领 2/6</text>
|
</view>
|
<view class="flex justify-between mt-10">
|
<text class="gray">共计9件,已领3件</text>
|
<text class="blue">待领取</text>
|
</view>
|
</view>
|
</view>
|
<view class="list-footer">
|
<navigator class="blue-btn small-btn mr-10" url="./" hover-class="none">
|
<text>查看订单</text>
|
</navigator>
|
<navigator class="blue-btn small-btn mr-10" url="./receiveRecord" hover-class="none">
|
<text>领取记录</text>
|
</navigator>
|
<navigator class="blue-btn small-btn" url="./confirmReceive" hover-class="none" v-if="$utils.hasPermission('linyong.linqu')">
|
<text>领取</text>
|
</navigator>
|
</view>
|
</navigator>
|
</view>
|
</view>
|
</template>
|
|
<script>
|
import HTabs from "@/components/liuyuno-tabs/liuyuno-tabs.vue";
|
export default {
|
components: {
|
HTabs
|
},
|
data() {
|
return {
|
tabs:[
|
{
|
state: 0,
|
name: '全部'
|
},
|
{
|
state: 1,
|
name: '待领取'
|
},
|
{
|
state: 2,
|
name: '已领取'
|
}
|
],
|
list: []
|
}
|
}
|
}
|
</script>
|
|
<style>
|
page{
|
background: #F6F6F8;
|
}
|
.tab{
|
background: #FFFFFF;
|
border-bottom: 1px solid #EDEAF4;
|
}
|
.list-item{
|
background: #FFFFFF;
|
border-radius: 4px;
|
margin: 10px;
|
color: #3a3f3f;
|
padding: 0 10px;
|
}
|
.list-header{
|
display: flex;
|
justify-content: space-between;
|
padding: 12px 0;
|
font-size: 15px;
|
border-bottom: 1px solid #EDEAF4;
|
}
|
.list-content{
|
display: flex;
|
justify-content: space-between;
|
align-items: flex-start;
|
padding: 12px 0;
|
font-size: 14px;
|
}
|
.icon{
|
width: 16px;
|
height: 16px;
|
vertical-align: sub;
|
margin-right: 10px;
|
}
|
.list-footer{
|
display: flex;
|
justify-content: flex-end;
|
padding: 10px 0;
|
border-top: 1px solid #EDEAF4;
|
}
|
</style>
|