miaotianyi 2 years ago
parent
commit
e381d23c13

+ 20 - 2
app.json

@@ -1,7 +1,10 @@
 {
   "pages":[
     "pages/index/index",
-    "pages/logs/logs"
+    "pages/logs/logs",
+    "pages/aaa/abc",
+    "pages/bbb/bbc",
+    "pages/ccc/cbc"
   ],
   "window":{
     "backgroundTextStyle":"light",
@@ -10,7 +13,22 @@
     "navigationBarTextStyle":"black"
   },
   "usingComponents": {
-    "van-button": "@vant/weapp/button"
+    "van-button": "@vant/weapp/button",
+    "van-empty": "@vant/weapp/empty/index",
+    "van-icon": "@vant/weapp/icon/index",
+    "van-row": "@vant/weapp/row/index",
+  "van-col": "@vant/weapp/col/index",
+  "van-cell": "@vant/weapp/cell/index",
+  "van-cell-group": "@vant/weapp/cell-group/index",
+  "van-tabbar": "@vant/weapp/tabbar/index",
+  "van-tabbar-item": "@vant/weapp/tabbar-item/index",
+  "van-panel": "@vant/weapp/panel/index",
+  "van-divider": "@vant/weapp/divider/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-card": "@vant/weapp/card/index",
+  "van-swipe-cell": "@vant/weapp/swipe-cell/index"
   },
   
   "sitemapLocation": "sitemap.json"

BIN
images/1.jpg


+ 66 - 0
pages/aaa/abc.js

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

+ 3 - 0
pages/aaa/abc.json

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

+ 57 - 0
pages/aaa/abc.wxml

@@ -0,0 +1,57 @@
+
+
+<van-divider />
+
+<van-panel title="订单编号:123456789"status="已送达">
+  <view>
+  姓名:吴迪(先生)
+  </view>
+  <view>
+  手机号:14785236998
+  </view>
+  <view>
+  地址:黑龙江大学
+  </view>
+  <view>
+ 下单时间:2020-08-18 13:18:14
+  </view>
+  <view>
+ 配送人:
+  </view>
+</van-panel>
+<van-divider />
+<van-divider />
+<van-panel title="订单编号:123456789"status="已送达">
+  <view>
+  姓名:吴迪(先生)
+  </view>
+  <view>
+  手机号:14785236998
+  </view>
+  <view>
+  地址:黑龙江大学
+  </view>
+  <view>
+ 下单时间:2020-08-18 13:18:14
+  </view>
+  <view>
+ 配送人:
+  </view>
+</van-panel>
+<van-divider />
+
+
+
+
+
+
+
+
+
+<van-tabbar active="{{ active }}" bind:change="onChange">
+  <van-tabbar-item icon="todo-list-o">订单</van-tabbar-item>
+  <van-tabbar-item icon="chat-o">消息</van-tabbar-item>
+  <van-tabbar-item icon="https://b.yzcdn.cn/vant/icon-demo-1126.png">我的</van-tabbar-item>
+
+</van-tabbar>
+

+ 1 - 0
pages/aaa/abc.wxss

@@ -0,0 +1 @@
+/* pages/aaa/abc.wxss */

+ 66 - 0
pages/bbb/bbc.js

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

+ 3 - 0
pages/bbb/bbc.json

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

+ 47 - 0
pages/bbb/bbc.wxml

@@ -0,0 +1,47 @@
+
+
+<van-panel title="黑龙江大学">
+  <view>
+  姓名:吴迪(先生)
+  </view>
+</van-panel>
+<van-divider />
+<van-card
+  num="2"
+  price="9.9+20积分"
+  desc="微辣"
+  title="麻辣烫"
+  origin-price='30'
+  thumb="/images/1.jpg"
+/>
+<view>
+  包装费:¥0
+  </view>
+  <view>
+  配送费:¥3
+  </view>
+<van-panel title="备注:">
+  <view>
+  不要香菜
+  </view>
+</van-panel>
+<van-divider />
+<view>
+  订单编号:123456789
+</view>
+
+<view>
+  交易时间:2022-06-03  13:18:34
+</view>
+
+<view>
+ 积分抵扣:30积分
+</view>
+<view>
+  实付金额:¥12.9
+</view>
+
+<van-goods-action>
+  <van-goods-action-button text="退款" type="warning"   bind:click="onClickButton"/>
+  <van-goods-action-button text="重新打印" bind:click="onClickButton" />
+</van-goods-action>

+ 1 - 0
pages/bbb/bbc.wxss

@@ -0,0 +1 @@
+/* pages/bbb/bbc.wxss */

+ 66 - 0
pages/ccc/cbc.js

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

+ 3 - 0
pages/ccc/cbc.json

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

+ 46 - 0
pages/ccc/cbc.wxml

@@ -0,0 +1,46 @@
+
+
+<van-panel title="黑龙江大学">
+  <view>
+  姓名:吴迪(先生)
+  </view>
+</van-panel>
+<van-divider />
+<van-card
+  num="2"
+  price="9.9+20积分"
+  desc="微辣"
+  title="麻辣烫"
+  origin-price='30'
+  thumb="/images/1.jpg"
+/>
+<view>
+  包装费:¥0
+  </view>
+  <view>
+  配送费:¥3
+  </view>
+<van-panel title="备注:">
+  <view>
+  不要香菜
+  </view>
+</van-panel>
+<van-divider />
+<view>
+  订单编号:123456789
+</view>
+
+<view>
+  交易时间:2022-06-03  13:18:34
+</view>
+
+<view>
+ 积分抵扣:30积分
+</view>
+<view>
+  实付金额:¥12.9
+</view>
+<view>
+  配送人:滴滴滴
+</view>
+<van-divider />

+ 1 - 0
pages/ccc/cbc.wxss

@@ -0,0 +1 @@
+/* pages/ccc/cbc.wxss */

+ 1 - 1
project.config.json

@@ -47,7 +47,7 @@
   },
   "compileType": "miniprogram",
   "libVersion": "2.19.4",
-  "appid": "wxf2ccb10daea97192",
+  "appid": "wxa0f0dd7a331e2d3f",
   "projectname": "miniprogram-92",
   "condition": {},
   "editorSetting": {

+ 15 - 2
project.private.config.json

@@ -1,7 +1,20 @@
 {
   "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
-  "projectname": "miniprogram-business",
+  "projectname": "delivery-business",
   "setting": {
-    "compileHotReLoad": false
+    "compileHotReLoad": true
+  },
+  "condition": {
+    "miniprogram": {
+      "list": [
+        {
+          "name": "页面",
+          "pathName": "pages/ccc/cbc",
+          "query": "",
+          "launchMode": "default",
+          "scene": null
+        }
+      ]
+    }
   }
 }