From c93eff979aba7e4e071b3363f9146d5b4d49996e Mon Sep 17 00:00:00 2001 From: li-guang <153605324@qq.com> Date: Mon, 21 Dec 2020 14:47:43 +0800 Subject: [PATCH] 服务单 --- hive-app/pages/workbench/orderList.vue | 116 +++++++++++++++++++++++++++------------------------------- 1 files changed, 54 insertions(+), 62 deletions(-) diff --git a/hive-app/pages/workbench/orderList.vue b/hive-app/pages/workbench/orderList.vue index 712fc2d..96857fe 100644 --- a/hive-app/pages/workbench/orderList.vue +++ b/hive-app/pages/workbench/orderList.vue @@ -1,12 +1,8 @@ <template> <!-- 订单列表 --> <view> - <!-- #ifndef H5 --> - <view class="status_bar"></view> - <!-- #endif --> - <view class="input-box"> - <view class="input-icon iconfont iconsousuo"></view> - <input placeholder="输入会员姓名;手机号;编号查询" class="input" placeholder-class="input-text"/> + <view class="header"> + <search-bar class="mb-0"></search-bar> </view> <view> <h-tabs @@ -17,34 +13,35 @@ activeColor: '#518EFF', underLineColor: '#518EFF', underLineHeight: 4, - fontSize: '30px', - itemWidth: 80, + fontSize: '28', underLineWidth: 60, }" /> - <view class="order"> - <view class="flex justify-between order-number"> - <text class="font-14">订单号: N202012123556</text> - <text class="font-14 blue">待付款</text> - </view> - <view class="flex justify-between order-content"> - <view class="flex flex-v"> - <text class="font-12">李某某</text> - <text class="font-12 gray mt-10">2020-12-15 18:11:01</text> + <view class="list"> + <view class="list-item" v-for="item in 4"> + <view class="list-header"> + <text>订单号: N202012123556</text> + <text class="blue">待付款</text> </view> - <view class="flex flex-v"> - <text class="font-12">应付金额</text> - <text class="font-12 mt-10">实付金额</text> - <text class="font-12 mt-10">欠款总额</text> + <view class="list-content"> + <view class="flex flex-v"> + <text class="font-bold font-16">李某某</text> + <text class="gray">2020-12-15 18:11:01</text> + </view> + <view class="flex flex-v"> + <text>应付金额</text> + <text>实付金额</text> + <text>欠款总额</text> + </view> + <view class="flex flex-v right"> + <text>¥ 8000.00</text> + <text>¥ 0.00</text> + <text>¥ 8000.00</text> + </view> </view> - <view class="flex flex-v"> - <text class="font-12">$ 8000.00</text> - <text class="font-12 mt-10">$ 0.00</text> - <text class="font-12 mt-10">$ 8000.00</text> + <view class="list-footer"> + <text class="blue-btn small-btn">取消订单</text> </view> - </view> - <view class="flex justify-end"> - <button class="blue-btn small-btn">取消订单</button> </view> </view> </view> @@ -53,9 +50,11 @@ <script> import HTabs from "@/components/liuyuno-tabs/liuyuno-tabs.vue"; + import searchBar from '../../components/searchBar/index.vue'; export default { components: { - HTabs + HTabs, + searchBar }, data() { return { @@ -66,7 +65,7 @@ }, { state: 2, - name: '代付款' + name: '待付款' }, { state: 3, @@ -83,48 +82,41 @@ </script> <style> - .input-box{ - margin: 0 15px; - background: #F8F8F8; - border-radius: 25px; - display: flex; - align-items: center; - padding: 10px 0; + page{ + background: #F6F6F8; } - .input-icon{ - font-size: 20px; - margin: 0 16px; - } - .input{ - flex: 1; - font-size: 14px; - } - .input-text{ - color: #ABB1CC; + .header{ + padding: 10px; + background: #FFFFFF; } .tab{ + background: #FFFFFF; border-bottom: 1px solid #EDEAF4; - border-radius: 4px; - box-shadow:0 6px 6px rgba(237,234,244,0.5); } - .order{ - border: 1px solid #EDEAF4; + .list-item{ + background: #FFFFFF; border-radius: 4px; - box-shadow:0 6px 6px rgba(237,234,244,0.5); margin: 10px; - padding: 0 6px; + color: #3a3f3f; } - .order-number{ - padding: 10px 6px; + .list-header{ + display: flex; + justify-content: space-between; + padding: 12px 15px; + font-size: 15px; border-bottom: 1px solid #EDEAF4; } - .order-content{ - padding: 15px 6px; - border-bottom: 1px solid #EDEAF4; + .list-content{ + display: flex; + justify-content: space-between; + padding: 12px 15px; + font-size: 14px; + line-height: 28px; } - .small-btn{ - width: 100px; - margin: 10px 0; - line-height: 30px; + .list-footer{ + display: flex; + justify-content: flex-end; + padding: 10px 15px; + border-top: 1px solid #EDEAF4; } </style> -- Gitblit v1.9.1