From 06df90b8a8349e520f7415a407a26ca6454f9c2c Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 19:08:39 +0800
Subject: [PATCH] 提交

---
 wechat_staff/utils/config.js        |    2 
 wechat_staff/pages/store/staff.wxss |   36 ++++++++++++++++++
 wechat_staff/pages/store/staff.less |   39 +++++++++++++++++++
 wechat_staff/pages/store/staff.wxml |    4 +-
 4 files changed, 77 insertions(+), 4 deletions(-)

diff --git a/wechat_staff/pages/store/staff.less b/wechat_staff/pages/store/staff.less
index dde80eb..0888924 100644
--- a/wechat_staff/pages/store/staff.less
+++ b/wechat_staff/pages/store/staff.less
@@ -8,6 +8,7 @@
   z-index: -1;
 }
 
+
 .container {
   padding: 26rpx 40rpx;
   .avatar {
@@ -198,4 +199,40 @@
     color: #999999;
     text-align: center;
   }
-}
\ No newline at end of file
+}
+.card_wrap{
+  position: fixed;
+  border-radius: 8rpx;
+  top: 50%;
+  left: 75rpx;
+  transform: translate(0, -50%);
+  width: 600rpx;
+  background-color: rgba(0, 0, 0, .2);
+  z-index: 999;
+  .img1{
+    image{
+      width: 600rpx;
+      border-radius: 8rpx ;
+    }
+  }
+  .btns{
+    margin-top: 30rpx;
+    display: flex;
+    justify-content: space-between;
+    width: 100%;
+    .btn{
+      width: 290rpx;
+      height: 88rpx;
+      border-radius: 8rpx;
+      border: 2rpx solid #FFFFFF;
+      display: flex;
+      justify-content: center;
+      align-items: center;
+      color: #fff;
+    }
+    .save{
+      border: none;
+      background: linear-gradient( 180deg, #E0B49C 0%, #B68B74 100%);
+    }
+  }
+}
diff --git a/wechat_staff/pages/store/staff.wxml b/wechat_staff/pages/store/staff.wxml
index 1ec8c09..13f881d 100644
--- a/wechat_staff/pages/store/staff.wxml
+++ b/wechat_staff/pages/store/staff.wxml
@@ -20,12 +20,12 @@
       <view class="card">
         <image src="../../static/images/mingpian_bg_nianxian.png" class="bg"></image>
         <view>浠庝笟骞撮檺</view>
-        <view class="num">{{ info.jobDate || '5' }}</view>
+        <view class="num">{{ userInfo.jobDate || '5' }}</view>
       </view>
       <view class="card">
       <image src="../../static/images/mingpian_bg_kehu.png" class="bg"></image>
         <view>鏈嶅姟瀹㈡埛</view>
-        <view class="num" wx:if="{{ info.costomerNum || info.costomerNum == 0 }}">{{ info.costomerNum || '--' }}+</view>
+        <view class="num" wx:if="{{ userInfo.costomerNum || userInfo.costomerNum == 0 }}">{{ userInfo.costomerNum || '--' }}+</view>
         <view wx:else class="num">--</view>
       </view>
     </view>
diff --git a/wechat_staff/pages/store/staff.wxss b/wechat_staff/pages/store/staff.wxss
index 19a1e15..dffb74d 100644
--- a/wechat_staff/pages/store/staff.wxss
+++ b/wechat_staff/pages/store/staff.wxss
@@ -105,6 +105,7 @@
   font-size: 40rpx;
   display: flex;
 }
+
 .guide .title {
   font-weight: 500;
   font-size: 32rpx;
@@ -187,3 +188,38 @@
   color: #999999;
   text-align: center;
 }
+
+.card_wrap {
+  position: fixed;
+  border-radius: 8rpx;
+  top: 50%;
+  left: 75rpx;
+  transform: translate(0, -50%);
+  width: 600rpx;
+  background-color: rgba(0, 0, 0, 0.2);
+  z-index: 999;
+}
+.card_wrap .img1 image {
+  width: 600rpx;
+  border-radius: 8rpx ;
+}
+.card_wrap .btns {
+  margin-top: 30rpx;
+  display: flex;
+  justify-content: space-between;
+  width: 100%;
+}
+.card_wrap .btns .btn {
+  width: 290rpx;
+  height: 88rpx;
+  border-radius: 8rpx;
+  border: 2rpx solid #FFFFFF;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  color: #fff;
+}
+.card_wrap .btns .save {
+  border: none;
+  background: linear-gradient(180deg, #E0B49C 0%, #B68B74 100%);
+}
\ No newline at end of file
diff --git a/wechat_staff/utils/config.js b/wechat_staff/utils/config.js
index 869ceec..a150c8d 100644
--- a/wechat_staff/utils/config.js
+++ b/wechat_staff/utils/config.js
@@ -1,4 +1,4 @@
-export const baseUrl = 'http://192.168.0.107:10027' 
+export const baseUrl = 'http://192.168.0.135:10027' 
 // export const baseUrl = 'https://dmtest.ahapp.net/web_interface' // 鏈湴
 // export const baseUrl = 'http://zbtest.ahapp.net/zbom_interface/jx/wechat/' //娴嬭瘯鏈嶅姟鍣�
 

--
Gitblit v1.9.3