diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json new file mode 100644 index 0000000..501e01c --- /dev/null +++ b/.hbuilderx/launch.json @@ -0,0 +1,11 @@ +{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/ + // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数 + "version": "0.0", + "configurations": [{ + "type": "uniCloud", + "default": { + "launchtype": "remote" + } + } + ] +} diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..dd5b400 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/recook-weapp.iml b/.idea/recook-weapp.iml new file mode 100644 index 0000000..0c8867d --- /dev/null +++ b/.idea/recook-weapp.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..c1ce52f --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + 1620356017127 + + + + + + \ No newline at end of file diff --git a/components/guideOrderGoods.vue b/components/guideOrderGoods.vue new file mode 100644 index 0000000..44e47c7 --- /dev/null +++ b/components/guideOrderGoods.vue @@ -0,0 +1,159 @@ + + + + + diff --git a/package-lock.json b/package-lock.json index 8abcdf0..1cd9a32 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,8 +1,22 @@ { "name": "recook-weapp", "version": "1.0.0", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, + "packages": { + "": { + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "wxmp-rsa": "^1.1.1" + } + }, + "node_modules/wxmp-rsa": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/wxmp-rsa/-/wxmp-rsa-1.1.1.tgz", + "integrity": "sha512-H+IHQcmVqqGUSHp/a7qtSsH49YKHoU++WNziHIi2r/q6KlM+myKjXnQkH/2DR3ZzTbZXBfm17uCgjj/A31hmLg==" + } + }, "dependencies": { "wxmp-rsa": { "version": "1.1.1", diff --git a/pages/orders/orders.vue b/pages/orders/orders.vue index 99b4584..57b53e3 100644 --- a/pages/orders/orders.vue +++ b/pages/orders/orders.vue @@ -34,7 +34,9 @@ - {{item2.createdAt}}{{item2.createdAt}} + {{timeFormat(item2.createdAt, 'yyyy-mm-dd hh:MM:ss')}} 未付款 @@ -44,17 +46,19 @@ 交易已完成 交易已关闭 - + + + - + - - 共{{item2.totalGoodsCount}}件商品 总计¥{{item2.goodsTotalAmount | toFixed(2)}} + 共{{item2.totalGoodsCount}}件商品 总计¥{{item2.goodsTotalAmount | toFixed(2)}} + 共{{item2.goods.length}}件商品 总计¥{{item2.goodsTotalAmount | toFixed(2)}} - + @@ -80,8 +84,12 @@ -