细节优化
parent
be388723f6
commit
6722c5b89e
|
|
@ -2,3 +2,4 @@
|
|||
.hbuilderx
|
||||
*.log
|
||||
unpackage
|
||||
sitemap.json
|
||||
5
App.vue
5
App.vue
|
|
@ -35,12 +35,11 @@
|
|||
],
|
||||
// 请求地址
|
||||
request_url: 'https://d1.shopxo.vip/',
|
||||
//request_url: 'http://shopxo.com/',
|
||||
// 静态资源地址
|
||||
static_url: 'https://dev.shopxo.vip/',
|
||||
static_url: 'https://d1.shopxo.vip/',
|
||||
// 基础信息
|
||||
application_title: "ShopXO",
|
||||
application_describe: "ShopXO开源商城",
|
||||
application_describe: "ShopXO开源商城、MIT协议、可商用、可二次开发、满足99%电商运营需求",
|
||||
application_type: "weixin",
|
||||
// 版本号
|
||||
version: "v2.2.1",
|
||||
|
|
|
|||
|
|
@ -629,7 +629,7 @@
|
|||
],
|
||||
"subPackages": [],
|
||||
"globalStyle": {
|
||||
"navigationBarTitleText": "ShopXO开源商城",
|
||||
"navigationBarTitleText": "ShopXO",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"backgroundColor": "#f5f5f5",
|
||||
|
|
|
|||
|
|
@ -367,8 +367,9 @@
|
|||
success: function(res) {
|
||||
// 数据设置
|
||||
self.order_item_pay_success_handle(
|
||||
order_ids); // 跳转支付页面
|
||||
|
||||
order_ids);
|
||||
|
||||
// 跳转支付页面
|
||||
uni.navigateTo({
|
||||
url: "/pages/paytips/paytips?code=9000"
|
||||
});
|
||||
|
|
@ -423,7 +424,9 @@
|
|||
|
||||
// 数据设置
|
||||
for (var i in temp_data_list) {
|
||||
if (order_ids_arr.indexOf(temp_data_list[i]['id']) != -1) {
|
||||
if (order_ids_arr.indexOf(temp_data_list[i]['id']) != -1) {
|
||||
temp_data_list[i]['operate_data']['is_pay'] = 0;
|
||||
temp_data_list[i]['operate_data']['is_cancel'] = 0;
|
||||
switch (parseInt(temp_data_list[i]['order_model'])) {
|
||||
// 销售模式
|
||||
case 0:
|
||||
|
|
@ -478,7 +481,9 @@
|
|||
var temp_data_list = this.data_list;
|
||||
temp_data_list[index]['status'] = 5;
|
||||
temp_data_list[index]['status_name'] = '已取消';
|
||||
temp_data_list[index]['operate_data']['is_cancel'] = 0;
|
||||
temp_data_list[index]['operate_data']['is_cancel'] = 0;
|
||||
temp_data_list[index]['operate_data']['is_delete'] = 1;
|
||||
temp_data_list[index]['is_can_launch_aftersale'] = 0;
|
||||
this.setData({
|
||||
data_list: temp_data_list
|
||||
});
|
||||
|
|
@ -577,8 +582,11 @@
|
|||
if (res.data.code == 0) {
|
||||
var temp_data_list = this.data_list;
|
||||
temp_data_list.splice(index, 1);
|
||||
var len = temp_data_list.length;
|
||||
this.setData({
|
||||
data_list: temp_data_list
|
||||
data_list: temp_data_list,
|
||||
data_list_loding_status: (len == 0) ? 0 : 3,
|
||||
data_bottom_line_status: (len == 0) ? false : this.data_bottom_line_status,
|
||||
});
|
||||
app.globalData.showToast(res.data.msg, "success");
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
|
||||
"rules": [{
|
||||
"action": "allow",
|
||||
"page": "*"
|
||||
}]
|
||||
}
|
||||
Loading…
Reference in New Issue