瀏覽代碼

first commit

xiaodai2017 1 年之前
當前提交
bfc6f05dd3
共有 100 個文件被更改,包括 1329 次插入0 次删除
  1. 31 0
      .eslintrc.js
  2. 17 0
      .gitignore
  3. 22 0
      app.js
  4. 142 0
      app.json
  5. 59 0
      app.wxss
  6. 120 0
      components/city-bar/index.js
  7. 3 0
      components/city-bar/index.json
  8. 38 0
      components/city-bar/index.scss
  9. 26 0
      components/city-bar/index.wxml
  10. 36 0
      components/city-bar/index.wxss
  11. 78 0
      components/fuwuxieyi/index.js
  12. 3 0
      components/fuwuxieyi/index.json
  13. 18 0
      components/fuwuxieyi/index.wxml
  14. 32 0
      components/fuwuxieyi/index.wxss
  15. 17 0
      components/logout-show/index.js
  16. 3 0
      components/logout-show/index.json
  17. 33 0
      components/logout-show/index.scss
  18. 3 0
      components/logout-show/index.wxml
  19. 36 0
      components/logout-show/index.wxss
  20. 204 0
      components/popup-modal/index.js
  21. 3 0
      components/popup-modal/index.json
  22. 88 0
      components/popup-modal/index.scss
  23. 33 0
      components/popup-modal/index.wxml
  24. 83 0
      components/popup-modal/index.wxss
  25. 44 0
      custom-tab-bar/index.js
  26. 3 0
      custom-tab-bar/index.json
  27. 9 0
      custom-tab-bar/index.wxml
  28. 38 0
      custom-tab-bar/index.wxss
  29. 二進制
      images/default.png
  30. 二進制
      images/gift.png
  31. 二進制
      images/home/goodslist.png
  32. 二進制
      images/home/kanjia.png
  33. 二進制
      images/home/miaosha.png
  34. 二進制
      images/home/notice.png
  35. 二進制
      images/home/pingtuan.png
  36. 二進制
      images/home/recommend.png
  37. 0 0
      images/icon/car.svg
  38. 1 0
      images/icon/close.svg
  39. 1 0
      images/icon/close0.svg
  40. 12 0
      images/icon/coupons-active.svg
  41. 12 0
      images/icon/coupons-off.svg
  42. 1 0
      images/icon/delete.svg
  43. 1 0
      images/icon/edit.svg
  44. 1 0
      images/icon/fav0.svg
  45. 1 0
      images/icon/fav1.svg
  46. 1 0
      images/icon/go-l.svg
  47. 1 0
      images/icon/go-r.svg
  48. 1 0
      images/icon/kf.svg
  49. 1 0
      images/icon/list1.svg
  50. 1 0
      images/icon/list2.svg
  51. 二進制
      images/icon/next.png
  52. 13 0
      images/icon/next.svg
  53. 15 0
      images/icon/pos-gray.svg
  54. 1 0
      images/icon/search.svg
  55. 9 0
      images/icon/shop-on.svg
  56. 9 0
      images/icon/shop.svg
  57. 10 0
      images/icon/tel-gray.svg
  58. 15 0
      images/icon/time-gray.svg
  59. 二進制
      images/live.png
  60. 二進制
      images/nav/cart-off.png
  61. 二進制
      images/nav/cart-on.png
  62. 二進制
      images/nav/coupon-off.png
  63. 二進制
      images/nav/coupon-on.png
  64. 二進制
      images/nav/fl-off.png
  65. 二進制
      images/nav/fl-on.png
  66. 二進制
      images/nav/home-off.png
  67. 二進制
      images/nav/home-on.png
  68. 二進制
      images/nav/my-off.png
  69. 二進制
      images/nav/my-on.png
  70. 二進制
      images/nav/order-off.png
  71. 二進制
      images/nav/order-on.png
  72. 二進制
      images/nologin.png
  73. 二進制
      images/order-details/icon-address.png
  74. 二進制
      images/order-details/icon-ddfh.png
  75. 二進制
      images/order-details/icon-ddfk.png
  76. 二進制
      images/order-details/icon-ddgb.png
  77. 二進制
      images/order-details/icon-ddsh.png
  78. 二進制
      images/order-details/icon-jycg.png
  79. 二進制
      images/order-details/icon-wuliu.png
  80. 二進制
      images/order/fahuo.png
  81. 二進制
      images/order/pj.png
  82. 二進制
      images/order/shouhou.png
  83. 二進制
      images/order/shouhuo.png
  84. 二進制
      images/order/topay.png
  85. 二進制
      images/resource-details/huichang.png
  86. 二進制
      images/resource-details/kefang.png
  87. 二進制
      images/resource-details/mianji.png
  88. 二進制
      images/resource-details/renshu.png
  89. 二進制
      images/resource-details/scy.png
  90. 二進制
      images/resource-details/shy.png
  91. 二進制
      images/resource-details/sjd.png
  92. 二進制
      images/share/share1.png
  93. 二進制
      images/share/share2.png
  94. 二進制
      images/trtc/avatar1_100.png
  95. 二進制
      images/trtc/back.png
  96. 二進制
      images/trtc/call.png
  97. 二進制
      images/trtc/doubleroom.png
  98. 二進制
      images/trtc/hangup.png
  99. 二進制
      images/wx.jpg
  100. 二進制
      images/zw.png

+ 31 - 0
.eslintrc.js

@@ -0,0 +1,31 @@
+/*
+ * Eslint config file
+ * Documentation: https://eslint.org/docs/user-guide/configuring/
+ * Install the Eslint extension before using this feature.
+ */
+module.exports = {
+  env: {
+    es6: true,
+    browser: true,
+    node: true,
+  },
+  ecmaFeatures: {
+    modules: true,
+  },
+  parserOptions: {
+    ecmaVersion: 2018,
+    sourceType: 'module',
+  },
+  globals: {
+    wx: true,
+    App: true,
+    Page: true,
+    getCurrentPages: true,
+    getApp: true,
+    Component: true,
+    requirePlugin: true,
+    requireMiniProgram: true,
+  },
+  // extends: 'eslint:recommended',
+  rules: {},
+}

+ 17 - 0
.gitignore

@@ -0,0 +1,17 @@
+.DS_Store
+node_modules/
+miniprogram_npm/
+# dist/
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+package-lock.json
+tests/**/coverage/
+
+# Editor directories and files
+.idea
+.vscode
+*.suo
+*.ntvs*
+*.njsproj
+*.sln

+ 22 - 0
app.js

@@ -0,0 +1,22 @@
+// app.js
+// const https = require("./utils/serverUser");
+
+App({
+  onLaunch() {
+    // this.getUser()
+  },
+  // async getUser() {
+  //   const {
+  //     code,
+  //     data
+  //   } = await https.getUserInfo({})
+  //   if (code !== 1) {
+  //     wx.setStorageSync("hw_token", "")
+  //     wx.setStorageSync("hw_mobile", "")
+  //   } else {
+  //     wx.setStorageSync("hw_token", data.token)
+  //     wx.setStorageSync("hw_mobile", data.mobile)
+  //   }
+  // },
+
+})

+ 142 - 0
app.json

@@ -0,0 +1,142 @@
+{
+  "pages": [
+    "pages/index/index",
+    "pages/resource/index",
+    "pages/order/index",
+    "pages/my/index"
+  ],
+  "subpackages": [{
+      "root": "userLogin",
+      "pages": [
+        "pages/login/index",
+        "pages/register/index",
+        "pages/xieyi/index",
+        "pages/zhengce/index"
+      ]
+    },
+    {
+      "root": "userResource",
+      "pages": [
+        "pages/resource-details/index",
+        "pages/resource-img/index"
+      ]
+    },
+    {
+      "root": "userOrder",
+      "pages": [
+        "pages/continue/index",
+        "pages/order-details/index"
+      ]
+    },
+    {
+      "root": "userInfo",
+      "pages": [
+        "pages/about/index"
+      ]
+    }
+  ],
+  "window": {
+    "backgroundTextStyle": "light",
+    "navigationBarBackgroundColor": "#fff",
+    "navigationBarTitleText": "",
+    "navigationBarTextStyle": "black",
+    "onReachBottomDistance": 50
+  },
+  "tabBar": {
+    "color": "#6e6d6b",
+    "selectedColor": "#e64340",
+    "borderStyle": "white",
+    "backgroundColor": "#fff",
+    "custom": true,
+    "list": [{
+        "pagePath": "pages/index/index",
+        "iconPath": "/images/nav/home-off.png",
+        "selectedIconPath": "/images/nav/home-on.png",
+        "text": "首页"
+      },
+      {
+        "pagePath": "pages/resource/index",
+        "iconPath": "/images/nav/fl-off.png",
+        "selectedIconPath": "/images/nav/fl-on.png",
+        "text": "会务资源"
+      },
+      {
+        "pagePath": "pages/order/index",
+        "iconPath": "/images/nav/cart-off.png",
+        "selectedIconPath": "/images/nav/cart-on.png",
+        "text": "订单"
+      },
+      {
+        "pagePath": "pages/my/index",
+        "iconPath": "/images/nav/my-off.png",
+        "selectedIconPath": "/images/nav/my-on.png",
+        "text": "我的"
+      }
+    ]
+  },
+  "usingComponents": {
+    "city-bar": "/components/city-bar/index",
+    "popup-modal": "/components/popup-modal/index",
+    "logout-show": "/components/logout-show/index",
+    "van-search": "@vant/weapp/search/index",
+    "van-divider": "@vant/weapp/divider/index",
+    "van-icon": "@vant/weapp/icon/index",
+    "van-count-down": "@vant/weapp/count-down/index",
+    "van-button": "@vant/weapp/button/index",
+    "van-cell": "@vant/weapp/cell/index",
+    "van-cell-group": "@vant/weapp/cell-group/index",
+    "van-tag": "@vant/weapp/tag/index",
+    "van-card": "@vant/weapp/card/index",
+    "van-progress": "@vant/weapp/progress/index",
+    "van-submit-bar": "@vant/weapp/submit-bar/index",
+    "van-field": "@vant/weapp/field/index",
+    "van-radio": "@vant/weapp/radio/index",
+    "van-radio-group": "@vant/weapp/radio-group/index",
+    "van-sidebar": "@vant/weapp/sidebar/index",
+    "van-sidebar-item": "@vant/weapp/sidebar-item/index",
+    "van-empty": "@vant/weapp/empty/index",
+    "van-goods-action": "@vant/weapp/goods-action/index",
+    "van-goods-action-icon": "@vant/weapp/goods-action-icon/index",
+    "van-goods-action-button": "@vant/weapp/goods-action-button/index",
+    "van-popup": "@vant/weapp/popup/index",
+    "van-picker": "@vant/weapp/picker/index",
+    "van-stepper": "@vant/weapp/stepper/index",
+    "van-sticky": "@vant/weapp/sticky/index",
+    "van-dialog": "@vant/weapp/dialog/index",
+    "van-swipe-cell": "@vant/weapp/swipe-cell/index",
+    "van-calendar": "@vant/weapp/calendar/index",
+    "van-switch": "@vant/weapp/switch/index",
+    "van-rate": "@vant/weapp/rate/index",
+    "van-uploader": "@vant/weapp/uploader/index",
+    "van-grid": "@vant/weapp/grid/index",
+    "van-grid-item": "@vant/weapp/grid-item/index",
+    "van-image": "@vant/weapp/image/index",
+    "van-tab": "@vant/weapp/tab/index",
+    "van-tabs": "@vant/weapp/tabs/index",
+    "van-tabbar-item": "@vant/weapp/tabbar-item/index",
+    "van-overlay": "@vant/weapp/overlay/index",
+    "van-datetime-picker": "@vant/weapp/datetime-picker/index",
+    "van-area": "@vant/weapp/area/index",
+    "van-action-sheet": "@vant/weapp/action-sheet/index",
+    "van-row": "@vant/weapp/row/index",
+    "van-col": "@vant/weapp/col/index",
+    "van-nav-bar": "@vant/weapp/nav-bar/index",
+    "van-dropdown-menu": "@vant/weapp/dropdown-menu/index",
+    "van-dropdown-item": "@vant/weapp/dropdown-item/index",
+    "van-index-bar": "@vant/weapp/index-bar/index",
+    "van-index-anchor": "@vant/weapp/index-anchor/index",
+    "van-skeleton": "@vant/weapp/skeleton/index"
+  },
+  "requiredPrivateInfos": ["getLocation"],
+  "permission": {
+    "scope.userLocation": {
+      "desc": "将获取你的具体位置信息,用于更准确匹配你的提单需求"
+    }
+  },
+  "sitemapLocation": "sitemap.json",
+  "networkTimeout": {
+    "request": 10000,
+    "downloadFile": 10000
+  },
+  "debug": true
+}

+ 59 - 0
app.wxss

@@ -0,0 +1,59 @@
+/**app.wxss**/
+.container {
+  /* height: 100%;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: space-between;
+  padding: 0 0;
+  box-sizing: border-box; */
+}
+
+html,
+body {
+  position: relative;
+  width: 100vh;
+  height: 100vh;
+  box-sizing: border-box;
+  margin:0;
+  padding:0;
+  min-width: 100vh;
+  min-height: 100vh;
+}
+
+page {
+  /* position: relative;
+  width: 100vh;
+  height: 100vh;
+  box-sizing: border-box;
+  margin:0;
+  padding:0; */
+}
+
+/* .van-popup--bottom{
+  z-index: 10000 !important;
+} */
+/* root-portal {
+  display: flex;
+  width: 100%;
+  height: 100%;
+}
+root-portal-content {
+  position: relative;
+  height: 100%;
+  width: 100%;
+  pointer-events: none;
+} */
+.popup-my {
+  position: fixed !important;
+  height: 100% !important;
+  width: 100% !important;
+  z-index: 999999 !important;
+}
+
+view.van-calendar__header-title.header-index--van-calendar_header-title {
+  display: none !important;
+  height: 0 !important;
+  opacity: 0 !important;
+
+}

+ 120 - 0
components/city-bar/index.js

@@ -0,0 +1,120 @@
+const https = require("../../utils/serverData");
+const pinyin = require('js-pinyin');
+
+Component({
+  properties: {
+    changeValue: "",
+    changeLabel: ""
+  },
+  data: {
+    mapData: [],
+    loading: false,
+    indexList: [],
+    value: "",
+    label: "",
+    cityList: []
+  },
+
+  attached: async function () {
+    const {
+      changeValue,
+    } = this.data
+    this.setData({
+      loading: true
+    })
+
+    let mapData = await this.getAreaList()
+    this.setData({
+      mapData
+    })
+    mapData.map(item => {
+      item.pinyin = pinyin.getFullChars(item.label);
+    });
+
+    let provice = {};
+    mapData.map((item) => {
+      const Initials = item.pinyin[0].toUpperCase();
+      // 如果对象里有当前字母项则直接 push 一个对象,如果没有则创建一个新的键并赋值;     
+      if (provice[Initials]) {
+        provice[Initials].push(item);
+      } else {
+        provice[Initials] = [item];
+      }
+    });
+    // 将数据转为数组,并按字母顺利排列
+    let filterData = [];
+    for (let key in provice) {
+      const obj = {
+        letter: key,
+        list: provice[key]
+      };
+      filterData.push(obj)
+    }
+    filterData.sort((a, b) => {
+      return a.letter.localeCompare(b.letter)
+    });
+    // 为索引字符数组赋值
+    let indexList = [],
+      arr = [];
+    filterData.forEach((item) => {
+        indexList.push(item.letter)
+        let model = {
+          letter: item.letter,
+          list: []
+        }
+        item.list.forEach((si, sii) => {
+          const modelb = {
+            ...si,
+            order: Math.floor(item.list.length / 3) > Math.floor(sii / 3) ? false : true
+          }
+          model.list.push(modelb);
+        })
+        arr.push(model);
+      }
+
+    );
+    let name = "";
+    let index = mapData.findIndex((s) => String(s.id) === String(changeValue))
+    if (index !== -1) {
+      name = this.data.mapData[index].name
+    }
+    this.setData({
+      indexList: indexList,
+      cityList: arr,
+      value: String(changeValue),
+      label: name,
+      loading: false
+    })
+    console.log(changeValue,);
+    console.log(this.data.value);
+  },
+  methods: {
+    async getAreaList() {
+      const {
+        code,
+        data
+      } = await https.getArea({
+        level: 2
+      })
+      let arr = code === 1 ? data.list : [];
+      arr.map((s) => {
+        return s.value = s.id, s.label = s.name
+      })
+
+      return arr
+    },
+    bindViewTap(e) {
+      const {
+        pindex,
+        index
+      } = e.currentTarget.dataset
+      const model = {
+        value: this.data.cityList[pindex].list[index].value,
+        label: this.data.cityList[pindex].list[index].label,
+      }
+      this.setData(model)
+      console.log(model);
+      this.triggerEvent("itemClick", model)
+    },
+  }
+})

+ 3 - 0
components/city-bar/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 38 - 0
components/city-bar/index.scss

@@ -0,0 +1,38 @@
+.city-bar {
+  overflow: scroll;
+  height: 100vh;
+
+  .city-item {
+    background: #eee;
+
+    .city-value-row {
+      background: #fff;
+
+      &.current-city-value {
+        height: 50px;
+        line-height: 50px;
+        text-align: center;
+        color: #409EFF;
+      }
+    }
+
+    .city-value-item {
+
+      text-align: center;
+      height: 50px;
+      line-height: 50px;
+      border-bottom: 2px solid #eee;
+      overflow: hidden;
+      text-overflow: ellipsis;
+
+      &.not-border {
+        border: 2px solid transparent;
+      }
+
+      &.changed {
+        color: #409EFF;
+      }
+
+    }
+  }
+}

+ 26 - 0
components/city-bar/index.wxml

@@ -0,0 +1,26 @@
+<view class="city-bar">
+  <view wx:if="{{loading==true}}">
+    <van-skeleton title row="3" />
+    <van-skeleton title row="3" />
+    <van-skeleton title row="3" />
+  </view>
+  <van-index-bar wx:else index-list="{{ indexList }}">
+    <view class="city-item current-city">
+      <van-index-anchor index="当前城市" />
+      <view class="city-value-row current-city-value">{{label}}</view>
+    </view>
+
+    <view class="city-item" wx:for="{{cityList}}" wx:key="index" data-type="{{item.id}}">
+      <van-index-anchor index="{{item.letter}}">{{item.letter}}</van-index-anchor>
+      <view class="city-value-row">
+        <van-row>
+          <van-col span="8" wx:for="{{item.list}}" wx:key="id" wx:for-index="idx" wx:for-item="small">
+            <view class="city-value-item {{ small.order?'not-border':''}} {{small.value===value?'changed':''}}" data-pindex="{{index}}" data-index="{{idx}}" bindtap="bindViewTap">
+              {{small.label}}
+            </view>
+          </van-col>
+        </van-row>
+      </view>
+    </view>
+  </van-index-bar>
+</view>

+ 36 - 0
components/city-bar/index.wxss

@@ -0,0 +1,36 @@
+.city-bar {
+  overflow: scroll;
+  height: 100vh;
+}
+
+.city-bar .city-item {
+  background: #eee;
+}
+
+.city-bar .city-item .city-value-row {
+  background: #fff;
+}
+
+.city-bar .city-item .city-value-row.current-city-value {
+  height: 50px;
+  line-height: 50px;
+  text-align: center;
+  color: #409EFF;
+}
+
+.city-bar .city-item .city-value-item {
+  text-align: center;
+  height: 50px;
+  line-height: 50px;
+  border-bottom: 2px solid #eee;
+  overflow: hidden;
+  text-overflow: ellipsis;
+}
+
+.city-bar .city-item .city-value-item.not-border {
+  border: 2px solid transparent;
+}
+
+.city-bar .city-item .city-value-item.changed {
+  color: #409EFF;
+}

+ 78 - 0
components/fuwuxieyi/index.js

@@ -0,0 +1,78 @@
+const App = getApp();
+
+Component({
+  options: {
+    addGlobalClass: true,
+  },
+  /**
+   * 组件的对外属性,是属性名到属性设置的映射表
+   */
+  properties: {
+    k: String,    
+  },
+
+  /**
+   * 组件的内部数据,和 properties 一同用于组件的模板渲染
+   */
+  data: {
+    s: false
+  },
+  // 组件数据字段监听器,用于监听 properties 和 data 的变化
+  observers: {
+
+  },
+  lifetimes: {
+    attached: function () {
+      if (!this.data.k) {
+        this.setData({
+          s: true
+        })
+        return
+      }
+      const agreeYxtk = wx.getStorageSync('agreeYxtk_' + this.data.k)
+      if (!agreeYxtk) {
+        this.setData({
+          s: true
+        })
+      }
+    },
+    detached: function () {
+      // 在组件实例被从页面节点树移除时执行
+    },
+  },
+  /**
+   * 组件的方法列表
+   */
+  methods: {
+    aggree(){
+      if (this.data.k) {
+        wx.setStorageSync('agreeYxtk_' + this.data.k, true)
+      }
+      this.setData({
+        s: false
+      })
+    },
+    notagree(){
+      wx.navigateTo({
+        url: '/pages/notagree/index'
+      })
+    },
+    goYstk(e){
+      const k = e.currentTarget.dataset.k
+      wx.navigateTo({
+        url: '/pages/about/index?key=' + k,
+      })
+    },
+    navBack: function () {
+      wx.navigateBack({
+        delta: 1
+      })
+    },
+    //回主页
+    toIndex: function () {
+      wx.navigateTo({
+        url: '/pages/admin/home/index/index'
+      })
+    },
+  }
+})

+ 3 - 0
components/fuwuxieyi/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 18 - 0
components/fuwuxieyi/index.wxml

@@ -0,0 +1,18 @@
+<van-popup show="{{ s }}" custom-class="btn-add-box-popup" round close-on-click-overlay="{{ false }}">
+  <view class="t">用户协议及隐私政策</view>
+  <view class="content">
+    您在使用我们的服务时,我们可能会收集和
+    使用您的相关信息。我们希望通过本
+    <text class="link" data-k="yhxy" bindtap="goYstk">《用户协议》</text>
+    及<text class="link" data-k="ysxy" bindtap="goYstk">《隐私协议》</text>向您说明,在使用我
+    们的服务时,我们如何收集、使用、储存和
+    分享这些信息,以及我们为您提供的访问、
+    更新、控制和保护这些信息的方式。本<text class="link" data-k="yhxy" bindtap="goYstk">《用户协议》</text>及
+    <text class="link" data-k="ysxy" bindtap="goYstk">《隐私协议》</text>,希望您仔细闭读,
+    充分理解协议中的内容后再点击同意。
+  </view>
+  <view class="btn-group">
+    <van-button type="primary" block size="small" bind:click="aggree">同意</van-button>
+    <van-button type="danger" block size="small" bind:click="notagree">不同意</van-button>
+  </view>
+</van-popup>

+ 32 - 0
components/fuwuxieyi/index.wxss

@@ -0,0 +1,32 @@
+.btn-add-box-popup .t {
+  font-size: 36rpx;
+  text-align: center;
+  height: 88rpx;
+  line-height: 88rpx;
+  font-weight: bold;
+}
+.btn-add-box-popup .bd {
+  padding: 0 32rpx;
+  padding-bottom: 32rpx;
+}
+.btn-add-box-popup .del-btn {
+  margin-top: 32rpx;
+}
+
+.content {
+	width: 600rpx;
+	padding: 32rpx;
+	font-size: 32rpx;
+	line-height: 54rpx;
+}
+.link {
+	color: #10AEFF;
+}
+.btn-group {
+  padding: 32rpx;
+  display: flex;
+  justify-content: space-around;
+}
+.mt32 {
+	margin-top: 32rpx;
+}

+ 17 - 0
components/logout-show/index.js

@@ -0,0 +1,17 @@
+Component({
+  properties: {
+    title:"",
+    showBtn:true
+  },
+  data: {
+  },
+  attached: async function () {
+  },
+  methods: {
+ gotoLogin(){
+  wx.navigateTo({
+    url: "../../userLogin/pages/login/index"
+  })
+ }
+  }
+})

+ 3 - 0
components/logout-show/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 33 - 0
components/logout-show/index.scss

@@ -0,0 +1,33 @@
+.city-bar{
+  overflow:scroll;
+  height: 100vh;
+}
+.city-item{
+  background: #eee;
+  .city-value-row{
+    background: #fff;
+    &.current-city-value{
+      height: 50px;
+      line-height: 50px;
+      text-align: center;
+      color: #409EFF;
+    }
+  }
+
+  .city-value-item{
+    
+    text-align: center;
+    height: 50px;
+    line-height: 50px;
+    border-bottom:2px solid #eee;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    &.not-border{
+      border:2px solid transparent;
+    }
+    &.changed{
+      color: #409EFF;
+    }
+
+  }
+}

+ 3 - 0
components/logout-show/index.wxml

@@ -0,0 +1,3 @@
+  <van-empty  description="{{'登录后可查看'+title}}" >
+    <van-button wx:if="{{showBtn}}" round color="#1989fa" custom-style="padding:0 25px;height:40px" bindtap="gotoLogin" >立即登录</van-button>
+  </van-empty>

+ 36 - 0
components/logout-show/index.wxss

@@ -0,0 +1,36 @@
+.city-bar {
+  overflow: scroll;
+  height: 100vh;
+}
+
+.city-item {
+  background: #eee;
+}
+
+.city-item .city-value-row {
+  background: #fff;
+}
+
+.city-item .city-value-row.current-city-value {
+  height: 50px;
+  line-height: 50px;
+  text-align: center;
+  color: #409EFF;
+}
+
+.city-item .city-value-item {
+  text-align: center;
+  height: 50px;
+  line-height: 50px;
+  border-bottom: 2px solid #eee;
+  overflow: hidden;
+  text-overflow: ellipsis;
+}
+
+.city-item .city-value-item.not-border {
+  border: 2px solid transparent;
+}
+
+.city-item .city-value-item.changed {
+  color: #409EFF;
+}

+ 204 - 0
components/popup-modal/index.js

@@ -0,0 +1,204 @@
+const https = require("../../utils/serverData");
+const dayjs = require("dayjs")
+import {
+  storeBindingsBehavior
+} from 'mobx-miniprogram-bindings'
+import {
+  store
+} from "../../store/index";
+
+Component({
+  behaviors: [storeBindingsBehavior],
+  properties: {
+    popupType: "",
+    popupKey: "",
+    popupTitle: "",
+    popupValue: "",
+    popupApi: "",
+    show: false
+  },
+  data: {
+    popupOptions: [],
+    loading: false,
+    value: "",
+    label: "",
+  },
+  storeBindings: {
+    store: store,
+    fields: {
+      token: () => store.token,
+    },
+    actions: {
+      setStore: 'setStore',
+    }
+  },
+  observers: { // 设置组件的侦听属性
+    show(val) {
+      // console.log(val)
+      if (val) {
+        // wx.setNavigationBarTitle({
+        //   title: this.data.popupTitle
+        // })
+
+        const {
+          popupType,
+          popupValue
+        } = this.data
+        if (popupType === "radio") {
+          this.setData({
+            value: popupValue
+          })
+        }
+        if (popupType === 'checkbox' || popupType === "radio") {
+          this.getDateList()
+        } else {
+          this.setData({
+            popupOptions: [],
+          })
+        }
+
+      }
+
+    },
+  },
+  methods: {
+    async getDateList() {
+      let resList = []
+      const {
+        popupType,
+        popupValue
+      } = this.data
+      const {
+        code,
+        data,
+        msg
+      } = await https[this.data.popupApi]({
+        page: 1,
+        limit: 999999,
+        status: '1'
+      })
+      if (code === 1) {
+        const {
+          list
+        } = data
+
+        // console.log(popupValue);
+        list.forEach(si => {
+          if (popupType === 'checkbox') {
+            let index = popupValue.findIndex((s) => s + '' === si.id + '')
+            resList.push({
+              ...si,
+              selected: index !== -1
+            })
+          } else {
+            resList.push({
+              ...si,
+              name: si.name ? si.name : String(si.max) !== '0' ? `${si.min}~${si.max}人` : `${si.min}+人`
+            })
+          }
+        })
+        console.log(resList);
+
+
+      } else {
+        await this.setStore("", "");
+      }
+      this.setData({
+        popupOptions: resList,
+        loading: false
+      })
+    },
+    radioChange(e) {
+      const index = Number(e.currentTarget.dataset.index)
+      const options = this.data.popupOptions
+      const value = index === "" ? "" : options[index].id
+      const label = index === "" ? "" : options[index].name
+      this.returnItem({
+        value,
+        label
+      })
+    },
+    timeConfirm(e) {
+      // console.log(e.detail);
+      let str = "",
+        time1 = "",
+        time2 = "",
+        num = 0;
+      if (e.detail.length === 2) {
+        time1 = dayjs(e.detail[0]).format('YYYY-MM-DD');
+        time2 = dayjs(e.detail[1]).format('YYYY-MM-DD');
+        let timeStamp1 = new Date(e.detail[0]).valueOf(),
+          timeStamp2 = new Date(e.detail[1]).valueOf(),
+          timeType1 = dayjs(e.detail[0]).format('MM.DD'),
+          timeType2 = dayjs(e.detail[1]).format('MM.DD'),
+          conver = 1000 * 60 * 60 * 24;
+        num = ((timeStamp2 - timeStamp1) / conver) + 1
+        str = `${timeType1}-${timeType2},${num}天`
+      }
+
+
+      this.returnItem({
+        value: time1,
+        label: str,
+        count: num,
+        end: time2
+      })
+
+    },
+
+
+    //复选框确定
+    checkboxSelected() {
+      const options = this.data.popupOptions
+      let list = [],
+        str = "";
+      options.forEach((s) => {
+        if (s.selected) {
+          list.push(s.id)
+          str += str === '' ? s.name : `+${s.name}`
+        }
+      });
+      this.returnItem({
+        value: list,
+        label: str,
+      })
+    },
+    //复选框选择
+    checkboxChange(e) {
+      const index = Number(e.currentTarget.dataset.index)
+      const options = this.data.popupOptions
+      options[Number(index)].selected = !options[Number(index)].selected
+      this.setData({
+        popupOptions: options
+      });
+    },
+    onItemClick(e) {
+      const {
+        value,
+        label
+      } = e.detail
+      this.returnItem({
+        value,
+        label,
+      })
+    },
+    onClickLeft() {
+      this.triggerEvent("leftClick")
+    },
+    returnItem(model) {
+      let modal = {
+        popupType: this.data.popupType,
+        popupKey: this.data.popupKey,
+        ...model
+      }
+      this.triggerEvent("itemClick", modal)
+    },
+    showToastMsg(msg) {
+      wx.showToast({
+        title: msg,
+        icon: 'none',
+        duration: 2000
+      })
+    },
+  }
+})

+ 3 - 0
components/popup-modal/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 88 - 0
components/popup-modal/index.scss

@@ -0,0 +1,88 @@
+.popup-container {
+  height: 100vh;
+  padding:66px  0 0 0;
+  box-sizing: border-box;
+  overflow-y: scroll;
+
+  .popup-radio {
+    padding: 10px 0 10px 0;
+    // position: relative;
+    // height: calc(100vh - 66px);
+
+    .popup-radio-item {
+      color: #000;
+      font-size: 16px;
+      font-weight: bold;
+      line-height: 50px;
+      text-align: center;
+
+      &.selected {
+        color: #409EFF;
+      }
+    }
+  }
+
+  .popup-checkbox {
+    padding: 0 16px 0 16px;
+    box-sizing: border-box;
+    position: relative;
+    height: 100%;
+    min-height:100% ;
+    overflow: hidden;
+
+    .msgTitle {
+      background: #67C23A;
+      font-size: 12px;
+      text-align: center;
+      height: 30px;
+      line-height: 26px;
+      color: #fff;
+      margin: 0 -16px 20px -16px;
+    }
+
+    .popup-checkbox-item {
+      color: #000;
+      font-size: 16px;
+      font-weight: bold;
+      line-height: 50px;
+      background: rgb(244, 244, 245);
+      padding: 6px 12px;
+      margin: 0 0 10px 0;
+      border-radius: 7px;
+      border: 1px solid rgb(244, 244, 245);
+      display: flex;
+
+      &.selected {
+        color: #409EFF;
+        border: 1px solid #409EFF;
+      }
+
+      .popup-checkbox-label {
+        flex: 5;
+      }
+
+      .popup-checkbox-icon {
+        width: 20px;
+        height: 20px;
+        line-height: 20px;
+        display: block;
+        border-radius: 50%;
+        overflow: hidden;
+        margin: 15px 0 0 0;
+
+      }
+    }
+
+  }
+
+  .popup-time {
+    position: relative;
+    height: calc(100vh - 66px);
+  }
+
+  .popup-city {
+    height: calc(100vh - 66px);
+    overflow: hidden;
+  }
+
+}

+ 33 - 0
components/popup-modal/index.wxml

@@ -0,0 +1,33 @@
+<van-popup custom-class="aaa" show="{{ show }}" close-on-click-overlay="{{false}}" get-container="#app" bind:close="onClose" position="right" custom-style="width: 100%;height: 100%" safe-area-tab-bar="{{false}}" safe-area-inset-bottom="{{false}}" z-index="99999" >
+<van-sticky>
+  <van-nav-bar title="{{popupTitle}}" left-arrow bind:click-left="onClickLeft" />
+</van-sticky>
+<logout-show title="{{ popupTitle}}" showBtn="{{false}}" wx:if="{{ token==='' }}" />
+  <view class="popup-container" wx:else>
+    <view class="popup-radio" wx:if="{{popupType=='radio'}}">
+      <view class="popup-radio-item {{value===item.id?'selected':''}}" wx:for="{{ popupOptions}}" wx:key="index" bindtap="radioChange" data-index="{{index}}">{{item.name}}</view>
+    </view>
+    <view class="popup-time" wx:elif="{{popupType=='time'}}">
+      <van-calendar show-title="{{false}}" show-subtitle="{{false}}" color="#409EFF" round="{{false}}" type="range" poppable="{{ false }}" close-on-click-overlay="{{false}}" safe-area-inset-bottom="{{false}}" max-range="{{15}}" allow-same-day="{{true}}" bind:confirm="timeConfirm" />
+    </view>
+    <view class="popup-checkbox" wx:elif="{{popupType=='checkbox'}}">
+      <view class="msgTitle">温馨提示:{{ popupTitle}}可多选</view>
+      <view class="popup-checkbox-item {{item.selected?'selected':''}}" wx:for="{{ popupOptions}}" wx:key="index" bindtap="checkboxChange" data-index="{{index}}">
+        <view class="popup-checkbox-label">
+          {{item.name}}
+        </view>
+        <view class="popup-checkbox-icon">
+          <van-icon wx:if="{{item.selected}}" name="checked" size="20px" color="#409EFF" custom-style="background:#fff" />
+          <van-icon wx:else name="circle" color="#909399" size="20px" custom-style="background:#fff" />
+        </view>
+      </view>
+      <van-button type="info" custom-style="width:100%;margin:8px  0 0 0" bindtap="checkboxSelected">确定</van-button>
+
+    </view>
+    <view class="popup-city" wx:elif="{{popupType=='city'}}">
+      <city-bar changeValue="{{popupValue}}" changeLabel="{{'北京'}}" binditemClick="onItemClick" />
+
+    </view>
+
+  </view>
+</van-popup>

+ 83 - 0
components/popup-modal/index.wxss

@@ -0,0 +1,83 @@
+.popup-container {
+  height: 100vh;
+  padding: 66px  0 0 0;
+  box-sizing: border-box;
+  overflow-y: scroll;
+}
+
+.popup-container .popup-radio {
+  padding: 10px 0 10px 0;
+}
+
+.popup-container .popup-radio .popup-radio-item {
+  color: #000;
+  font-size: 16px;
+  font-weight: bold;
+  line-height: 50px;
+  text-align: center;
+}
+
+.popup-container .popup-radio .popup-radio-item.selected {
+  color: #409EFF;
+}
+
+.popup-container .popup-checkbox {
+  padding: 0 16px 0 16px;
+  box-sizing: border-box;
+  position: relative;
+  height: 100%;
+  min-height: 100%;
+  overflow: hidden;
+}
+
+.popup-container .popup-checkbox .msgTitle {
+  background: #67C23A;
+  font-size: 12px;
+  text-align: center;
+  height: 30px;
+  line-height: 26px;
+  color: #fff;
+  margin: 0 -16px 20px -16px;
+}
+
+.popup-container .popup-checkbox .popup-checkbox-item {
+  color: #000;
+  font-size: 16px;
+  font-weight: bold;
+  line-height: 50px;
+  background: #f4f4f5;
+  padding: 6px 12px;
+  margin: 0 0 10px 0;
+  border-radius: 7px;
+  border: 1px solid #f4f4f5;
+  display: flex;
+}
+
+.popup-container .popup-checkbox .popup-checkbox-item.selected {
+  color: #409EFF;
+  border: 1px solid #409EFF;
+}
+
+.popup-container .popup-checkbox .popup-checkbox-item .popup-checkbox-label {
+  flex: 5;
+}
+
+.popup-container .popup-checkbox .popup-checkbox-item .popup-checkbox-icon {
+  width: 20px;
+  height: 20px;
+  line-height: 20px;
+  display: block;
+  border-radius: 50%;
+  overflow: hidden;
+  margin: 15px 0 0 0;
+}
+
+.popup-container .popup-time {
+  position: relative;
+  height: calc(100vh - 66px);
+}
+
+.popup-container .popup-city {
+  height: calc(100vh - 66px);
+  overflow: hidden;
+}

+ 44 - 0
custom-tab-bar/index.js

@@ -0,0 +1,44 @@
+Component({
+  data: {
+    selected: 0,
+    color: "#6e6d6b",
+    selectedColor: "#e64340",
+    list: [{
+        "pagePath": "/pages/index/index",
+        "iconPath": "/images/nav/home-off.png",
+        "selectedIconPath": "/images/nav/home-on.png",
+        "text": "首页"
+      },
+      {
+        "pagePath": "/pages/resource/index",
+        "iconPath": "/images/nav/fl-off.png",
+        "selectedIconPath": "/images/nav/fl-on.png",
+        "text": "会务资源"
+      },
+      {
+        "pagePath": "/pages/order/index",
+        "iconPath": "/images/nav/cart-off.png",
+        "selectedIconPath": "/images/nav/cart-on.png",
+        "text": "订单"
+      },
+      {
+        "pagePath": "/pages/my/index",
+        "iconPath": "/images/nav/my-off.png",
+        "selectedIconPath": "/images/nav/my-on.png",
+        "text": "我的"
+      }
+    ]
+  },
+  attached() {},
+  methods: {
+    switchTab(e) {
+      const {
+        index,
+        path
+      } = e.currentTarget.dataset
+      wx.switchTab({
+        url: path
+      })
+    }
+  }
+})

+ 3 - 0
custom-tab-bar/index.json

@@ -0,0 +1,3 @@
+{
+  "component": true
+}

+ 9 - 0
custom-tab-bar/index.wxml

@@ -0,0 +1,9 @@
+<!--miniprogram/custom-tab-bar/index.wxml-->
+<view class="tab-bar">
+  <view class="tab-bar-border"></view>
+  <view wx:for="{{list}}" wx:key="index"  class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
+    <image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"/>
+    <view style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view>
+  </view>
+</view>
+

+ 38 - 0
custom-tab-bar/index.wxss

@@ -0,0 +1,38 @@
+.tab-bar {
+  position: fixed;
+  bottom: 0;
+  left: 0;
+  right: 0;
+  height: 48px;
+  background: white;
+  display: flex;
+  padding-bottom: env(safe-area-inset-bottom);
+}
+
+.tab-bar-border {
+  background-color: rgba(0, 0, 0, 0.33);
+  position: absolute;
+  left: 0;
+  top: 0;
+  width: 100%;
+  height: 1px;
+  transform: scaleY(0.5);
+}
+
+.tab-bar-item {
+  flex: 1;
+  text-align: center;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  flex-direction: column;
+}
+
+.tab-bar-item image {
+  width: 27px;
+  height: 27px;
+}
+
+.tab-bar-item view {
+  font-size: 10px;
+}

二進制
images/default.png


二進制
images/gift.png


二進制
images/home/goodslist.png


二進制
images/home/kanjia.png


二進制
images/home/miaosha.png


二進制
images/home/notice.png


二進制
images/home/pingtuan.png


二進制
images/home/recommend.png


File diff suppressed because it is too large
+ 0 - 0
images/icon/car.svg


+ 1 - 0
images/icon/close.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1578190789782" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1886" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M810.666667 273.493333L750.506667 213.333333 512 451.84 273.493333 213.333333 213.333333 273.493333 451.84 512 213.333333 750.506667 273.493333 810.666667 512 572.16 750.506667 810.666667 810.666667 750.506667 572.16 512z" p-id="1887" fill="#999999"></path></svg>

+ 1 - 0
images/icon/close0.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1580811177884" class="icon" viewBox="0 0 1026 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3261" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.390625" height="200"><defs><style type="text/css"></style></defs><path d="M512.023273 46.545455c256.651636 0 465.454545 208.802909 465.454545 465.454545s-208.802909 465.454545-465.454545 465.454545-465.454545-208.802909-465.454545-465.454545S255.371636 46.545455 512.023273 46.545455M512.023273 0c-282.763636 0-512 229.236364-512 512s229.236364 512 512 512 512-229.236364 512-512S794.810182 0 512.023273 0L512.023273 0z" p-id="3262" fill="#cdcdcd"></path><path d="M725.76 749.032727c-5.957818 0-11.915636-2.280727-16.453818-6.818909l-427.450182-427.52c-9.099636-9.099636-9.099636-23.831273 0-32.907636 9.099636-9.099636 23.808-9.099636 32.907636 0l427.450182 427.52c9.099636 9.099636 9.099636 23.831273 0 32.907636C737.675636 746.752 731.717818 749.032727 725.76 749.032727z" p-id="3263" fill="#cdcdcd"></path><path d="M298.263273 749.009455c-5.957818 0-11.915636-2.280727-16.453818-6.818909-9.099636-9.099636-9.099636-23.831273 0-32.907636L709.352727 281.809455c9.099636-9.099636 23.808-9.099636 32.907636 0s9.099636 23.831273 0 32.907636L314.717091 742.190545C310.178909 746.728727 304.221091 749.009455 298.263273 749.009455z" p-id="3264" fill="#cdcdcd"></path></svg>

File diff suppressed because it is too large
+ 12 - 0
images/icon/coupons-active.svg


File diff suppressed because it is too large
+ 12 - 0
images/icon/coupons-off.svg


+ 1 - 0
images/icon/delete.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1583769449736" class="icon" viewBox="0 0 1195 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3211" xmlns:xlink="http://www.w3.org/1999/xlink" width="233.3984375" height="200"><defs><style type="text/css"></style></defs><path d="M1174.514354 107.471458H20.367301a20.367301 20.367301 0 0 0 0 40.734602h100.410794a20.367301 20.367301 0 0 0 0 4.412915l55.602731 777.284095v1.833057a109.508188 109.508188 0 0 0 108.625605 92.195982h625.072466a109.508188 109.508188 0 0 0 108.625605-92.195982v-0.882583l55.670622-778.234569a20.367301 20.367301 0 0 0 0-4.412915h100.410794a20.367301 20.367301 0 0 0 0-40.734602z m-140.805941 42.228204l-55.53484 776.333621a68.909368 68.909368 0 0 1-67.891003 57.232115H284.870649a68.909368 68.909368 0 0 1-67.891003-57.232115L161.173241 149.699662v-1.493602H1033.979977c-0.067891 0.543128-0.271564 1.018365-0.271564 1.493602zM456.566996 40.734602h281.747663a20.367301 20.367301 0 0 0 0-40.734602h-281.747663a20.367301 20.367301 0 1 0 0 40.734602z" p-id="3212" fill="#FF3B30"></path><path d="M387.250282 871.245243a20.367301 20.367301 0 0 0 20.367301-20.367301V293.76437a20.367301 20.367301 0 0 0-40.734602 0v557.113572a20.367301 20.367301 0 0 0 20.367301 20.367301zM597.440827 871.245243a20.367301 20.367301 0 0 0 20.367301-20.367301V293.76437a20.367301 20.367301 0 0 0-40.734602 0v557.113572a20.367301 20.367301 0 0 0 20.367301 20.367301zM807.631373 871.245243a20.367301 20.367301 0 0 0 20.367301-20.367301V293.76437a20.367301 20.367301 0 0 0-40.734602 0v557.113572a20.367301 20.367301 0 0 0 20.367301 20.367301z" p-id="3213" fill="#FF3B30"></path></svg>

+ 1 - 0
images/icon/edit.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1580813641723" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4895" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.1953125" height="200"><defs><style type="text/css"></style></defs><path d="M960 460.8c-19.2 0-38.4 12.8-38.4 32v38.4c0 19.2 19.2 32 38.4 32s38.4-12.8 38.4-32v-38.4c0-19.2-19.2-32-38.4-32zM1011.2 38.4c-12.8-19.2-38.4-19.2-57.6 0l-556.8 556.8c-19.2 12.8-19.2 38.4 0 57.6 12.8 19.2 38.4 19.2 57.6 0l556.8-556.8c19.2-12.8 19.2-38.4 0-57.6z" p-id="4896" fill="#cdcdcd"></path><path d="M960 620.8c-25.6 0-38.4 19.2-38.4 38.4v192c0 32-25.6 64-64 64h-684.8c-32 0-64-25.6-64-64v-684.8c0-32 25.6-64 64-64h416c19.2 0 38.4-19.2 38.4-38.4s-19.2-38.4-38.4-38.4h-416c-76.8 0-140.8 64-140.8 140.8v691.2c0 76.8 64 140.8 140.8 140.8h684.8c76.8 0 140.8-64 140.8-140.8v-198.4c0-25.6-19.2-38.4-38.4-38.4z" p-id="4897" fill="#cdcdcd"></path></svg>

+ 1 - 0
images/icon/fav0.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1583767131119" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2128" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.1953125" height="200"><defs><style type="text/css"></style></defs><path d="M1022.955213 394.773333c-2.56-7.744-9.173333-13.376-17.258667-14.549333L677.78188 332.586667 531.15788 35.477333c-7.168-14.592-31.125333-14.592-38.314667 0L346.19788 332.586667l-327.893333 47.637333c-8.042667 1.173333-14.72 6.805333-17.258667 14.549333-2.517333 7.722667-0.405333 16.192 5.418667 21.888l237.269333 231.253333L187.712546 974.506667c-1.365333 8 1.92 16.085333 8.512 20.885333 6.570667 4.778667 15.296 5.44 22.485333 1.642667L512.000546 842.816l293.226667 154.218667c3.136 1.621333 6.570667 2.453333 9.984 2.453333 4.437333 0 8.810667-1.408 12.586667-4.096 6.549333-4.778667 9.834667-12.885333 8.490667-20.885333l-56-326.549333 237.290667-231.296C1023.424546 410.986667 1025.451213 402.496 1022.955213 394.773333zM742.400546 625.173333c-5.013333 4.906667-7.36 11.989333-6.144 18.922667l50.581333 294.954667-264.896-139.264C518.827213 798.122667 515.41388 797.312 512.000546 797.312s-6.848 0.810667-9.962667 2.474667L237.14188 939.093333l50.581333-294.997333c1.173333-6.912-1.109333-14.016-6.144-18.922667L67.28588 416.277333l296.192-43.029333c6.954667-1.002667 12.949333-5.397333 16.085333-11.690667L512.000546 93.184l132.458667 268.352c3.114667 6.314667 9.088 10.688 16.064 11.690667l296.192 43.029333L742.400546 625.173333z" p-id="2129" fill="#707070"></path></svg>

+ 1 - 0
images/icon/fav1.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1583768086854" class="icon" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4234" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.1953125" height="200"><defs><style type="text/css"></style></defs><path d="M1022.976546 394.773333c-2.581333-7.744-9.237333-13.376-17.28-14.549333L677.78188 332.586667 531.115213 35.477333c-7.168-14.592-31.104-14.592-38.272 0L346.19788 332.586667 18.283213 380.224c-8.021333 1.173333-14.72 6.805333-17.237333 14.549333-2.517333 7.722667-0.405333 16.192 5.418667 21.888l237.269333 231.253333L187.712546 974.506667c-1.365333 8 1.92 16.085333 8.512 20.885333 6.570667 4.778667 15.296 5.44 22.485333 1.642667L512.000546 842.816l293.248 154.218667c3.114667 1.621333 6.549333 2.453333 9.962667 2.453333 4.416 0 8.789333-1.408 12.544-4.096 6.592-4.778667 9.877333-12.864 8.533333-20.885333l-56-326.549333 237.248-231.296C1023.424546 410.986667 1025.451213 402.496 1022.976546 394.773333z" p-id="4235" fill="#e64340"></path></svg>

+ 1 - 0
images/icon/go-l.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577530571647" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2470" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M547.584 802.83648c20.89984 20.89984 20.89984 54.80448 0 75.70432-20.89984 20.91008-54.79424 20.91008-75.70432 0l-328.704-328.69376c-10.4448-10.45504-15.6672-24.14592-15.6672-37.84704s5.23264-27.40224 15.6672-37.84704l328.704-328.69376c20.91008-20.91008 54.80448-20.91008 75.70432 0 20.89984 20.89984 20.89984 54.79424 0 75.70432L256.74752 512 547.584 802.83648zM589.96736 512l290.83648-290.83648c20.89984-20.91008 20.89984-54.80448 0-75.70432-20.89984-20.91008-54.79424-20.91008-75.70432 0l-328.704 328.69376c-10.4448 10.45504-15.6672 24.14592-15.6672 37.84704s5.23264 27.40224 15.6672 37.84704l328.704 328.69376c20.91008 20.91008 54.80448 20.91008 75.70432 0 20.89984-20.89984 20.89984-54.80448 0-75.70432L589.96736 512z" p-id="2471" fill="#ffffff"></path></svg>

+ 1 - 0
images/icon/go-r.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577530650739" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4503" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M767.25248 512 476.40576 221.16352c-20.89984-20.91008-20.89984-54.80448 0-75.70432 20.89984-20.91008 54.79424-20.91008 75.70432 0l328.704 328.69376c10.4448 10.45504 15.6672 24.14592 15.6672 37.84704s-5.23264 27.40224-15.6672 37.84704l-328.704 328.69376c-20.91008 20.91008-54.80448 20.91008-75.70432 0-20.89984-20.89984-20.89984-54.80448 0-75.70432L767.25248 512zM143.18592 802.83648c-20.89984 20.89984-20.89984 54.80448 0 75.70432 20.89984 20.91008 54.784 20.91008 75.70432 0l328.704-328.69376c10.4448-10.45504 15.65696-24.14592 15.65696-37.84704s-5.2224-27.40224-15.65696-37.84704l-328.704-328.69376c-20.92032-20.91008-54.80448-20.91008-75.70432 0-20.89984 20.89984-20.89984 54.79424 0 75.70432L434.03264 512 143.18592 802.83648z" p-id="4504" fill="#ffffff"></path></svg>

+ 1 - 0
images/icon/kf.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1580810673475" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2413" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M512 563.2a153.6 153.6 0 1 0 0-307.2 153.6 153.6 0 0 0 0 307.2z m0 51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6zM484.9664 665.6a319.2832 319.2832 0 0 0-285.5936 176.4864l-28.2624 56.6272A51.2 51.2 0 0 0 216.8832 972.8h590.2336a51.2 51.2 0 0 0 45.7728-74.0864l-28.2624-56.6272A319.2832 319.2832 0 0 0 539.0336 665.6H484.9664z m0-51.2h54.0672A370.4832 370.4832 0 0 1 870.4 819.2l28.3136 56.6272A102.4 102.4 0 0 1 807.0656 1024H216.9344a102.4 102.4 0 0 1-91.5968-148.1728L153.6 819.2a370.4832 370.4832 0 0 1 331.3664-204.8z" p-id="2414" fill="#008000"></path><path d="M204.8 512v79.9232l-68.2496-19.2a128 128 0 0 1 0-241.408l27.9552-9.8816a358.5536 358.5536 0 0 1 694.9888 0l27.9552 9.8816a128 128 0 0 1 0 241.408L819.2 591.9232V409.6A307.2 307.2 0 1 0 204.8 409.6v102.4z m665.6-132.4032v144.896a76.8 76.8 0 0 0 0-144.896z m-716.8 0a76.8 76.8 0 0 0 0 144.896v-144.896z" p-id="2415" fill="#008000"></path></svg>

+ 1 - 0
images/icon/list1.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577539770172" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1253" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M318.7 633.9H82.6c-10.8 0-19.5 8.7-19.5 19.5v236.1c0 10.8 8.7 19.5 19.5 19.5h236.1c10.8 0 19.5-8.7 19.5-19.5V653.4c0-10.8-8.8-19.5-19.5-19.5z m-19.6 236h-197v-197h197v197zM941.4 668.1H446.1c-10.8 0-19.5 8.7-19.5 19.5s8.7 19.5 19.5 19.5h495.3c10.8 0 19.5-8.7 19.5-19.5s-8.7-19.5-19.5-19.5zM941.4 835.7H446.1c-10.8 0-19.5 8.7-19.5 19.5s8.7 19.5 19.5 19.5h495.3c10.8 0 19.5-8.7 19.5-19.5s-8.7-19.5-19.5-19.5zM318.7 115H82.6c-10.8 0-19.5 8.7-19.5 19.5v236.1c0 10.8 8.7 19.5 19.5 19.5h236.1c10.8 0 19.5-8.7 19.5-19.5V134.5c0-10.8-8.8-19.5-19.5-19.5z m-19.6 236.1h-197v-197h197v197zM446.1 188.3h495.3c10.8 0 19.5-8.7 19.5-19.5s-8.7-19.5-19.5-19.5H446.1c-10.8 0-19.5 8.7-19.5 19.5s8.7 19.5 19.5 19.5zM941.4 316.8H446.1c-10.8 0-19.5 8.7-19.5 19.5s8.7 19.5 19.5 19.5h495.3c10.8 0 19.5-8.7 19.5-19.5s-8.7-19.5-19.5-19.5z" fill="#333333" p-id="1254"></path></svg>

+ 1 - 0
images/icon/list2.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577539755632" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1012" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M473.1 95.8H114c-10.1 0-18.2 8.2-18.2 18.2v359.1c0 10.1 8.2 18.2 18.2 18.2h359.1c10.1 0 18.2-8.2 18.2-18.2V114c0-10.1-8.2-18.2-18.2-18.2z m-18.2 359.1H132.2V132.2h322.7v322.7zM910 95.8H550.9c-10.1 0-18.2 8.2-18.2 18.2v359.1c0 10.1 8.2 18.2 18.2 18.2H910c10.1 0 18.2-8.2 18.2-18.2V114c0-10.1-8.1-18.2-18.2-18.2z m-18.2 359.1H569.1V132.2h322.7v322.7zM473.1 532.7H114c-10.1 0-18.2 8.2-18.2 18.2V910c0 10.1 8.2 18.2 18.2 18.2h359.1c10.1 0 18.2-8.2 18.2-18.2V550.9c0-10-8.2-18.2-18.2-18.2z m-18.2 359.1H132.2V569.1h322.7v322.7zM910 532.7H550.9c-10.1 0-18.2 8.2-18.2 18.2V910c0 10.1 8.2 18.2 18.2 18.2H910c10.1 0 18.2-8.2 18.2-18.2V550.9c0-10-8.1-18.2-18.2-18.2z m-18.2 359.1H569.1V569.1h322.7v322.7z" fill="#333333" p-id="1013"></path></svg>

二進制
images/icon/next.png


+ 13 - 0
images/icon/next.svg

@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="7px" height="12px" viewBox="0 0 7 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
+    <title>下一步/灰</title>
+    <desc>Created with Sketch.</desc>
+    <g id="组件" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="门店选择/未选中" transform="translate(-356.000000, -51.000000)" fill="#999999" fill-rule="nonzero">
+            <g id="下一步/灰" transform="translate(356.000000, 51.000000)">
+                <path d="M5.25089885,5.99999479 L0.198273835,10.7287972 C-0.0557102499,10.9662105 -0.0535692318,11.3485263 0.19880548,11.5846996 C0.4522714,11.8216502 0.874492204,11.8364112 1.12850363,11.5989986 L6.90199277,6.20100447 C6.9598436,6.14763335 6.99137823,6.07526723 6.99137823,5.99998525 C6.99137823,5.92469064 6.9598436,5.85236422 6.90199277,5.79895314 L1.12850363,0.400997641 C0.874492204,0.163571389 0.452285072,0.178372421 0.19880548,0.415296713 C-0.0535694232,0.651495777 -0.0557241132,1.03381282 0.198273835,1.27122619 L5.25089885,6.00000278 L5.25089885,6.00000278 L5.25089885,5.99999479 Z" id="路径"></path>
+            </g>
+        </g>
+    </g>
+</svg>

+ 15 - 0
images/icon/pos-gray.svg

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="10px" height="12px" viewBox="0 0 10 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
+    <title>定位-灰</title>
+    <desc>Created with Sketch.</desc>
+    <g id="组件" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="门店选择/选中" transform="translate(-12.000000, -40.000000)" fill="#999999" fill-rule="nonzero">
+            <g id="定位-灰">
+                <g transform="translate(12.000000, 40.000000)">
+                    <path d="M8.20971207,7.81235432 L5.19109528,11.5391157 C4.95183719,11.8308567 4.56123127,11.831991 4.32316263,11.5391157 L1.29261027,7.81235432 C0.56310552,7.01094323 0.102567874,5.93542557 0.102567874,4.78108165 C0.102567874,2.27459983 2.19286328,0.241642776 4.77295417,0.241642776 C7.35255287,0.241642776 9.44286195,2.27459983 9.44286195,4.78108165 C9.44286195,5.96658225 8.97513289,7.00417565 8.20971207,7.81235432 Z M4.77295417,2.5062833 C3.47967532,2.5062833 2.43213504,3.52490167 2.43213504,4.78109454 C2.43213504,6.0377128 3.47967532,7.05589289 4.77295417,7.05589289 C6.06526231,7.05589289 7.11330845,6.0377128 7.11330845,4.78108165 C7.11330845,3.52490167 6.06526231,2.50627041 4.77295417,2.50627041 L4.77295417,2.5062833 Z" id="形状"></path>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

+ 1 - 0
images/icon/search.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1577539568042" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2545" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M998.417847 968.923523 738.389131 712.967573c68.050929-73.967263 109.909294-171.800228 109.909294-279.479317 0-230.345352-189.746575-417.036095-423.778057-417.036095-234.030475 0-423.77705 186.690742-423.77705 417.036095 0 230.297023 189.746575 416.986758 423.77705 416.986758 101.131452 0 193.870691-34.971414 266.723355-93.126882l261.095991 256.924553c12.70864 12.514315 33.370499 12.514315 46.078132 0C1011.174816 1001.759377 1011.174816 981.436831 998.417847 968.923523L998.417847 968.923523 998.417847 968.923523zM424.520368 786.354882c-198.040115 0-358.5393-157.977996-358.5393-352.86562 0-194.88863 160.499184-352.866627 358.5393-352.866627C622.562497 80.622635 783.110011 238.600632 783.110011 433.489262 783.110011 628.376886 622.562497 786.354882 424.520368 786.354882L424.520368 786.354882 424.520368 786.354882z" p-id="2546" fill="#5b5b5b"></path></svg>

File diff suppressed because it is too large
+ 9 - 0
images/icon/shop-on.svg


File diff suppressed because it is too large
+ 9 - 0
images/icon/shop.svg


File diff suppressed because it is too large
+ 10 - 0
images/icon/tel-gray.svg


+ 15 - 0
images/icon/time-gray.svg

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="11px" height="11px" viewBox="0 0 11 11" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com -->
+    <title>时间 -灰</title>
+    <desc>Created with Sketch.</desc>
+    <g id="组件" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="门店选择/选中" transform="translate(-12.000000, -64.000000)" fill="#999999" fill-rule="nonzero">
+            <g id="时间--灰">
+                <g transform="translate(12.000000, 64.000000)">
+                    <path d="M5.58077801,0.148999644 C2.64371005,0.148999644 0.260002719,2.53270697 0.260002719,5.46977493 C0.260002719,8.40684289 2.64371005,10.7905502 5.58077801,10.7905502 C8.51784597,10.7905502 10.9015533,8.40684289 10.9015533,5.46977493 C10.9015533,2.53270697 8.51784597,0.148999644 5.58077801,0.148999644 Z M7.24694078,7.82915872 L7.07059509,7.99942353 C6.97330091,8.0967177 6.81519788,8.0967177 6.7179037,7.99942353 L5.1064689,6.42447404 C5.05174092,6.36974607 5.05782181,6.26029012 5.05782181,6.15083417 L5.05782181,3.06782495 C5.05782181,2.93404545 5.16727776,2.8245895 5.30713814,2.8245895 L5.55645446,2.8245895 C5.69631484,2.8245895 5.80577079,2.93404545 5.80577079,3.06782495 L5.80577079,6.08394442 L7.24694078,7.49470999 C7.34423496,7.58592328 7.34423496,7.73794543 7.24694078,7.82915872 Z" id="形状"></path>
+                </g>
+            </g>
+        </g>
+    </g>
+</svg>

二進制
images/live.png


二進制
images/nav/cart-off.png


二進制
images/nav/cart-on.png


二進制
images/nav/coupon-off.png


二進制
images/nav/coupon-on.png


二進制
images/nav/fl-off.png


二進制
images/nav/fl-on.png


二進制
images/nav/home-off.png


二進制
images/nav/home-on.png


二進制
images/nav/my-off.png


二進制
images/nav/my-on.png


二進制
images/nav/order-off.png


二進制
images/nav/order-on.png


二進制
images/nologin.png


二進制
images/order-details/icon-address.png


二進制
images/order-details/icon-ddfh.png


二進制
images/order-details/icon-ddfk.png


二進制
images/order-details/icon-ddgb.png


二進制
images/order-details/icon-ddsh.png


二進制
images/order-details/icon-jycg.png


二進制
images/order-details/icon-wuliu.png


二進制
images/order/fahuo.png


二進制
images/order/pj.png


二進制
images/order/shouhou.png


二進制
images/order/shouhuo.png


二進制
images/order/topay.png


二進制
images/resource-details/huichang.png


二進制
images/resource-details/kefang.png


二進制
images/resource-details/mianji.png


二進制
images/resource-details/renshu.png


二進制
images/resource-details/scy.png


二進制
images/resource-details/shy.png


二進制
images/resource-details/sjd.png


二進制
images/share/share1.png


二進制
images/share/share2.png


二進制
images/trtc/avatar1_100.png


二進制
images/trtc/back.png


二進制
images/trtc/call.png


二進制
images/trtc/doubleroom.png


二進制
images/trtc/hangup.png


二進制
images/wx.jpg


二進制
images/zw.png


Some files were not shown because too many files changed in this diff