diff --git a/manifest.json b/manifest.json
index a62a3acf..56f0522c 100644
--- a/manifest.json
+++ b/manifest.json
@@ -171,7 +171,7 @@
"startLocationUpdate",
"startLocationUpdateBackground"
],
- "appid" : "wx60d4d16792b6cf0b",
+ "appid" : "wxa0bb5a98b71799fa",
"setting" : {
"urlCheck" : false,
"es6" : true,
diff --git a/pages-drug/drug/drug-order-list.vue b/pages-drug/drug/drug-order-list.vue
new file mode 100644
index 00000000..77e476de
--- /dev/null
+++ b/pages-drug/drug/drug-order-list.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+ {{payment_currency_symbol}}{{data.pay_price}}
+
+
+ {{pay_msg}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 88f96334..b10926e1 100644
--- a/pages.json
+++ b/pages.json
@@ -77,6 +77,13 @@
"enablePullDownRefresh": true,
"navigationBarTitleText": ""
}
+ },
+ {
+ "path": "pages-drug/drug/drug-order-list",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": ""
+ }
}
],
"subPackages": [
@@ -1684,6 +1691,18 @@
}
}
]
+ },
+ {
+ "root": "pages/plugins/form",
+ "pages": [
+ {
+ "path": "check/check",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": ""
+ }
+ }
+ ]
}
],
"preloadRule": {
diff --git a/pages/plugins/coupon/shop/shop.vue b/pages/plugins/coupon/shop/shop.vue
index 28029285..fa153ad3 100644
--- a/pages/plugins/coupon/shop/shop.vue
+++ b/pages/plugins/coupon/shop/shop.vue
@@ -198,6 +198,32 @@
if (temp_list[index]['is_operable'] != 0) {
uni.showLoading({
title: this.$t('common.processing_in_text'),
+ });
+ uni.request({
+ url: app.globalData.get_request_url('receive', 'coupon', 'coupon'),
+ method: 'POST',
+ data: {
+ coupon_id: value,
+ },
+ dataType: 'json',
+ success: (res) => {
+ uni.hideLoading();
+ if (res.data.code == 0) {
+ app.globalData.showToast(res.data.msg, 'success');
+ temp_list[index] = res.data.data.coupon;
+ this.setData({
+ data_list: temp_list,
+ });
+ } else {
+ if (app.globalData.is_login_check(res.data, this, 'coupon_receive_event')) {
+ app.globalData.showToast(res.data.msg);
+ }
+ }
+ },
+ fail: () => {
+ uni.hideLoading();
+ app.globalData.showToast(this.$t('common.internet_error_tips'));
+ },
});
}
}
diff --git a/pages/plugins/form/check/check.vue b/pages/plugins/form/check/check.vue
new file mode 100644
index 00000000..e959b768
--- /dev/null
+++ b/pages/plugins/form/check/check.vue
@@ -0,0 +1,157 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file