diff --git a/.env b/.env
index e41bf99..b162418 100644
--- a/.env
+++ b/.env
@@ -17,23 +17,22 @@ VITE_PWD_ENC_KEY='pigxpigxpigxpigx'
VITE_OAUTH2_APP_CLIENT='mini:mini'
# 图片访问基础地址
-VITE_IMAGE_BASE_PATH = http://localhost:9999
-# VITE_IMAGE_BASE_PATH = http://192.168.101.29:9999 # 邓-本地
-# VITE_IMAGE_BASE_PATH = http://192.168.101.37:9999 # 邓-本地
+#VITE_IMAGE_BASE_PATH = http://localhost:9999
+# VITE_IMAGE_BASE_PATH = http://192.168.101.64:9999 # 邓-本地
# VITE_IMAGE_BASE_PATH = https://123.156.230.15:8089/api # 线上
# VITE_IMAGE_BASE_PATH = http://220.191.229.171:8090/api # 线上
# VITE_IMAGE_BASE_PATH = https://stgl.pj.gov.cn/api # 线上
# VITE_IMAGE_BASE_PATH = http://pjcloud.center.takin.cc # 张
-#VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api # 信创线上
+VITE_IMAGE_BASE_PATH = http://59.202.170.152:81/api # 信创线上
# ******************** start 开发环境 start ********************
-; VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上
-VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api
-# VITE_APP_DEV_SERVICE = http://192.168.101.50:9999 # 邓-本地
-; VITE_APP_DEV_SERVICE = http://127.0.0.1:9999
+# VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上
+# VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/app-api
+VITE_APP_DEV_SERVICE = http://192.168.101.64:9999 # 邓-本地
+# VITE_APP_DEV_SERVICE = http://127.0.0.1:9999
# VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api/ # 线上
# VITE_APP_DEV_SERVICE = http://220.191.229.171:8090/api # 线上
-; VITE_APP_DEV_SERVICE = http://localhost:9999
+# VITE_APP_DEV_SERVICE = http://localhost:9999
# ******************** end 开发环境 end ********************
# ******************** start 生产环境 start ****************
@@ -41,8 +40,8 @@ VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api
#VITE_APP_PROD_SERVICE = http://59.202.170.152:81/api
# VITE_APP_PROD_SERVICE = https://stgl.pj.gov.cn/api
# VITE_APP_PROD_SERVICE = http://220.191.229.171:8090/api
-#VITE_APP_PROD_SERVICE = http://59.202.170.152:81/api # 信创线上
+VITE_APP_PROD_SERVICE = http://59.202.170.152:81/api # 信创线上
# ******************** end 生产环境 end ********************
-VITE_DEV_ENV = dev
-#VITE_DEV_ENV = prod
+# VITE_DEV_ENV = dev
+# VITE_DEV_ENV = prod
\ No newline at end of file
diff --git a/index.html b/index.html
index f4e1ded..2ef6934 100644
--- a/index.html
+++ b/index.html
@@ -1,25 +1,24 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/package.json b/package.json
index d41bb0c..c99eebd 100644
--- a/package.json
+++ b/package.json
@@ -62,12 +62,14 @@
"@zebra-ui/swiper": "^2.2.8",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.13",
+ "gdt-jsapi": "^1.9.51",
"luch-request": "^3.1.1",
"pinia": "^2.2.6",
"qs": "^6.13.1",
"radash": "^12.1.0",
"vue": "^3.3.11",
"vue-i18n": "^9.1.9",
+ "vue-waterfall-plugin-next": "^2.6.5",
"z-paging": "^2.8.0"
},
"devDependencies": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e22a0c2..15d7fa7 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -65,6 +65,9 @@ importers:
dayjs:
specifier: ^1.11.13
version: 1.11.13
+ gdt-jsapi:
+ specifier: ^1.9.51
+ version: 1.9.51
luch-request:
specifier: ^3.1.1
version: 3.1.1
@@ -83,6 +86,9 @@ importers:
vue-i18n:
specifier: ^9.1.9
version: 9.14.2(vue@3.5.13(typescript@4.9.5))
+ vue-waterfall-plugin-next:
+ specifier: ^2.6.5
+ version: 2.6.5
z-paging:
specifier: ^2.8.0
version: 2.8.4
@@ -1295,6 +1301,9 @@ packages:
'@polka/url@1.0.0-next.28':
resolution: {integrity: sha512-8LduaNlMZGwdZ6qWrKlfa+2M4gahzFkprZiAt2TF8uS0qQgBizKXpXURqvTJ4WtmupWxaLqjRb2UCTe72mu+Aw==}
+ '@remax/mini-types@0.1.0':
+ resolution: {integrity: sha512-bVDcbUrp6p0PZwfS0xGVQS6k9f8B35BtZaYt/W/IGKh7VALYQ+tS2KcytLRmIJ/Vmohaw5ikIRN89I+frPdh4g==}
+
'@rollup/pluginutils@5.1.4':
resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==}
engines: {node: '>=14.0.0'}
@@ -2404,6 +2413,9 @@ packages:
function-bind@1.1.2:
resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
+ gdt-jsapi@1.9.51:
+ resolution: {integrity: sha512-VN1iIK7kJU2g2oxY/n8waCREhWxcVwR8qHAE1keVnUJHI6mTdgTelICzq++niRRCaLqUVWC1pYvftEVgk4sq8A==}
+
generic-names@4.0.0:
resolution: {integrity: sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A==}
@@ -3846,6 +3858,9 @@ packages:
peerDependencies:
typescript: '*'
+ vue-waterfall-plugin-next@2.6.5:
+ resolution: {integrity: sha512-8ACGbdjoyKLiJfnKXB8h8f9eE14lhyzfI1N1nrfVAIRczSpNY1KRwGOnVXN5OHqheLl3V1C0uVVRPtjTJkHkhw==}
+
vue@3.5.13:
resolution: {integrity: sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==}
peerDependencies:
@@ -5960,6 +5975,8 @@ snapshots:
'@polka/url@1.0.0-next.28': {}
+ '@remax/mini-types@0.1.0': {}
+
'@rollup/pluginutils@5.1.4(rollup@4.34.2)':
dependencies:
'@types/estree': 1.0.6
@@ -7202,6 +7219,11 @@ snapshots:
function-bind@1.1.2: {}
+ gdt-jsapi@1.9.51:
+ dependencies:
+ '@babel/runtime': 7.26.7
+ '@remax/mini-types': 0.1.0
+
generic-names@4.0.0:
dependencies:
loader-utils: 3.3.1
@@ -8834,6 +8856,8 @@ snapshots:
semver: 7.7.1
typescript: 4.9.5
+ vue-waterfall-plugin-next@2.6.5: {}
+
vue@3.5.13(typescript@4.9.5):
dependencies:
'@vue/compiler-dom': 3.5.13
diff --git a/src/main.ts b/src/main.ts
index 1de055c..9b3e559 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,18 +1,17 @@
-import { createSSRApp } from "vue";
-import "uno.css";
-import * as Pinia from "pinia";
+import { createSSRApp } from "vue"
+import "uno.css"
+import pinia from "../src/sheep/stores/index"
-import App from "./App.vue";
-import tmUi from "./uni_modules/tm-ui";
+import App from "./App.vue"
+import tmUi from "./uni_modules/tm-ui"
export function createApp() {
- const app = createSSRApp(App);
+ const app = createSSRApp(App)
- app.use(Pinia.createPinia());
- app.use(tmUi);
+ app.use(pinia)
+ app.use(tmUi)
- return {
- app,
- Pinia,
- };
+ return {
+ app,
+ }
}
diff --git a/src/pages.json b/src/pages.json
index d610224..6c100a5 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -30,6 +30,20 @@
"disableScroll": true
}
},
+ // {
+ // "path": "pages/tabbar/flowStatistics",
+ // "style": {
+ // "navigationBarTitleText": "流水统计",
+ // "disableScroll": true
+ // }
+ // },
+ // {
+ // "path": "pages/tabbar/individualOrder",
+ // "style": {
+ // "navigationBarTitleText": "订单",
+ // "disableScroll": true
+ // }
+ // },
{
"path": "pages/tabbar/my",
"style": {
@@ -256,6 +270,18 @@
}
}
]
+ },
+ {
+ "root": "pages/pay",
+ "pages": [
+ {
+ "path": "scanPay",
+ "style": {
+ "navigationBarTitleText": "",
+ "disableScroll": true
+ }
+ }
+ ]
}
],
"globalStyle": {
@@ -285,6 +311,18 @@
"iconPath": "static/tabbar/order.png",
"selectedIconPath": "static/tabbar/order-select.png"
},
+ // {
+ // "pagePath": "pages/tabbar/flowStatistics",
+ // "text": "流水统计",
+ // "iconPath": "static/tabbar/order.png",
+ // "selectedIconPath": "static/tabbar/order-select.png"
+ // },
+ // {
+ // "pagePath": "pages/tabbar/individualOrder",
+ // "text": "订单",
+ // "iconPath": "static/tabbar/order.png",
+ // "selectedIconPath": "static/tabbar/order-select.png"
+ // },
{
"pagePath": "pages/tabbar/my",
"text": "我的",
diff --git a/src/pages/boxes/apply.vue b/src/pages/boxes/apply.vue
index bddeac2..2aa2273 100644
--- a/src/pages/boxes/apply.vue
+++ b/src/pages/boxes/apply.vue
@@ -1,215 +1,215 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 时间段
-
-
- {{ v.bxDate }}
- {{ v.hour }}
-
-
-
-
- 提交
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 时间段
+
+
+ {{ v.bxDate }}
+ {{ v.hour }}
+
+
+
+
+ 提交
+
+
+
\ No newline at end of file
+
diff --git a/src/pages/boxes/detail.vue b/src/pages/boxes/detail.vue
index 27cca19..fa80b22 100644
--- a/src/pages/boxes/detail.vue
+++ b/src/pages/boxes/detail.vue
@@ -1,83 +1,78 @@
-
-
-
-
-
-
-
-
-
-
-
- ¥{{ state.detail.price }}
-
- 可容纳{{ state.detail.capacity }}
-
-
- {{ state.detail.name }}
-
-
-
-
- 详情
-
-
-
-
-
- 预定
-
-
-
+
+
+
+
+
+
+
+
+
+
+ ¥{{ state.detail.price }}
+
+ 可容纳{{ state.detail.capacity }}
+
+
+ {{ state.detail.name }}
+
+
+
+
+ 详情
+
+
+
+
+
+ 预定
+
+
+
\ No newline at end of file
+
diff --git a/src/pages/boxes/list.vue b/src/pages/boxes/list.vue
index b5581eb..a1c4988 100644
--- a/src/pages/boxes/list.vue
+++ b/src/pages/boxes/list.vue
@@ -1,5 +1,5 @@
@@ -97,7 +99,7 @@ const doProduct = (v: any) => {
height="100%"
:fixed="false"
v-model="pageHook.list"
- :default-page-size="5"
+ :default-page-size="8"
safe-area-inset-bottom
:loading-more-enabled="true"
:show-scrollbar="false"
@@ -107,7 +109,7 @@ const doProduct = (v: any) => {
@scroll="pageHook.scroll"
>
-
+
{
:key="i"
@tap="doDateItem(v, i)"
>
- {{ v.dayTime }}
- {{ v.weekDayStr }}
+ {{ v.dayTime }}
+ {{ v.weekDayStr }}
-
+
+
-
-
+
+
+
+
+
+
+
+ {{ item.name }}
+
+ ¥{{ hooks.useMoney(item.price) }}
+ ¥{{ hooks.useMoney(item.marketPrice) }}
+
+
+ {{ hooks.useFormatNum("库存", "", item.stock) }}
+
+ {{ hooks.useFormatNum("销量", "", item.salesCount) }}
+
+
+
+
+
+
+
diff --git a/src/pages/merchant/product-detail.vue b/src/pages/merchant/product-detail.vue
index d20b72d..83b3844 100644
--- a/src/pages/merchant/product-detail.vue
+++ b/src/pages/merchant/product-detail.vue
@@ -1,87 +1,73 @@
-
-
-
-
-
-
- ¥{{ state.detail.price }}
- ¥{{ state.detail.marketPrice }}
-
- 已售{{ state.detail.salesCount }}
-
-
- {{ state.detail.name }}
- {{
- state.detail.introduction
- }}
-
-
-
- 评价
-
-
- 详情
-
-
-
-
+
+
+
+
+
+
+
+ ¥{{ state.detail.price }}
+ ¥{{ state.detail.marketPrice }}
+
+ 已售{{ state.detail.salesCount }}
+
+
+ {{ state.detail.name }}
+ {{ state.detail.introduction }}
+
+
+
+ 评价
+
+
+ 详情
+
+
+
+
+ 暂无数据
+
diff --git a/src/pages/pay/scanPay.vue b/src/pages/pay/scanPay.vue
new file mode 100644
index 0000000..f672cd1
--- /dev/null
+++ b/src/pages/pay/scanPay.vue
@@ -0,0 +1,175 @@
+
+
+
+ 支付
+
+
+ ¥
+ {{ displayAmount }}
+
+ 支付
+
+
+
+
+ {{ key }}
+
+
+
+
+ .
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/refund/apply.vue b/src/pages/refund/apply.vue
index b42c13a..b75392f 100644
--- a/src/pages/refund/apply.vue
+++ b/src/pages/refund/apply.vue
@@ -22,9 +22,7 @@ const state = reactive({
selectList: [],
})
const uploadApplyPicUrls = ref | string>>([]) // 补充凭证图片
-const applyPicUrls = computed(() =>
- uploadApplyPicUrls.value.map((item: any) => JSON.parse(item.response).data.url).join(","),
-)
+const applyPicUrls = computed(() => uploadApplyPicUrls.value.map((item: any) => JSON.parse(item.response).data.url).join(","))
const applyForm = reactive({
way: data.payType[0].type,
@@ -154,14 +152,7 @@ const doSubmit = async () => {
售后类型
-
+
@@ -187,7 +178,6 @@ const doSubmit = async () => {
- <<<<<<< HEAD
补充凭证图片
{
注:图片大小不超过5M,最多上传6张
- ======= >>>>>>> c3eaafa5d0575ebd0fa74be0180c5cfe8a9901ea
相关描述
-
+
diff --git a/src/pages/shop/detail.vue b/src/pages/shop/detail.vue
index 7979162..7ccdddc 100644
--- a/src/pages/shop/detail.vue
+++ b/src/pages/shop/detail.vue
@@ -14,24 +14,18 @@
-
+
-
- {{ state.detail.name }}
-
-
- {{ state.detail.deptName }}
-
+ {{ state.detail.name }}
+ {{ state.detail.deptName }}
- {{ state.detail.phone }}
-
- 营业时间
-
- {{ state.detail.jobStartTime }}
- ~
- {{ state.detail.jobEndTime }}
-
+ {{ state.detail.phone }}
+
+ 营业时间:
+ {{ state.detail.jobTime?.split(",")[0] ? "早:" + state.detail.jobTime?.split(",")[0] : "" }}
+ {{ state.detail.jobTime?.split(",")[1] ? "中:" + state.detail.jobTime?.split(",")[1] : "" }}
+ {{ state.detail.jobTime?.split(",")[2] ? "晚:" + state.detail.jobTime?.split(",")[2] : "" }}
地址
@@ -47,11 +41,7 @@
-