diff --git a/pages.json b/pages.json
index 74ed57a9..56d1201e 100644
--- a/pages.json
+++ b/pages.json
@@ -209,6 +209,16 @@
"title": "发票详情"
}
},
+ {
+ "path": "dispatch/content",
+ "style": {
+ "navigationBarTitleText": "发货内容"
+ },
+ "meta": {
+ "auth": true,
+ "title": "发货内容"
+ }
+ },
{
"path": "aftersale/apply",
"style": {
diff --git a/pages/app/score-shop.vue b/pages/app/score-shop.vue
index 4400395f..e00605fe 100644
--- a/pages/app/score-shop.vue
+++ b/pages/app/score-shop.vue
@@ -43,7 +43,7 @@
});
async function getData(page = 1, list_rows = 5) {
state.loadStatus = 'loading';
- let res = await sheep.$api.app.scoreShop({
+ let res = await sheep.$api.app.scoreShop.list({
list_rows,
page,
});
diff --git a/pages/goods/list.vue b/pages/goods/list.vue
index 7bfd6773..d7de122e 100644
--- a/pages/goods/list.vue
+++ b/pages/goods/list.vue
@@ -208,6 +208,8 @@
state.leftGoodsList = [];
state.rightGoodsList = [];
count = 0;
+ leftHeight = 0;
+ rightHeight = 0;
}
//搜索
function onSearch(e) {
@@ -237,6 +239,13 @@
// 点击筛选项
const onFilterItem = (val) => {
+ if (
+ state.currentSort === state.tabList[0].list[val].sort &&
+ state.currentOrder === state.tabList[0].list[val].order
+ ) {
+ state.showFilter = false;
+ return;
+ }
state.curFilter = val;
state.tabList[0].name = state.tabList[0].list[val].label;
state.currentSort = state.tabList[0].list[val].sort;
diff --git a/pages/goods/score.vue b/pages/goods/score.vue
index 2bb7d6ce..ee3707c0 100644
--- a/pages/goods/score.vue
+++ b/pages/goods/score.vue
@@ -184,7 +184,7 @@
}
state.goodsId = options.id;
// 加载商品信息
- sheep.$api.app.scoreShopDetail(state.goodsId).then((res) => {
+ sheep.$api.app.scoreShop.detail(state.goodsId).then((res) => {
state.skeletonLoading = false;
if (res.error === 0) {
state.goodsInfo = res.data;
diff --git a/pages/order/detail.vue b/pages/order/detail.vue
index 4bf7ca95..ffaaac20 100644
--- a/pages/order/detail.vue
+++ b/pages/order/detail.vue
@@ -76,10 +76,68 @@
配送方式
- {{ item.dispatch_type_text }}
+ {{ item.dispatch_type_text }}
+
+
+
+
+
+
+
+
+
+