From 2adf635cb19c503e5108f2f8ab2bf20d79482e72 Mon Sep 17 00:00:00 2001
From: cc_zbp <487602586@qq.com>
Date: Thu, 1 Jun 2023 16:38:35 +0800
Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E8=B5=9E=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/app.js | 4 +-
pages/gather/gather.vue | 3 +-
pages/index/index.vue | 10 +-
pages/nongKe/gather/select_warehouse.vue | 1286 +++++++++++-----------
pages/short_video/appSwiper/index.nvue | 15 +
pages/short_video/nvueSwiper/index.nvue | 35 +-
pages/supply_chains/supply_chains.vue | 6 +-
7 files changed, 703 insertions(+), 656 deletions(-)
diff --git a/config/app.js b/config/app.js
index f541cb0..afcf411 100644
--- a/config/app.js
+++ b/config/app.js
@@ -9,8 +9,8 @@ let httpApiThree
// 网络接口修改此字符 小程序域名要求https
// let httpApi = 'http://192.168.31.110:8324' // 测试
if (process.env.NODE_ENV === "development") {
- // httpApi = "https://crmeb-test.shop.lihaink.cn"
- httpApi = "http://192.168.0.109:8325"
+ httpApi = "https://crmeb-test.shop.lihaink.cn"
+ // httpApi = "http://192.168.0.109:8325"
// #ifdef MP-WEIXIN
httpApiTwo = "http://cms.com"
httpApiThree = 'http://ceshi-oa.lihaink.cn'
diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue
index ea510de..c7e7726 100644
--- a/pages/gather/gather.vue
+++ b/pages/gather/gather.vue
@@ -36,7 +36,8 @@
提现管理
-
+
视频教学
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 5f4e52c..bf2182a 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -167,8 +167,14 @@
graphicStartApi(item.community_id, {
status: status
}).then(res => {
- Toast(res.message)
- this.getGoods()
+ if (item.relevance_id) {
+ item.count_start--;
+ item.count_start = item.count_start == 0 ? 0 : item.count_start
+ item.relevance_id = false
+ } else {
+ item.count_start++;
+ item.relevance_id = true
+ }
})
},
dianji() {
diff --git a/pages/nongKe/gather/select_warehouse.vue b/pages/nongKe/gather/select_warehouse.vue
index d57ad8d..9e97034 100644
--- a/pages/nongKe/gather/select_warehouse.vue
+++ b/pages/nongKe/gather/select_warehouse.vue
@@ -1,713 +1,723 @@
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
- {{ item.store_name }}
- ¥{{ item.price }}
- 加入仓库
-
-
-
-
-
-
- 商品编号:
-
-
- 商品名称:
-
-
- 编辑商品价格:
-
-
- 编辑商品库存:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+ {{ item.store_name }}
+ ¥{{ item.price }}
+ 加入仓库
+
+
+
+
+
+
+ 商品编号:
+
+
+ 商品名称:
+
+
+ 编辑商品价格:
+
+
+ 编辑商品库存:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 搜索
+
+
+
-
+
\ No newline at end of file
diff --git a/pages/short_video/appSwiper/index.nvue b/pages/short_video/appSwiper/index.nvue
index 51afd6f..99c8464 100644
--- a/pages/short_video/appSwiper/index.nvue
+++ b/pages/short_video/appSwiper/index.nvue
@@ -467,6 +467,21 @@
},
onReady() {},
methods: {
+ giveStart(item) {
+ let status = item.relevance_id ? 0 : 1
+ graphicStartApi(item.community_id, {
+ status: status
+ }).then(res => {
+ if (item.relevance_id) {
+ item.count_start--;
+ item.count_start = item.count_start == 0 ? 0 : item.count_start
+ item.relevance_id = false
+ } else {
+ item.count_start++;
+ item.relevance_id = true
+ }
+ })
+ },
gogogo(item) {
this.videoID = item.community_id
this.navTap(1)
diff --git a/pages/short_video/nvueSwiper/index.nvue b/pages/short_video/nvueSwiper/index.nvue
index e26b7e8..008950b 100644
--- a/pages/short_video/nvueSwiper/index.nvue
+++ b/pages/short_video/nvueSwiper/index.nvue
@@ -422,6 +422,21 @@
},
onReady: function() {},
methods: {
+ giveStart(item) {
+ let status = item.relevance_id ? 0 : 1
+ graphicStartApi(item.community_id, {
+ status: status
+ }).then(res => {
+ if (item.relevance_id) {
+ item.count_start--;
+ item.count_start = item.count_start == 0 ? 0 : item.count_start
+ item.relevance_id = false
+ } else {
+ item.count_start++;
+ item.relevance_id = true
+ }
+ })
+ },
//#ifdef MP
videoShare(item) {
if (item && item.status == 1) {
@@ -693,7 +708,7 @@
is_star: that.isSatrt,
community_id: that.videoID
}).then(res => {
- console.log(res);
+ console.log(res);
that.videoData(res.data.list)
}).catch(err => {
return uni.showToast({
@@ -723,17 +738,17 @@
focusArticleLst({
page: that.page,
limit: that.limit,
- type: 2
+ type: 2
}).then(res => {
- console.log(res);
+ console.log(res);
that.loadVideo = false
- // const arr=[]
- // res.data.list.forEach(item=>{
- // if(item.is_type == '2'){
- // return arr.push(item)
- // }
- // })
- // this.limit=arr.length
+ // const arr=[]
+ // res.data.list.forEach(item=>{
+ // if(item.is_type == '2'){
+ // return arr.push(item)
+ // }
+ // })
+ // this.limit=arr.length
that.videoData(res.data.list)
}).catch(err => {
return uni.showToast({
diff --git a/pages/supply_chains/supply_chains.vue b/pages/supply_chains/supply_chains.vue
index 4051df2..566b22c 100644
--- a/pages/supply_chains/supply_chains.vue
+++ b/pages/supply_chains/supply_chains.vue
@@ -1,7 +1,7 @@
-
+
{{item.author}}
-
+