diff --git a/src/components/TitleTip/index.vue b/src/components/TitleTip/index.vue
index 21ced64..4141e5f 100644
--- a/src/components/TitleTip/index.vue
+++ b/src/components/TitleTip/index.vue
@@ -23,10 +23,11 @@ const props = defineProps({
padding: 8px 0;
}
.title-tip view:first-child {
- width: 5px;
- height: 18px;
+ width: 4px;
+ height: 16px;
background-color: $el-color-primary;
margin-right: 6px;
+ border-radius: 2px;
}
.title-tip view {
diff --git a/src/pages.json b/src/pages.json
index 0f42434..778e24c 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -167,6 +167,13 @@
"style": {
"navigationStyle": "custom"
}
+ },
+ // 分类管理
+ {
+ "path": "pages/class-page/index",
+ "style": {
+ "navigationStyle": "custom"
+ }
}
],
"tabBar": {
diff --git a/src/pages/class-page/index.vue b/src/pages/class-page/index.vue
new file mode 100644
index 0000000..76a28f5
--- /dev/null
+++ b/src/pages/class-page/index.vue
@@ -0,0 +1,210 @@
+
+
+
+
+
+ 分类
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }} ({{ item.maCount ? item.maCount : 0 }})
+
+
+
+
+
+
+ {{ item.companyName }}({{ item.maCount ? item.maCount : 0 }})
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index d35dc45..6116ac7 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -1,9 +1,30 @@
-
+
-
-
+
+
承租订单
-
+
@@ -68,6 +68,17 @@ const onJumpToMySetting = () => {
uni.navigateTo({ url: '/pages/my-setting/index' })
}
+const onJumpMyOrder = (type) => {
+ if (type === 1) {
+ uni.navigateTo({ url: '/pages/order-list/index?type=1' })
+ } else {
+ uni.navigateTo({ url: '/pages/order-list/index?type=2' })
+ }
+}
+const onJumpMyDemand = () => {
+ uni.navigateTo({ url: '/pages/my-demand/index' })
+}
+
onLoad(() => {
userInfo.value = memberStore.userInfo
userCompanyName.value = memberStore.userCompanyName
@@ -130,7 +141,7 @@ onLoad(() => {
padding: 0;
}
- navigator {
+ view {
width: 100%;
padding: 30px 0;
display: flex;
diff --git a/src/pages/order-details/index.vue b/src/pages/order-details/index.vue
index 5bf3958..3eaa736 100644
--- a/src/pages/order-details/index.vue
+++ b/src/pages/order-details/index.vue
@@ -247,9 +247,14 @@ const scrapRecordList = ref([])
const lossRecordList = ref([])
const fileListAll = ref([])
const onClickLeft = () => {
- uni.reLaunch({
- url: '/pages/order-list/index',
- })
+ // uni.reLaunch({
+ // url: '/pages/order-list/index',
+ // })
+ // uni.navigateTo({
+ // url: '/pages/order-list/index',
+ // })
+
+ uni.navigateBack()
}
const getOverhaulData = async (orderId) => {
diff --git a/src/static/index/4sbfn 拷贝.png b/src/static/index/4sbfn 拷贝.png
new file mode 100644
index 0000000..e61f146
Binary files /dev/null and b/src/static/index/4sbfn 拷贝.png differ
diff --git a/src/static/index/8 dfsg拷贝.png b/src/static/index/8 dfsg拷贝.png
new file mode 100644
index 0000000..d0acf36
Binary files /dev/null and b/src/static/index/8 dfsg拷贝.png differ
diff --git a/src/static/index/class-left.png b/src/static/index/class-left.png
new file mode 100644
index 0000000..e61f146
Binary files /dev/null and b/src/static/index/class-left.png differ
diff --git a/src/static/index/class-right.png b/src/static/index/class-right.png
new file mode 100644
index 0000000..d0acf36
Binary files /dev/null and b/src/static/index/class-right.png differ
diff --git a/src/static/index/home-bg.png b/src/static/index/home-bg.png
new file mode 100644
index 0000000..3e80f9b
Binary files /dev/null and b/src/static/index/home-bg.png differ
diff --git a/vite.config.js b/vite.config.js
index bc2a013..8b2ddac 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -33,10 +33,10 @@ export default defineConfig({
proxy: {
// 在此处编写代理规则
'/api': {
- // target: 'http://36.33.26.201:17788/proxyApi',
+ target: 'http://36.33.26.201:17788/proxyApi',
// target: 'http://192.168.2.123:28080',
// target: 'http://192.168.2.122:28080',
- target: 'http://192.168.0.244:28580', // 测试服务
+ // target: 'http://192.168.0.244:28580', // 测试服务
changeOrigin: true,
rewrite: (path) => {
return path.replace(/\/api/, '')