From 3bd624bd36501ef9cef32a2637bb8be7187e7113 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 23 七月 2024 17:03:33 +0800
Subject: [PATCH] lll

---
 wechat_staff/static/icon/ic_mingpian.png      |    0 
 wechat_staff/pages/index/index.wxml           |    1 
 wechat_staff/components/buoyClient/index.less |   31 +++++
 wechat_staff/pages/download/index.less        |   72 ++++++++++++
 wechat_staff/pages/index/index.json           |    2 
 wechat_staff/components/buoyClient/index.js   |   30 +++++
 wechat_staff/project.private.config.json      |    2 
 /dev/null                                     |    0 
 wechat_staff/static/icon/ic_kehuxihuan.png    |    0 
 wechat_staff/app.json                         |    1 
 wechat_staff/pages/download/index.js          |   69 +++++++++++
 wechat_staff/pages/download/index.wxml        |   21 +++
 wechat_staff/pages/download/index.wxss        |   72 ++++++++++++
 wechat_staff/pages/download/index.json        |    4 
 wechat_staff/components/buoyClient/index.json |    4 
 wechat_staff/components/buoyClient/index.wxss |   31 +++++
 wechat_staff/components/buoyClient/index.wxml |   12 ++
 17 files changed, 350 insertions(+), 2 deletions(-)

diff --git a/wechat_staff/app.json b/wechat_staff/app.json
index ba74612..8c5b809 100644
--- a/wechat_staff/app.json
+++ b/wechat_staff/app.json
@@ -20,6 +20,7 @@
     "pages/store/staff",
     "pages/sets/index",
     "pages/webView/index",
+    "pages/download/index",
     "pages/sets/protocol",
     "pages/consult/detail",
     "pages/detailDis/product",
diff --git a/wechat_staff/components/buoyClient/index.js b/wechat_staff/components/buoyClient/index.js
new file mode 100644
index 0000000..c154c3b
--- /dev/null
+++ b/wechat_staff/components/buoyClient/index.js
@@ -0,0 +1,30 @@
+// components/buoyClient/index.js
+Component({
+  /**
+   * 缁勪欢鐨勫睘鎬у垪琛�
+   */
+  properties: {
+
+  },
+
+  /**
+   * 缁勪欢鐨勫垵濮嬫暟鎹�
+   */
+  data: {
+
+  },
+
+  /**
+   * 缁勪欢鐨勬柟娉曞垪琛�
+   */
+  methods: {
+    jumpPage(e) {
+      const urls = [ '/pages/kefu/fond', '/pages/store/staff' ]
+      const i = e.currentTarget.dataset.i
+      console.log('i', i);
+      wx.navigateTo({
+        url: urls[i],
+      })
+    }
+  }
+})
diff --git a/wechat_staff/components/buoyClient/index.json b/wechat_staff/components/buoyClient/index.json
new file mode 100644
index 0000000..e8cfaaf
--- /dev/null
+++ b/wechat_staff/components/buoyClient/index.json
@@ -0,0 +1,4 @@
+{
+  "component": true,
+  "usingComponents": {}
+}
\ No newline at end of file
diff --git a/wechat_staff/components/buoyClient/index.less b/wechat_staff/components/buoyClient/index.less
new file mode 100644
index 0000000..332ff1c
--- /dev/null
+++ b/wechat_staff/components/buoyClient/index.less
@@ -0,0 +1,31 @@
+.wrap{
+  width: 100rpx;
+  height: 232rpx;
+  background: rgba(255,255,255,0.86);
+  box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(0,0,0,0.2);
+  border-radius: 8rpx 0rpx 0rpx 8rpx;
+  border: 1rpx solid #EEEEEE;
+  padding: 20rpx 0rpx;
+}
+.item{
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  font-weight: 400;
+  font-size: 20rpx;
+  color: #666666;
+  margin-bottom: 20rpx;
+  &:nth-last-child(1){
+    margin-bottom: 0;
+  }
+  image{
+    width: 48rpx;
+    margin-bottom: 12rpx;
+  }
+}
+.app{
+  position: fixed;
+  z-index: 999;
+  bottom: 240rpx;
+  right: 0;
+}
\ No newline at end of file
diff --git a/wechat_staff/components/buoyClient/index.wxml b/wechat_staff/components/buoyClient/index.wxml
new file mode 100644
index 0000000..ff35286
--- /dev/null
+++ b/wechat_staff/components/buoyClient/index.wxml
@@ -0,0 +1,12 @@
+<view class="app">
+  <view class="wrap">
+    <view class="item" data-i="0" bindtap="jumpPage">
+      <image src="../../static/icon/ic_kehuxihuan.png" mode="widthFix"></image>
+      <view>瀹㈡埛鍠滄</view>
+    </view>
+    <view class="item" data-i="1" bindtap="jumpPage">
+      <image src="../../static/icon/ic_mingpian.png" mode="widthFix"></image>
+      <view>涓汉鍚嶇墖</view>
+    </view>
+  </view>
+</view>
\ No newline at end of file
diff --git a/wechat_staff/components/buoyClient/index.wxss b/wechat_staff/components/buoyClient/index.wxss
new file mode 100644
index 0000000..1d3aef2
--- /dev/null
+++ b/wechat_staff/components/buoyClient/index.wxss
@@ -0,0 +1,31 @@
+.wrap {
+  width: 100rpx;
+  height: 232rpx;
+  background: rgba(255, 255, 255, 0.86);
+  box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(0, 0, 0, 0.2);
+  border-radius: 8rpx 0rpx 0rpx 8rpx;
+  border: 1rpx solid #EEEEEE;
+  padding: 20rpx 0rpx;
+}
+.item {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  font-weight: 400;
+  font-size: 20rpx;
+  color: #666666;
+  margin-bottom: 20rpx;
+}
+.item:nth-last-child(1) {
+  margin-bottom: 0;
+}
+.item image {
+  width: 48rpx;
+  margin-bottom: 12rpx;
+}
+.app {
+  position: fixed;
+  z-index: 999;
+  bottom: 240rpx;
+  right: 0;
+}
diff --git a/wechat_staff/pages/download/index.js b/wechat_staff/pages/download/index.js
new file mode 100644
index 0000000..0f6771e
--- /dev/null
+++ b/wechat_staff/pages/download/index.js
@@ -0,0 +1,69 @@
+// pages/download/index.js
+Page({
+
+  /**
+   * 椤甸潰鐨勫垵濮嬫暟鎹�
+   */
+  data: {
+    bottomLift: ''
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
+   */
+  onLoad(options) {
+    var app = getApp().globalData
+    this.setData({
+      bottomLift: app.bottomLift
+    })
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
+   */
+  onReady() {
+
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鏄剧ず
+   */
+  onShow() {
+
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰闅愯棌
+   */
+  onHide() {
+
+  },
+
+  /**
+   * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍗歌浇
+   */
+  onUnload() {
+
+  },
+
+  /**
+   * 椤甸潰鐩稿叧浜嬩欢澶勭悊鍑芥暟--鐩戝惉鐢ㄦ埛涓嬫媺鍔ㄤ綔
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 椤甸潰涓婃媺瑙﹀簳浜嬩欢鐨勫鐞嗗嚱鏁�
+   */
+  onReachBottom() {
+
+  },
+
+  /**
+   * 鐢ㄦ埛鐐瑰嚮鍙充笂瑙掑垎浜�
+   */
+  onShareAppMessage() {
+
+  }
+})
\ No newline at end of file
diff --git a/wechat_staff/pages/download/index.json b/wechat_staff/pages/download/index.json
new file mode 100644
index 0000000..05ecd33
--- /dev/null
+++ b/wechat_staff/pages/download/index.json
@@ -0,0 +1,4 @@
+{
+  "usingComponents": {},
+  "navigationBarTitleText": "涓嬭浇"
+}
\ No newline at end of file
diff --git a/wechat_staff/pages/download/index.less b/wechat_staff/pages/download/index.less
new file mode 100644
index 0000000..1818e35
--- /dev/null
+++ b/wechat_staff/pages/download/index.less
@@ -0,0 +1,72 @@
+.list{
+  display: flex;
+  flex-wrap: wrap;
+  padding: 40rpx;
+  .item{
+    width: 210rpx;
+    height: 210rpx;
+    border-radius: 8rpx;
+    overflow: hidden;
+    position: relative;
+    border: 1px solid;
+    .img{
+      width: 100%;
+      height: 100%;
+    }
+    .shade{
+      position: absolute;
+      z-index: 99;
+      width: 100%;
+      height: 100%;
+      left: 0;
+      top: 0;
+      background-color: rgba(0,0,0,.5);
+      font-size: 30rpx;
+      color: #FFFFFF;
+      display: flex;
+      justify-content: center;
+      align-items: center;
+    }
+    .check{
+      width: 40rpx;
+      height: 40rpx;
+      position: absolute;
+      top: 12rpx;
+      left: 12rpx;
+    }
+  }
+}
+.footer {
+  position: fixed;
+  bottom: 0;
+  left: 0;
+  width: 750rpx;
+  background-color: #fff;
+  box-shadow: 0rpx -1rpx 0rpx 0rpx #EEEEEE;
+  font-weight: 400;
+  .footer_wrap{
+    display: flex;
+    align-items: center;
+    justify-content: space-between;
+    height: 100rpx;
+    padding: 0 40rpx;
+  } 
+  .check_wrap{
+    display: flex;
+    align-items: center;
+    .check{
+      width: 40rpx;
+      height: 40rpx;
+      margin-right: 18rpx;
+    }
+  }
+  .down_btn{
+    width: 480rpx;
+    text-align: center;
+    height: 72rpx;
+    line-height: 70rpx;
+    background: #B08771;
+    border-radius: 8rpx;
+    color: #fff;
+  }
+}
\ No newline at end of file
diff --git a/wechat_staff/pages/download/index.wxml b/wechat_staff/pages/download/index.wxml
new file mode 100644
index 0000000..3319225
--- /dev/null
+++ b/wechat_staff/pages/download/index.wxml
@@ -0,0 +1,21 @@
+<view>
+  <view class="list">
+    <view class="item">
+      <image class="img" src=""></image>
+      <view class="shade">绛夊緟涓嬭浇</view>
+      <image wx:if="{{ true }}" class="check" src="../../static/icon/ic_select_sel@2x.png"></image>
+      <image wx:else class="check" src="../../static/icon/ic_select@2x.png"></image>
+    </view>
+  </view>
+  <!--  -->
+  <view class="footer" style="padding-bottom: {{bottomLift}}px;">
+    <view class="footer_wrap">
+      <view class="check_wrap">
+        <image wx:if="{{ true }}" class="check" src="../../static/icon/ic_select_sel@2x.png"></image>
+        <image wx:else class="check" src="../../static/icon/ic_select@2x.png"></image>
+        <text>鍏ㄩ��</text>
+      </view>
+      <view class="down_btn">鎵归噺涓嬭浇</view>
+    </view>
+  </view>
+</view>
\ No newline at end of file
diff --git a/wechat_staff/pages/download/index.wxss b/wechat_staff/pages/download/index.wxss
new file mode 100644
index 0000000..b8bde22
--- /dev/null
+++ b/wechat_staff/pages/download/index.wxss
@@ -0,0 +1,72 @@
+.list {
+  display: flex;
+  flex-wrap: wrap;
+  padding: 40rpx;
+}
+.list .item {
+  width: 210rpx;
+  height: 210rpx;
+  border-radius: 8rpx;
+  overflow: hidden;
+  position: relative;
+  border: 1px solid;
+}
+.list .item .img {
+  width: 100%;
+  height: 100%;
+}
+.list .item .shade {
+  position: absolute;
+  z-index: 99;
+  width: 100%;
+  height: 100%;
+  left: 0;
+  top: 0;
+  background-color: rgba(0, 0, 0, 0.5);
+  font-size: 30rpx;
+  color: #FFFFFF;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+.list .item .check {
+  width: 40rpx;
+  height: 40rpx;
+  position: absolute;
+  top: 12rpx;
+  left: 12rpx;
+}
+.footer {
+  position: fixed;
+  bottom: 0;
+  left: 0;
+  width: 750rpx;
+  background-color: #fff;
+  box-shadow: 0rpx -1rpx 0rpx 0rpx #EEEEEE;
+  font-weight: 400;
+}
+.footer .footer_wrap {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  height: 100rpx;
+  padding: 0 40rpx;
+}
+.footer .check_wrap {
+  display: flex;
+  align-items: center;
+}
+.footer .check_wrap .check {
+  width: 40rpx;
+  height: 40rpx;
+  margin-right: 18rpx;
+}
+.footer .down_btn {
+  width: 480rpx;
+  text-align: center;
+  height: 72rpx;
+  line-height: 70rpx;
+  background: #B08771;
+  border-radius: 8rpx;
+  color: #fff;
+}
diff --git a/wechat_staff/pages/index/index.json b/wechat_staff/pages/index/index.json
index a4c00c5..96cd387 100644
--- a/wechat_staff/pages/index/index.json
+++ b/wechat_staff/pages/index/index.json
@@ -1,6 +1,6 @@
 {
   "usingComponents": {
-
+    "buoyClient": "../../components/buoyClient/index"
   },
   "navigationStyle": "custom"
 }
\ No newline at end of file
diff --git a/wechat_staff/pages/index/index.wxml b/wechat_staff/pages/index/index.wxml
index 64ac253..04cfb41 100644
--- a/wechat_staff/pages/index/index.wxml
+++ b/wechat_staff/pages/index/index.wxml
@@ -1,5 +1,6 @@
 <view class="container">
   <view style="height: {{clientTop - 2}}px;"></view>
+  <buoyClient />
   <view class="search_wrap">
     <image class="icon" src="../../static/home_ic_search@2x.png" mode="widthFix"></image>
     <input model:value="{{ searchValue }}" placeholder="鎼滅储" type="text" />
diff --git a/wechat_staff/project.private.config.json b/wechat_staff/project.private.config.json
index e8a8518..92b7877 100644
--- a/wechat_staff/project.private.config.json
+++ b/wechat_staff/project.private.config.json
@@ -38,7 +38,7 @@
         },
         {
           "name": "",
-          "pathName": "pages/promotion/index",
+          "pathName": "pages/download/index",
           "query": "",
           "launchMode": "default",
           "scene": null
diff --git a/wechat_staff/static/icon/ic_kehuxihuan.png b/wechat_staff/static/icon/ic_kehuxihuan.png
new file mode 100644
index 0000000..acbe934
--- /dev/null
+++ b/wechat_staff/static/icon/ic_kehuxihuan.png
Binary files differ
diff --git a/wechat_staff/static/icon/ic_mingpian.png b/wechat_staff/static/icon/ic_mingpian.png
new file mode 100644
index 0000000..171e032
--- /dev/null
+++ b/wechat_staff/static/icon/ic_mingpian.png
Binary files differ
diff --git a/wechat_staff/static/icon/test.png b/wechat_staff/static/icon/test.png
deleted file mode 100644
index 4820384..0000000
--- a/wechat_staff/static/icon/test.png
+++ /dev/null
Binary files differ

--
Gitblit v1.9.3