| uniapps/work-wx/build/config/proxy.js | ●●●●● patch | view | raw | blame | history | |
| uniapps/work-wx/src/pages/register/index.vue | ●●●●● patch | view | raw | blame | history | |
| uniapps/work-wx/src/pages/user/index.vue | ●●●●● patch | view | raw | blame | history | |
| uniapps/work-wx/src/subPackages/deviceRegistration/add.vue | ●●●●● patch | view | raw | blame | history | |
| uniapps/work-wx/src/subPackages/deviceRegistration/details.vue | ●●●●● patch | view | raw | blame | history | |
| uniapps/work-wx/src/subPackages/flightApplication/index.vue | ●●●●● patch | view | raw | blame | history | |
| uniapps/work-wx/src/subPackages/userDetail/infos/index.vue | ●●●●● patch | view | raw | blame | history | |
| uniapps/work-wx/src/subPackages/userDetail/password/index.vue | ●●●●● patch | view | raw | blame | history |
uniapps/work-wx/build/config/proxy.js
@@ -20,6 +20,17 @@ changeOrigin: true, rewrite: path => path.replace(new RegExp(`^${VITE_API_PREFIX}`), ''), }, '/work-wx-static': { target: 'http://220.177.172.27:8100/', // 替换为实际地址 changeOrigin: true, secure: false, // 如果需要查看代理日志,添加以下配置 configure: (proxy, options) => { proxy.on('proxyReq', (proxyReq, req, res) => { console.log('代理请求:', req.method, req.url, '->', proxyReq.path); }); } } } return proxy } uniapps/work-wx/src/pages/register/index.vue
@@ -246,7 +246,8 @@ .pageBg { width: 100%; height: 100%; background: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/images/user/userBg1.png") no-repeat ; //background: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/images/user/userBg1.png") no-repeat ; background: url("/work-wx-static/images/user/userBg1.png") no-repeat ; background-size: 100%; } .detailBox { uniapps/work-wx/src/pages/user/index.vue
@@ -34,7 +34,7 @@ </div> </div> </view> <view class="goOutBtn"> <div class="goOutStyle" @click="logOut">退出登录</div> </view> @@ -97,7 +97,8 @@ height: 100%; } .pageUser { background: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/images/user/userBg1.png") no-repeat ; //background: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/images/user/userBg1.png") no-repeat ; background: url("/work-wx-static/images/user/userBg1.png") no-repeat ; background-size: 100%; } .userBox { uniapps/work-wx/src/subPackages/deviceRegistration/add.vue
@@ -662,7 +662,7 @@ // const text = await response.text() // areaData.value = JSON.parse(text) const response = await uni.request({ url: 'https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/xzqh/index.json', url: `/work-wx-static/xzqh/index.json`, method: 'GET', timeout: 10000, // 10秒超时 dataType: 'json' uniapps/work-wx/src/subPackages/deviceRegistration/details.vue
@@ -76,7 +76,7 @@ ref="item1" > <u-input v-model="formParams.holder" v-model="formParams.holder" readonly border="none" ></u-input> @@ -124,7 +124,7 @@ ref="item1" > <u-input v-model="formParams.caacRegistrationCode" v-model="formParams.caacRegistrationCode" readonly border="none" ></u-input> @@ -137,7 +137,7 @@ ref="item1" > <u-input v-model="formParams.deviceImage" v-model="formParams.deviceImage" readonly border="none" ></u-input> @@ -150,7 +150,7 @@ ref="item1" > <u-input v-model="formParams.remarks" v-model="formParams.remarks" readonly border="none" ></u-input> @@ -221,21 +221,21 @@ const findRegionNamesByCodes = (codes, areaData) => { const result = [] let currentData = areaData for (const code of codes) { // 转换为字符串比较(因为code可能是字符串类型) const codeStr = code.toString() const item = currentData.find(item => item.code === codeStr) if (!item) { console.warn(`未找到code为 ${codeStr} 的行政区划`) break } result.push(item.name) currentData = item.children || [] } return result } @@ -247,7 +247,7 @@ const regionNames = findRegionNamesByCodes(e, areaData.value) console.log(regionNames, '77777') formParams.value.regionText = regionNames.join('-') || '' // 用连字符连接的区域名称 isShowRegion.value = false isShowRegion.value = false } // 是否有保险 const actionsHasInsurance = ref([ @@ -329,17 +329,17 @@ formParams.value.region = findRegionNamesByCodes([res.data.data.region.slice(0,2),res.data.data.region.slice(0,4),res.data.data.region], areaData.value) getManufacturerInfoApi() }) }) onMounted(async () => { // getManufacturerInfoApi() // 动态导入xzqhData,确保在使用前已初始化 // const { xzqhData } = await import('@/static/xzqh/index') // areaData.value = xzqhData const response = await uni.request({ url: 'https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/xzqh/index.json', url: `/work-wx-static/xzqh/index.json`, method: 'GET', timeout: 10000, // 10秒超时 dataType: 'json' @@ -347,7 +347,7 @@ // 检查响应 if (response.statusCode === 200) { areaData.value = response.data // console.log('请求成功:', data) // 处理数据 @@ -364,11 +364,11 @@ display: flex; flex-direction: column; // padding: 24rpx; .select-wrapper { position: relative; width: 100%; .select-icon { position: absolute; right: 20rpx; @@ -402,7 +402,7 @@ border-radius: 8rpx 8rpx 8rpx 8rpx; margin-bottom: 20rpx; } :deep(.u-form-item) { margin-bottom: 20rpx; padding: 16rpx 24rpx 18rpx 24rpx; @@ -417,7 +417,7 @@ border-radius: 8rpx; padding: 0 20rpx; background-color: #f5f5f5; &::placeholder { font-family: Source Han Sans CN, Source Han Sans CN; font-weight: 400; @@ -425,12 +425,12 @@ color: #D2D2D2; } } .clickable-input { width: 100%; cursor: pointer; } :deep(.u-form-item__label) { margin-bottom: 20rpx; // font-weight: bold; @@ -440,7 +440,7 @@ font-size: 30rpx; color: #222324; } :deep(.u-form-item__required) { color: #FF2600; margin-right: 8rpx; uniapps/work-wx/src/subPackages/flightApplication/index.vue
@@ -198,7 +198,7 @@ overflow-y: hidden; .header-top { height: 480rpx; background: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/images/fxsq-bg.png") no-repeat ; background: url("/work-wx-static/images/fxsq-bg.png") no-repeat ; background-size: 100%; position: relative; .ht-content { uniapps/work-wx/src/subPackages/userDetail/infos/index.vue
@@ -254,7 +254,8 @@ .pageBg { width: 100%; height: 100%; background: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/images/user/userBg1.png") no-repeat ; //background: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/images/user/userBg1.png") no-repeat ; background: url("/work-wx-static/images/user/userBg1.png") no-repeat ; background-size: 100%; } .avatarBox { uniapps/work-wx/src/subPackages/userDetail/password/index.vue
@@ -260,7 +260,7 @@ // left: 0; width: 100%; height: 100%; background: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ja-app-wx/images/user/userBg1.png") no-repeat ; background: url("/work-wx-static/images/user/userBg1.png") no-repeat ; background-size: 100%; }