瀏覽代碼

Merge branch 'pink' of http://39.105.160.25:10880/sifu-gogs/delivery-business into pink

一盏薄酒 2 年之前
父節點
當前提交
8cd6507389
共有 6 個文件被更改,包括 283 次插入0 次删除
  1. 116 0
      pages/jcy/jcy.wxml
  2. 34 0
      app1.json
  3. 3 0
      pages/jcy/jcy.json
  4. 30 0
      pages/jcy/jcy.wxss
  5. 34 0
      pink/app.json
  6. 66 0
      pink/pages/jcy/jcy.js

+ 116 - 0
pages/jcy/jcy.wxml

@@ -0,0 +1,116 @@
+<van-search value="{{ value }}" placeholder="请输入关键词" shape="round" background="#FFFFFF" use-left-icon-slot="false" />
+<!-- <van-divider /> -->
+
+<view>
+  <view class="button">
+    <view class="bon">
+      <van-button plain hairline type="primary" size="mini" round="ture">一键上架</van-button>
+      <van-button plain hairline type="primary" size="mini" color="#E73471" round="ture">一键下架</van-button>
+      <van-button plain hairline type="info" size="mini" color="#9FA0A2" round="ture"> 删除</van-button>
+    </view>
+    <checkbox-group bindchange="selectAll" style="float: left;">
+      <checkbox value="all" checked="{{checkedAll}}"></checkbox>全选
+    </checkbox-group>
+  </view>
+
+  <view class="sb">
+  <view>
+    <van-cell>
+      <view slot="title">
+        <view class="van-cell-text">
+          <van-checkbox value="{{ checked }}" checked-color="#07c160" bind:change="onChange">
+            老式麻辣烫(微辣)
+            <van-icon name="new-arrival" color="#FF8E0B" style="float: right;" />
+          </van-checkbox>
+        </view>
+      </view>
+    </van-cell>
+  </view>
+    <van-cell>
+      <view class="flex-row">
+        <view class="flex-view-item">
+          <van-image width="120" height="90" src="https://img-qn-4.51miz.com/Element/00/22/71/67/3b9c76d3_E227167_afb2884f.png!/quality/90/unsharp/true/compress/true/format/png/fh/320" />
+        </view>
+        <view class="flex-view-item">
+          <view>价格:¥9.9</view>
+          <view>原价:¥15.9</view>
+          <view>积分:20</view>
+          <view>内容:内容</view>
+        </view>
+        <view class="flex-view-item">
+          <view class="view_class">
+            <van-button type="primary" color="#999999" size="mini">修改</van-button>
+            <van-button type="primary" color="#999999" size="mini">删除</van-button>
+          </view>
+        </view>
+      </view>
+    </van-cell>
+  </view>
+
+  <view class="sb">
+    <van-cell>
+      <view slot="title">
+        <view class="van-cell-text">
+          <van-checkbox value="{{ checked }}" checked-color="#07c160" bind:change="onChange">
+            老式麻辣烫(微辣)
+            <van-icon name="new-arrival" color="#FF8E0B" style="float: right;" />
+          </van-checkbox>
+        </view>
+       
+      </view>
+    </van-cell>
+    <van-cell>
+      <view class="flex-row">
+        <view class="flex-view-item">
+          <van-image width="120" height="90" src="https://img-qn-4.51miz.com/Element/00/22/71/67/3b9c76d3_E227167_afb2884f.png!/quality/90/unsharp/true/compress/true/format/png/fh/320" />
+        </view>
+        <view class="flex-view-item">
+          <view>价格:¥9.9</view>
+          <view>原价:¥15.9</view>
+          <view>积分:20</view>
+          <view>内容:内容</view>
+        </view>
+        <view class="flex-view-item">
+          <view class="view_class">
+            <van-button type="primary" color="#999999" size="mini">修改</van-button>
+            <van-button type="primary" color="#999999" size="mini">删除</van-button>
+          </view>
+        </view>
+      </view>
+    </van-cell>
+  </view>
+
+
+  <view class="sb">
+    <van-cell>
+      <view slot="title">
+        <view class="van-cell-text">
+          <van-checkbox value="{{ checked }}" checked-color="#07c160" bind:change="onChange">
+            老式麻辣烫(微辣)
+            <van-icon name="new-arrival" color="#FF8E0B" style="float: right;" />
+          </van-checkbox>
+
+        </view>
+      </view>
+    </van-cell>
+    <van-cell>
+      <view class="flex-row">
+        <view class="flex-view-item">
+          <van-image width="120" height="90" src="https://img-qn-4.51miz.com/Element/00/22/71/67/3b9c76d3_E227167_afb2884f.png!/quality/90/unsharp/true/compress/true/format/png/fh/320" />
+        </view>
+        <view class="flex-view-item">
+          <view>价格:¥9.9</view>
+          <view>原价:¥15.9</view>
+          <view>积分:20</view>
+          <view>内容:内容</view>
+        </view>
+        <view class="flex-view-item">
+          <view class="view_class">
+            <van-button type="primary" color="#999999" size="mini">修改</van-button>
+            <van-button type="primary" color="#999999" size="mini">删除</van-button>
+          </view>
+        </view>
+      </view>
+    </van-cell>
+  </view>
+</view>

+ 34 - 0
app1.json

@@ -0,0 +1,34 @@
+{
+  "pages": [
+    "pages/index/index",
+    "pages/logs/logs",
+    "pages/billing_Statistics/index",
+    "pages/store_Management/index",
+    "pages/jcy/jcy"
+  ],
+  "window": {
+    "backgroundTextStyle": "light",
+    "navigationBarBackgroundColor": "#fff",
+    "navigationBarTitleText": "Weixin",
+    "navigationBarTextStyle": "black"
+  },
+  "usingComponents": {
+    "van-button": "@vant/weapp/button/index",
+    "van-action-sheet": "@vant/weapp/action-sheet/index",
+    "van-search": "@vant/weapp/search/index",
+    "van-tab": "@vant/weapp/tab/index",
+    "van-tabs": "@vant/weapp/tabs/index",
+    "van-cell": "@vant/weapp/cell/index",
+    "van-cell-group": "@vant/weapp/cell-group/index",
+    "van-icon": "@vant/weapp/icon/index",
+    "van-panel": "@vant/weapp/panel/index",
+    "van-divider": "@vant/weapp/divider/index",
+    "van-grid": "@vant/weapp/grid/index",
+    "van-grid-item": "@vant/weapp/grid-item/index",
+    "van-uploader": "@vant/weapp/uploader/index",
+    "van-calendar": "@vant/weapp/calendar/index",
+    "van-popup": "@vant/weapp/popup/index",
+    "van-dialog": "@vant/weapp/dialog/index"
+  },
+  "sitemapLocation": "sitemap.json"
+}

+ 3 - 0
pages/jcy/jcy.json

@@ -0,0 +1,3 @@
+{
+  "usingComponents": {}
+}

+ 30 - 0
pages/jcy/jcy.wxss

@@ -0,0 +1,30 @@
+/* pages/jcy/jcy.wxss */
+/**index.wxss**/
+
+.button {
+  margin: 5px 15px;
+}
+.bon {
+  float: right;
+}
+van-button {
+  margin-left: 10px;
+}
+.view_class {
+  display: flex;
+  flex-direction: column;
+  justify-content: flex-end;
+}
+.flex-row{
+  width: 350px;
+  display: flex;
+  flex-direction: row;
+  /* justify-content :center; */
+}
+.flex-view-item{
+  width: 30%;
+}
+.view_class{
+  margin-right: 5px;
+  margin-top: 45px;
+}

+ 34 - 0
pink/app.json

@@ -0,0 +1,34 @@
+{
+  "pages": [
+    "pages/index/index",
+    "pages/logs/logs",
+    "pages/billing_Statistics/index",
+    "pages/store_Management/index",
+    "pages/jcy/jcy"
+  ],
+  "window": {
+    "backgroundTextStyle": "light",
+    "navigationBarBackgroundColor": "#fff",
+    "navigationBarTitleText": "Weixin",
+    "navigationBarTextStyle": "black"
+  },
+  "usingComponents": {
+    "van-button": "@vant/weapp/button/index",
+    "van-action-sheet": "@vant/weapp/action-sheet/index",
+    "van-search": "@vant/weapp/search/index",
+    "van-tab": "@vant/weapp/tab/index",
+    "van-tabs": "@vant/weapp/tabs/index",
+    "van-cell": "@vant/weapp/cell/index",
+    "van-cell-group": "@vant/weapp/cell-group/index",
+    "van-icon": "@vant/weapp/icon/index",
+    "van-panel": "@vant/weapp/panel/index",
+    "van-divider": "@vant/weapp/divider/index",
+    "van-grid": "@vant/weapp/grid/index",
+    "van-grid-item": "@vant/weapp/grid-item/index",
+    "van-uploader": "@vant/weapp/uploader/index",
+    "van-calendar": "@vant/weapp/calendar/index",
+    "van-popup": "@vant/weapp/popup/index",
+    "van-dialog": "@vant/weapp/dialog/index"
+  },
+  "sitemapLocation": "sitemap.json"
+}

+ 66 - 0
pink/pages/jcy/jcy.js

@@ -0,0 +1,66 @@
+// pages/jcy/jcy.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad(options) {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload() {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom() {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage() {
+
+  }
+})