diff --git a/.env b/.env index 568c8ba..c5f9464 100644 --- a/.env +++ b/.env @@ -17,17 +17,17 @@ VITE_PWD_ENC_KEY='pigxpigxpigxpigx' VITE_OAUTH2_APP_CLIENT='mini:mini' # --------------------------- 开发环境 api地址 ---------------------------------- -VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # 域名线上 +#VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # 域名线上 #VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 # VITE_APP_DEV_SERVICE = http://192.168.101.150:9999 # 邓-本地 -# VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地 + VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地 # VITE_APP_DEV_SERVICE = http://123.157.250.162:8089/api # 测试线上 # --------------------------- 开发环境 图片访问基础地址 --------------------------- -VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # 域名线上 +#VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # 域名线上 #VITE_IMAGE_DEV_PATH = http://59.202.170.152:81/api # 信创线上 # VITE_IMAGE_DEV_PATH = http://192.168.101.150:9999 # 邓-43本地 -# VITE_IMAGE_DEV_PATH = http://127.0.0.1:9999 + VITE_IMAGE_DEV_PATH = http://127.0.0.1:9999 # VITE_IMAGE_DEV_PATH = http://123.157.250.162:8089/api # 测试线上 # --------------------------- 生产环境 api地址 ---------------------------------- diff --git a/src/pages.json b/src/pages.json index 049f6e3..4c195ca 100644 --- a/src/pages.json +++ b/src/pages.json @@ -464,6 +464,7 @@ { "path": "feedback/index", "style": { + "enablePullDownRefresh": true, "navigationBarTitleText": "意见反馈" } }, @@ -476,6 +477,7 @@ { "path": "repair/index", "style": { + "enablePullDownRefresh": true, "navigationBarTitleText": "维修上报" } }, diff --git a/src/pages/integrated/feedback/detail.vue b/src/pages/integrated/feedback/detail.vue index 69719bc..d72c335 100644 --- a/src/pages/integrated/feedback/detail.vue +++ b/src/pages/integrated/feedback/detail.vue @@ -6,6 +6,15 @@ {{ detail.description }} + + + 提交时间:{{ formatTime(detail.createTime) }} @@ -14,9 +23,10 @@ @@ -315,6 +417,17 @@ onMounted(() => { font-weight: bold; margin-bottom: 24rpx; } + .error-tip { + text-align: center; + color: #f56c6c; + font-size: 28rpx; + padding: 60rpx 0; + } + .retry-btn { + color: #007aff; + text-decoration: underline; + cursor: pointer; + } .empty-tip { text-align: center; color: #999; @@ -396,12 +509,18 @@ onMounted(() => { -webkit-line-clamp: 2; overflow: hidden; } + .image-list { + display: flex; + flex-wrap: wrap; + gap: 16rpx; + margin-top: 8rpx; + } .item-img { width: 120rpx; height: 120rpx; border-radius: 8rpx; - margin-top: 8rpx; background: #f7f8fa; + object-fit: cover; } } .item-footer { diff --git a/src/pages/integrated/repair/detail.vue b/src/pages/integrated/repair/detail.vue index 2a19f68..be626c0 100644 --- a/src/pages/integrated/repair/detail.vue +++ b/src/pages/integrated/repair/detail.vue @@ -25,6 +25,15 @@ 故障描述: {{ detail.description }} + + + @@ -40,9 +49,10 @@