Commit 095e0d0f8d7d99db991ad769e58dea5094b68147

Authored by yvan.ni
1 parent 2b97296d

是否删除订单的提示

pages/user/order_detail/order_detail.js
@@ -331,7 +331,7 @@ Page({ @@ -331,7 +331,7 @@ Page({
331 var th=this; 331 var th=this;
332 var order_id=t.currentTarget.dataset.order_id; 332 var order_id=t.currentTarget.dataset.order_id;
333 wx.showModal({ 333 wx.showModal({
334 - title: "是否取消订单?", 334 + title: "是否删除订单?",
335 success: function(tt) { 335 success: function(tt) {
336 t.confirm && rq.put("/api/weshop/order/updatebyId", { 336 t.confirm && rq.put("/api/weshop/order/updatebyId", {
337 data: { 337 data: {
pages/user/order_list/order_list.js
@@ -252,7 +252,7 @@ Page({ @@ -252,7 +252,7 @@ Page({
252 var th=this; 252 var th=this;
253 var order_id=t.currentTarget.dataset.order_id; 253 var order_id=t.currentTarget.dataset.order_id;
254 wx.showModal({ 254 wx.showModal({
255 - title: "是否取消订单?", 255 + title: "是否删除订单?",
256 success: function(tt) { 256 success: function(tt) {
257 tt.confirm && rq.put("/api/weshop/order/updatebyId", { 257 tt.confirm && rq.put("/api/weshop/order/updatebyId", {
258 data: { 258 data: {