diff --git a/manifest.json b/manifest.json
index 98332f7..bca1372 100644
--- a/manifest.json
+++ b/manifest.json
@@ -50,11 +50,19 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
- "appid" : "",
+ "appid" : "wxb8f15afe2765976d",
"setting" : {
- "urlCheck" : false
+ "urlCheck" : false,
+ "es6" : true,
+ "minified" : true,
+ "postcss" : true
},
- "usingComponents" : true
+ "usingComponents" : true,
+ "permission" : {
+ "scope.userLocation" : {
+ "desc" : "获取用户距离商家距离"
+ }
+ }
},
"mp-alipay" : {
"usingComponents" : true
diff --git a/mixins/myMixins.js b/mixins/myMixins.js
index 27f72f4..094ffc2 100644
--- a/mixins/myMixins.js
+++ b/mixins/myMixins.js
@@ -15,7 +15,7 @@ export const myMixins ={
// 分享到朋友圈
onShareTimeline() {
return {
- title: '吴优游',
+ title: '盐都文旅',
type: 0,
summary: "edewdewdewf",
imageUrl: "https://static.ticket.sz-trip.com/dongtai/images/index/share.jpg"
diff --git a/pages.json b/pages.json
index bd571e8..2596b3f 100644
--- a/pages.json
+++ b/pages.json
@@ -25,6 +25,12 @@
"navigationStyle": "custom",
"navigationBarTitleText": "我的"
}
+ },
+ {
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarTitleText": "盐都文旅"
+ }
}
],
"subPackages": [{
@@ -185,6 +191,19 @@
"style" : {
"navigationBarTitleText" : "个人收藏"
}
+ },
+ {
+ "path" : "order/trades",
+ "style" : {
+ "navigationBarTitleText" : "全部订单"
+ }
+ },
+ {
+ "path" : "order/detail",
+ "style" : {
+ "navigationBarTitleText" : "订单状态",
+ "navigationStyle": "custom"
+ }
}
]
}],
diff --git a/pages/login/login.vue b/pages/login/login.vue
new file mode 100644
index 0000000..fe74898
--- /dev/null
+++ b/pages/login/login.vue
@@ -0,0 +1,131 @@
+
+
+ LOGO
+
+ 快捷登录
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/js/request.js b/static/js/request.js
index e71d867..c40490f 100644
--- a/static/js/request.js
+++ b/static/js/request.js
@@ -16,7 +16,7 @@ Vue.prototype.Post = (params, apiurl) => {
data: params || {},
header: params.header || {
'content-type': 'application/json',
- 'token': params.token || '2dd9b712-f118-41f6-b3a8-602e4fbb0ce3'
+ 'token': params.token || ''
},
success: res => {
uni.hideLoading()
diff --git a/subPackages/order/detail.vue b/subPackages/order/detail.vue
new file mode 100644
index 0000000..f51820d
--- /dev/null
+++ b/subPackages/order/detail.vue
@@ -0,0 +1,681 @@
+
+
+
+
+ 订单状态
+
+
+ {{info.status_text}}
+
+
+ 订单将在{{info.close_time.slice(-8)}}自动取消
+
+
+
+
+
+
+
+
+
+
+ {{info.order_child[0].goods_title}}
+
+
+
+ 出行时间:{{info.order_child[0].use_date}}
+
+
+ 开放时间:{{info.order_child[0].scenic_data.open_description}}
+
+
+
+
+
+
+ {{item.specifications_name}}
+
+ ¥{{item.pay_money / 100}}
+ x{{item.num}}
+
+
+
+
+
+
+
+ 商品总额:¥{{info.money / 100}}
+
+
+ 优惠券:-¥{{info.discounts / 100}}
+
+
+ 实付金额:¥{{info.pay_money / 100}}
+
+
+
+
+
+
+ 出行人
+
+ {{item.specifications_name}}
+
+ 姓名:{{item.contact_name}}
+
+
+ 身份证:{{item.id_number}}
+
+
+
+
+
+
+
+
+ 收货地址
+ {{info.order_child[0].consignee.name}} {{info.order_child[0].consignee.tel}}
+ {{info.order_child[0].consignee.address}}
+
+
+
+
+ 商家名称
+
+
+
+ {{item.goods_title}}
+
+ {{item.specifications_name}}
+ x{{item.num}}
+
+
+
+
+
+
+
+ 商品总额:¥{{info.money / 100}}
+
+
+ 优惠券:-¥{{info.discounts / 100}}
+
+
+ 实付金额:¥{{info.pay_money / 100}}
+
+
+
+
+
+
+ 自提信息
+
+
+ {{info.order_child[0].contact.name}}
+ {{info.order_child[0].contact.tel}}
+
+
+
+
+
+
+
+
+
+ 订单信息
+
+ 订单账号:{{info.order_id}}
+
+
+ 复制
+
+
+
+ 下单时间:{{info.create_time}}
+
+
+ 支付时间:{{info.pay_time}}
+
+
+
+
+
+
+ 联系客服
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/subPackages/order/trades.vue b/subPackages/order/trades.vue
new file mode 100644
index 0000000..6a903cc
--- /dev/null
+++ b/subPackages/order/trades.vue
@@ -0,0 +1,701 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+ 暂无订单~
+
+
+ choseType(item)">
+
+ 订单号:{{ item.order_id }}
+
+ {{ item.status_text }}
+
+
+
+
+ {{ pro.goods_title + pro.specifications_name }}
+
+ ¥{{ pro.pay_money / 100 }}
+ x{{ pro.num }}
+
+
+
+
+
+ 合计¥
+ {{ item.pay_money / 100 }}
+
+
+ refund(item.order_id, key)" v-if="item.status == 'PAYMENT_SUCCESSFULLY'">申请退款
+ closeOrder(item.order_id, item)" v-if="item.status == 'WAIT_PAYMENT'">关闭订单
+ 确认收货
+ 立即支付
+
+
+
+
+
+
+
+
+
+