diff --git a/src/components/SearchIpt/index.vue b/src/components/SearchIpt/index.vue
index 24a4f09..479fb1f 100644
--- a/src/components/SearchIpt/index.vue
+++ b/src/components/SearchIpt/index.vue
@@ -93,6 +93,7 @@ const onInputChange = (value) => {
.check-type {
position: relative;
+ padding-left: 12px;
height: 36px;
width: 100px;
display: flex;
diff --git a/src/pages.json b/src/pages.json
index 880e185..0f42434 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -126,6 +126,13 @@
"navigationStyle": "custom"
}
},
+ // 订单 检修详情
+ {
+ "path": "pages/repair-details/index",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
// 订单 费用确认
{
"path": "pages/order-confirm/index",
@@ -153,6 +160,13 @@
"style": {
"navigationStyle": "custom"
}
+ },
+ // 地址管理
+ {
+ "path": "pages/my-demand/index",
+ "style": {
+ "navigationStyle": "custom"
+ }
}
],
"tabBar": {
diff --git a/src/pages/agreement/index.vue b/src/pages/agreement/index.vue
index 30ca65d..45f20bb 100644
--- a/src/pages/agreement/index.vue
+++ b/src/pages/agreement/index.vue
@@ -20,16 +20,16 @@ import mammoth from 'mammoth'
const docHtml = ref('')
const pagesType = ref(1)
const onClickLeft = () => {
- let url = ''
- if (pagesType.value == 1) url = '/pages/cart/index'
- if (pagesType.value == 3) url = '/pages/order-list/index'
- if (pagesType.value == 1 || pagesType.value == 3) {
- uni.reLaunch({
- url,
- })
- } else {
- uni.navigateBack()
- }
+ // let url = ''
+ // if (pagesType.value == 1) url = '/pages/cart/index'
+ // if (pagesType.value == 3) url = '/pages/order-list/index'
+ // if (pagesType.value == 3) {
+ // uni.reLaunch({
+ // url,
+ // })
+ // } else {
+ // }
+ uni.navigateBack()
}
onLoad(async (options) => {
pagesType.value = options.type
diff --git a/src/pages/cart/index.vue b/src/pages/cart/index.vue
index 258bfa8..82d28aa 100644
--- a/src/pages/cart/index.vue
+++ b/src/pages/cart/index.vue
@@ -1,204 +1,216 @@
-
-
+
+
+
diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue
index 786e662..23e52f7 100644
--- a/src/pages/my/index.vue
+++ b/src/pages/my/index.vue
@@ -35,6 +35,12 @@
出租订单
+
+
+
+ 我的需求
+
+
diff --git a/src/pages/order-confirm/index.vue b/src/pages/order-confirm/index.vue
index eb3025b..c0f33cf 100644
--- a/src/pages/order-confirm/index.vue
+++ b/src/pages/order-confirm/index.vue
@@ -85,13 +85,19 @@
-
-
+
+ 点击查看
+ 暂无附件
+
@@ -111,13 +117,19 @@
-
-
+
+ 点击查看
+ 暂无附件
+
@@ -136,13 +148,19 @@
-
-
+
+ 点击查看
+ 暂无附件
+
@@ -152,6 +170,7 @@ import { ref } from 'vue'
import TitleTip from '@/components/TitleTip'
import { onLoad } from '@dcloudio/uni-app'
import { getOverhaulAPI, confirmPriceAPI } from '@/services/order/index.js'
+import { showImagePreview } from 'vant'
const orderDetails = ref({})
const orderId = ref('')
const orderDetailDtoList = ref({})
@@ -235,6 +254,9 @@ const onCostConfirm = () => {
})
.catch(() => {})
}
+const onPreviewFile = (fileList) => {
+ showImagePreview([fileList[0].fileUrl])
+}
diff --git a/src/services/demand/index.js b/src/services/demand/index.js
index 0a4021d..fddc906 100644
--- a/src/services/demand/index.js
+++ b/src/services/demand/index.js
@@ -40,3 +40,13 @@ export const getDemandDetailsByIdAPI = (data) => {
data,
})
}
+/**
+ * 接单列表
+ */
+export const getMyRentListAPI = (data) => {
+ return http({
+ method: 'GET',
+ url: `/material-mall/ma-lease/rentList`,
+ data,
+ })
+}
diff --git a/src/style/vant.scss b/src/style/vant.scss
index 9ffc56f..2361e4d 100644
--- a/src/style/vant.scss
+++ b/src/style/vant.scss
@@ -43,6 +43,10 @@
padding: 20rpx 0;
}
+.view-file {
+ color: #00a288;
+}
+
// :root {
// --van-primary-color:#00a288;
// }
\ No newline at end of file