From 8298fb0c0f05aaead32b3ad66f01f18ea78016e4 Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Thu, 1 Feb 2024 17:48:59 +0800 Subject: [PATCH 1/3] add poi verify record --- src/js/api.js | 1 + src/pages.json | 6 + src/pages/write_off/all_components/list_item.vue | 99 ++++++++++++ .../write_off/all_components/period_picker.vue | 67 ++++++++ .../write_off/all_components/stadium_picker.vue | 76 +++++++++ src/pages/write_off/douyin/poi_list.vue | 175 +++++++++++++++++++++ src/pages/write_off/menu/menu.vue | 25 +-- src/pages/write_off/operate/operate.vue | 1 - src/uni.scss | 34 +++- 9 files changed, 473 insertions(+), 11 deletions(-) create mode 100644 src/pages/write_off/all_components/list_item.vue create mode 100644 src/pages/write_off/all_components/period_picker.vue create mode 100644 src/pages/write_off/all_components/stadium_picker.vue create mode 100644 src/pages/write_off/douyin/poi_list.vue diff --git a/src/js/api.js b/src/js/api.js index 823bf0a..e334a44 100644 --- a/src/js/api.js +++ b/src/js/api.js @@ -140,6 +140,7 @@ API['writeOff'] = { dyPoiEnterVerifyOrder: `${ORIGIN}/admin/douyinPlatformProductOrder/enterVerifyOrder`, // 商家助手- 获取dypoi订单信息 dyPoiAssistantVerify: `${ORIGIN}/admin/douyinPlatformProductOrder/assistantVerify`, // 商家助手-核销dypoi订单 + dyPoiOrderList: `${ORIGIN}/admin/douyinPlatformProductOrder/list`, // 商家助手-核销dypoi订单 diff --git a/src/pages.json b/src/pages.json index ba403fa..80a1f10 100644 --- a/src/pages.json +++ b/src/pages.json @@ -224,6 +224,12 @@ } }, { + "path": "pages/write_off/douyin/poi_list", + "style": { + "navigationBarTitleText": "核销订单" + } + }, + { "path": "pages/employee/review_list/review_list", "style": { "navigationBarTitleText": "员工管理" diff --git a/src/pages/write_off/all_components/list_item.vue b/src/pages/write_off/all_components/list_item.vue new file mode 100644 index 0000000..e7c6688 --- /dev/null +++ b/src/pages/write_off/all_components/list_item.vue @@ -0,0 +1,99 @@ + + + + + \ No newline at end of file diff --git a/src/pages/write_off/all_components/period_picker.vue b/src/pages/write_off/all_components/period_picker.vue new file mode 100644 index 0000000..59b511f --- /dev/null +++ b/src/pages/write_off/all_components/period_picker.vue @@ -0,0 +1,67 @@ + + + + + \ No newline at end of file diff --git a/src/pages/write_off/all_components/stadium_picker.vue b/src/pages/write_off/all_components/stadium_picker.vue new file mode 100644 index 0000000..72760b6 --- /dev/null +++ b/src/pages/write_off/all_components/stadium_picker.vue @@ -0,0 +1,76 @@ + + + + + \ No newline at end of file diff --git a/src/pages/write_off/douyin/poi_list.vue b/src/pages/write_off/douyin/poi_list.vue new file mode 100644 index 0000000..2ee4882 --- /dev/null +++ b/src/pages/write_off/douyin/poi_list.vue @@ -0,0 +1,175 @@ + + + + + \ No newline at end of file diff --git a/src/pages/write_off/menu/menu.vue b/src/pages/write_off/menu/menu.vue index 93471c5..e84cae4 100644 --- a/src/pages/write_off/menu/menu.vue +++ b/src/pages/write_off/menu/menu.vue @@ -27,23 +27,28 @@ - 现场散客人数 + 抖音团购核销 - - - 现场散客人数查询 + + + 抖音团购核销 + + + + 抖音团购核销记录 - 抖音团购核销 + 现场散客人数 - - - 抖音团购核销 + + + 现场散客人数查询 + @@ -65,7 +70,9 @@ export default { toMallLs(){ util.routeTo(`/pages/write_off/mall/list/list`, 'nT'); }, - + toDypoiOrderLs(){ + util.routeTo(`/pages/write_off/douyin/poi_list`, 'nT'); + } } } diff --git a/src/pages/write_off/operate/operate.vue b/src/pages/write_off/operate/operate.vue index be73645..a00527f 100644 --- a/src/pages/write_off/operate/operate.vue +++ b/src/pages/write_off/operate/operate.vue @@ -42,7 +42,6 @@ export default { onLoad(options){ this.writeOffType = options.type || ''; util.$_once(WRITE_OFF_STORE_NAME, data => { // 定位门店 - console.warn(data); if(!data)return this.initStore(); this.curStadium = data.curStadium; this.stadiumList = data.stadiumList; diff --git a/src/uni.scss b/src/uni.scss index 845142d..7745bde 100644 --- a/src/uni.scss +++ b/src/uni.scss @@ -73,4 +73,36 @@ $uni-font-size-title:40rpx; $uni-color-subtitle: #555555; // 二级标题颜色 $uni-font-size-subtitle:36rpx; $uni-color-paragraph: #3F536E; // 文章段落颜色 -$uni-font-size-paragraph:30rpx; \ No newline at end of file +$uni-font-size-paragraph:30rpx; + +$mColor: #009874; + +/* 水平flex */ +@mixin ctf($justtify: flex-start){ + display: flex; + align-items: center; + justify-content: $justtify; +} + +/* 文字样式 */ +@mixin flcw($size: 28upx, $height: 40upx, $color: #333, $weight: 400){ + font-size: $size; + line-height: $height; + color: $color; + font-weight: $weight; +} + +@mixin tHide($line: 1) { + display: -webkit-box; + word-break: break-all; + text-overflow: ellipsis; + overflow: hidden; + -webkit-box-orient: vertical; + -webkit-line-clamp:$line; +} + +@mixin isPd($height: 0){ + padding-bottom: $height; + padding-bottom: calc( $height + constant(safe-area-inset-bottom)); /* 兼容 iOS < 11.2 */ + padding-bottom: calc( $height + env(safe-area-inset-bottom)); /* 兼容 iOS >= 11.2 */ +} \ No newline at end of file From 7fb7bc7db1cee73e781fd8ed2518b70f15d27072 Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Fri, 2 Feb 2024 10:29:47 +0800 Subject: [PATCH 2/3] =?UTF-8?q?vtest=201.1.47=20=E6=8A=96=E9=9F=B3?= =?UTF-8?q?=E5=9B=A2=E8=B4=AD=E6=A0=B8=E9=94=80=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/write_off/all_components/list_item.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pages/write_off/all_components/list_item.vue b/src/pages/write_off/all_components/list_item.vue index e7c6688..e2e7cc6 100644 --- a/src/pages/write_off/all_components/list_item.vue +++ b/src/pages/write_off/all_components/list_item.vue @@ -61,9 +61,6 @@ export default { onLoad() { }, - methods: { - - } } From 1f0e5c86739ab02f95be34dc1007fbb270e9368a Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Fri, 2 Feb 2024 10:41:25 +0800 Subject: [PATCH 3/3] =?UTF-8?q?v1.1.47=20formal=20=E6=8A=96=E9=9F=B3?= =?UTF-8?q?=E6=A0=B8=E9=94=80=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/api.js | 4 ++-- src/manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/api.js b/src/js/api.js index e334a44..539285f 100644 --- a/src/js/api.js +++ b/src/js/api.js @@ -1,5 +1,5 @@ -export const ORIGIN = `https://testmanager.ouxuanzhineng.cn`; // 测试 -// export const ORIGIN = `https://minimanage.ouxuanzhineng.cn`; // 正式 +// export const ORIGIN = `https://testmanager.ouxuanzhineng.cn`; // 测试 +export const ORIGIN = `https://minimanage.ouxuanzhineng.cn`; // 正式 // export const ORIGIN = `http://192.168.1.135:9090`; // 20210927 测试 diff --git a/src/manifest.json b/src/manifest.json index 27f06c0..410119d 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -56,7 +56,7 @@ "mp-weixin" : { /* 微信小程序特有相关 */ /* 正式 wxf1294b279ad1b845 */ - "appid" : "wx7106e84614cf0060", + "appid" : "wxf1294b279ad1b845", "setting" : { "urlCheck" : false, "minified" : true