From c94eed22ac10480428d5b711bfd90ff746f42d2b Mon Sep 17 00:00:00 2001 From: li-guang <153605324@qq.com> Date: Fri, 25 Dec 2020 18:02:18 +0800 Subject: [PATCH] 库存查询 --- hive-app/pages/workbench/index.vue | 89 +++++++++++++++++++++++--------------------- 1 files changed, 46 insertions(+), 43 deletions(-) diff --git a/hive-app/pages/workbench/index.vue b/hive-app/pages/workbench/index.vue index 7af3599..10d721d 100644 --- a/hive-app/pages/workbench/index.vue +++ b/hive-app/pages/workbench/index.vue @@ -21,25 +21,24 @@ <text class="white font-14 popup-content-text">扫一扫</text> </view> </popover> - <view class="condition"> + <view class="condition flex justify-around"> <view class="eyes"> <text class="iconfont iconyanjing2"></text> <!-- <text class="iconfont iconbiyan"></text> --> </view> - <view class="flex justify-around"> - <view class="flex flex-v align-center"> - <text class="font-17">¥ 1000</text> - <text>今日订单</text> - </view> - <view class="flex flex-v align-center"> - <text class="font-17">¥ 100</text> - <text>今日消耗</text> - </view> - <view class="flex flex-v align-center"> - <text class="font-17">¥ 90</text> - <text>手工提成</text> - </view> + <view class="flex flex-v align-center"> + <text class="font-17">¥ 1000</text> + <text>今日订单</text> </view> + <view class="flex flex-v align-center"> + <text class="font-17">¥ 100</text> + <text>今日消耗</text> + </view> + <view class="flex flex-v align-center"> + <text class="font-17">¥ 90</text> + <text>手工提成</text> + </view> + </view> <view class="content-item mt-10"> <text class="title">订单</text> @@ -47,25 +46,25 @@ <view class="list-item"> <navigator url="./selectCustomer" hover-class="none"> <image class="content-icon" src="../../static/images/order1.png"></image> - <text class="font-12 mt-10 font-dark">新建订单</text> + <text class="font-12 font-dark">新建订单</text> </navigator> </view> <view class="list-item"> <navigator url="./orderList" hover-class="none"> <image class="content-icon" src="../../static/images/order2.png"></image> - <text class="font-12 mt-10 font-dark">待付款</text> + <text class="font-12 font-dark">待付款</text> </navigator> </view> <view class="list-item"> <navigator url="./orderList" hover-class="none"> <image class="content-icon" src="../../static/images/order3.png"></image> - <text class="font-12 mt-10 font-dark">已付款</text> + <text class="font-12 font-dark">已付款</text> </navigator> </view> <view class="list-item"> <navigator url="./" hover-class="none"> <image class="content-icon" src="../../static/images/order4.png"></image> - <text class="font-12 mt-10 font-dark">领用</text> + <text class="font-12 font-dark">领用</text> </navigator> </view> </view> @@ -76,25 +75,25 @@ <view class="list-item"> <navigator url="./selectCustomer?type=2" hover-class="none"> <image class="content-icon" src="../../static/images/order1.png"></image> - <text class="font-12 mt-10 font-dark">新建服务单</text> + <text class="font-12 font-dark">新建服务单</text> </navigator> </view> <view class="list-item"> <navigator url="./serviceOrderList" hover-class="none"> <image class="content-icon" src="../../static/images/sever2.png"></image> - <text class="font-12 mt-10 font-dark">待服务</text> + <text class="font-12 font-dark">待服务</text> </navigator> </view> <view class="list-item"> <navigator url="./serviceOrderList" hover-class="none"> <image class="content-icon" src="../../static/images/sever3.png"></image> - <text class="font-12 mt-10 font-dark">服务中</text> + <text class="font-12 font-dark">服务中</text> </navigator> </view> <view class="list-item"> <navigator url="./serviceOrderList" hover-class="none"> <image class="content-icon" src="../../static/images/sever4.png"></image> - <text class="font-12 mt-10 font-dark">服务完成</text> + <text class="font-12 font-dark">服务完成</text> </navigator> </view> </view> @@ -105,25 +104,25 @@ <view class="list-item"> <navigator url="./" hover-class="none"> <image class="content-icon" src="../../static/images/commission1.png"></image> - <text class="font-12 mt-10 font-dark">看板</text> + <text class="font-12 font-dark">看板</text> </navigator> </view> <view class="list-item"> <navigator url="./" hover-class="none"> <image class="content-icon" src="../../static/images/sever1.png"></image> - <text class="font-12 mt-10 font-dark">客户预约</text> + <text class="font-12 font-dark">客户预约</text> </navigator> </view> <view class="list-item"> <navigator url="./" hover-class="none"> <image class="content-icon" src="../../static/images/commission2.png"></image> - <text class="font-12 mt-10 font-dark">跟进记录</text> + <text class="font-12 font-dark">跟进记录</text> </navigator> </view> <view class="list-item"> <navigator url="./" hover-class="none"> <image class="content-icon" src="../../static/images/commission3.png"></image> - <text class="font-12 mt-10 font-dark">通知</text> + <text class="font-12 font-dark">通知</text> </navigator> </view> </view> @@ -131,13 +130,17 @@ <view class="content-item mt-10"> <text class="title">仓库</text> <view class="flex align-center mt-10"> - <view class="flex flex-v align-center list-item"> - <image class="content-icon" src="../../static/images/warehouse1.png"></image> - <text class="font-12 mt-10 font-dark">库存查询</text> + <view class="list-item"> + <navigator url="./stockSearch" hover-class="none"> + <image class="content-icon" src="../../static/images/warehouse1.png"></image> + <text class="font-12 font-dark">库存查询</text> + </navigator> </view> - <view class="flex flex-v align-center list-item"> - <image class="content-icon" src="../../static/images/warehouse2.png"></image> - <text class="font-12 mt-10 font-dark">盘点</text> + <view class="list-item"> + <navigator url="./" hover-class="none"> + <image class="content-icon" src="../../static/images/warehouse2.png"></image> + <text class="font-12 font-dark">盘点</text> + </navigator> </view> </view> </view> @@ -156,9 +159,9 @@ } }, onLoad() { - document.addEventListener('click', () => { - this.isShow = false - }, false) + // document.addEventListener('click', () => { + // this.isShow = false + // }, false) }, methods:{ appear(){ @@ -186,22 +189,21 @@ padding: 0 10px; } .header{ - padding: 12px 5px; + padding: 0 5px 10px; } .condition{ position: relative; background: #518EFF; - padding: 15px 22px; + padding: 15px 20px; border-radius: 4px; font-size: 14px; color: #FFFFFF; line-height: 30px; } .condition .eyes{ - /* position: absolute; + position: absolute; right: 10px; - top: 10px; */ - text-align: right; + top: 10px; } .condition .eyes .iconfont{ font-size: 18px; @@ -223,14 +225,15 @@ text-align: center; } .content-icon{ - width: 30px; - height: 30px; + width: 26px; + height: 26px; display: block; - margin: 0 auto 10px; + margin: 0 auto 5px; } .popup-content{ position: absolute; + z-index: 99; right: 9px; top: 48px; padding-left: 10px; -- Gitblit v1.9.1