uniapps/work-wx/src/pages.json
@@ -11,8 +11,7 @@ { "path": "pages/page/index", "style": { "navigationBarTitleText": "首页", "navigationStyle": "custom" "navigationBarTitleText": "首页" } }, { @@ -24,23 +23,20 @@ { "path": "pages/equipmentManagement/index", "style": { "navigationBarTitleText": "设备管理", "navigationStyle": "custom" "navigationBarTitleText": "设备管理" } }, { "path": "pages/legalPolicy/index", "style": { "navigationBarTitleText": "法律政策", "navigationStyle": "custom" "navigationBarTitleText": "法律政策" } }, { "path": "pages/user/index", "style": { "navigationBarTitleText": "我的", "navigationStyle": "custom" "navigationBarTitleText": "我的" } }, { @@ -101,13 +97,6 @@ } }, { "path": "workDetail/mapWork/index", "style": { "navigationBarTitleText": "地图展示", "navigationStyle": "custom" } }, { "path": "userDetail/infos/index", "style": { "navigationBarTitleText": "个人资料" @@ -135,26 +124,26 @@ "backgroundColor": "#ffffff", "list": [ { "iconPath": "static/images/tabbar/icon_order.png", "selectedIconPath": "static/images/tabbar/icon_order_selected.png", "iconPath": "static/images/tabbar/home.png", "selectedIconPath": "static/images/tabbar/home-selected.png", "pagePath": "pages/page/index", "text": "首页" }, { "iconPath": "static/images/tabbar/icon_order.png", "selectedIconPath": "static/images/tabbar/icon_order_selected.png", "iconPath": "static/images/tabbar/sbgl.png", "selectedIconPath": "static/images/tabbar/sbgl-selected.png", "pagePath": "pages/equipmentManagement/index", "text": "设备管理" }, { "iconPath": "static/images/tabbar/icon_home1.png", "selectedIconPath": "static/images/tabbar/icon_home_selected.png", "iconPath": "static/images/tabbar/flzc.png", "selectedIconPath": "static/images/tabbar/flzc-selected.png", "pagePath": "pages/legalPolicy/index", "text": "法律政策" }, { "iconPath": "static/images/tabbar/icon_me.png", "selectedIconPath": "static/images/tabbar/icon_me_selected.png", "iconPath": "static/images/tabbar/my.png", "selectedIconPath": "static/images/tabbar/my-selected.png", "pagePath": "pages/user/index", "text": "我的" } uniapps/work-wx/src/pages/equipmentManagement/index.vue
@@ -24,8 +24,8 @@ <script setup> import { reactive, ref } from 'vue' import lbPng from '@/static/images/lb.png' import addSvg from '@/static/images/add.svg' import droneSvg from '@/static/images/drone.svg' import addSvg from '@/static/images/add.png' import droneSvg from '@/static/images/drone.png' import { myDevicePageInfoApi, aircraftInfoPageInfoOfMyApi } from '@/api/index.js' const equipmentList = ref([]) const noticeTitle = ref('') @@ -35,11 +35,10 @@ try { const res = await aircraftInfoPageInfoOfMyApi({ current: 1, size: 10, size: 99, model:'', name: '', }) console.log(8888888,res.data.data.records) equipmentList.value = res.data.data.records || [] } catch (error) { console.error('获取设备列表失败:', error) @@ -73,7 +72,7 @@ height: 100%; display: flex; flex-direction: column; .u-search { :deep(.u-search) { padding: 10px 20px; height: 68rpx; flex: 0; uniapps/work-wx/src/pages/legalPolicy/index.vue
@@ -96,7 +96,7 @@ display: flex; flex-direction: column; .u-search { :deep(.u-search) { padding: 10px 20px; height: 68rpx; flex: 0; uniapps/work-wx/src/pages/login/index.vue
@@ -9,24 +9,25 @@ <input v-model="loginForm.username" placeholder="请输入用户名" /> </div> <div class="pass-word"> <input v-model="loginForm.password" :type="isShowPassword ? 'text' : 'password'" placeholder="请输入密码"/> <u-input type="password" border="bottom" v-model="loginForm.password" placeholder="请输入密码"></u-input> <!-- <input v-model="loginForm.password" :type="isShowPassword ? 'text' : 'password'" placeholder="请输入密码"/> <image v-if="!isShowPassword" :src="showPasswordSvg" @click="isShowPassword = !isShowPassword" /> <image v-else :src="showPsdSvg" @click="isShowPassword = !isShowPassword" /> <image v-else :src="showPsdSvg" @click="isShowPassword = !isShowPassword" /> --> </div> </view> <div class="remember-password"> <view class="remember"> <checkbox-group @change="toggleRemember"> <!-- <checkbox-group @change="toggleRemember"> <checkbox :checked="rememberPassword" color="#1D6FE9" style="transform: scale(0.7)" /> </checkbox-group> 记住密码 记住密码 --> </view> <view class="forget"> 忘记密码 <view class="forget" @click="forgetClick"> 忘记密码? </view> </div> <button class="login-btn" :style="[inputStyle]" @tap="submit">登录</button> @@ -43,10 +44,8 @@ import { HOME_PATH, LOGIN_PATH, removeQueryString } from "@/router"; import { ref } from "vue"; import logoSvg from "@/static/images/logo.svg"; import droneLogSvg from "@/static/images/user/droneLogo.svg"; import showPsdSvg from "@/static/images/user/showPsd.svg"; import showPasswordSvg from "@/static/images/show-password.svg"; import logoSvg from "@/static/images/logo.png"; import droneLogSvg from "@/static/images/user/droneLogo.png"; const droneSvg = getAssetsImage("/images/login/droneSvg.svg"); const usernameSvg = getAssetsImage("/images/login/username.svg"); @@ -151,6 +150,12 @@ }); } function forgetClick() { uni.navigateTo({ url: "/subPackages/userDetail/password/index", }); } // 从本地存储加载记住的密码 onMounted(() => { const savedUserInfo = uni.getStorageSync("rememberedUser"); @@ -176,8 +181,8 @@ width: 100%; .logo { width: 127px; height: 51px; width: 67px; height: 67px; margin: 0 auto; margin-top: 162px; margin-bottom: 16px; uniapps/work-wx/src/pages/page/index.vue
@@ -71,10 +71,10 @@ <script setup> import { onMounted, reactive, ref } from 'vue' import lbPng from '@/static/images/lb.png' import kyxxPng from '@/static/images/kyxx.svg' import fxsqPng from '@/static/images/fxsq.svg' import flfgPng from '@/static/images/flfg.svg' import zczdPng from '@/static/images/zczd.svg' import kyxxPng from '@/static/images/kyxx.png' import fxsqPng from '@/static/images/fxsq.png' import flfgPng from '@/static/images/flfg.png' import zczdPng from '@/static/images/zczd.png' import docSvg from '@/static/images/doc.png' import { sysNoticePageInfoApi, flightAirspacePageInfoApi } from '@/api/index' const lbList = reactive([]); @@ -225,8 +225,8 @@ height: 100%; display: flex; flex-direction: column; .u-grid { margin-top: 20px; :deep(.u-grid) { margin-top: 40rpx; .grid-text { font-family: Source Han Sans CN, Source Han Sans CN; font-weight: 500; uniapps/work-wx/src/pages/register/index.vue
@@ -4,7 +4,7 @@ <view class="pageBg"></view> <view class="content"> <view class="row"> <view class="label"><span>*</span>手机号码</view> <view class="label"><span class="required">*</span>手机号码</view> <view class="input"> <u-input input-align="right" border="bottom" v-model="formParams.userName" placeholder="请输入手机号码"></u-input> </view> @@ -16,23 +16,23 @@ </view> </view> <view class="row"> <view class="label"><span>*</span>密码</view> <view class="label"><span class="required">*</span>密码</view> <view class="input"> <u-input type="password" input-align="right" border="bottom" v-model="formParams.password" placeholder="请输入密码"></u-input> </view> </view> <view class="row"> <view class="label"><span>*</span>确认密码</view> <view class="label"><span class="required">*</span>确认密码</view> <view class="input"> <u-input type="password" input-align="right" border="bottom" v-model="formParams.password2" placeholder="请确认密码"></u-input> </view> </view> <view class="row"> <view class="label"><span>*</span>验证码</view> <view class="label"><span class="required">*</span>验证码</view> <view class="input"> <u-input input-align="right" border="bottom" v-model="formParams.code" placeholder="请输入验证码"></u-input> </view> <u-button class="getCode" :disabled="countDown > 0" @click="sendVerificationCode" type="primary" color="#007AFF"> <u-button :disabled="countDown > 0" @click="sendVerificationCode" type="primary" color="#007AFF"> {{ countDown > 0 ? `${countDown}s后重发` : '获取验证码' }} </u-button> </view> @@ -214,7 +214,7 @@ left: 0; width: 100%; height: 100%; background: url("@/static/images/user/userbg.svg") no-repeat ; background-image: url("../../static/images/user/userbg.svg") no-repeat ; background-size: 100%; } .content { @@ -238,7 +238,7 @@ font-weight: 400; font-size: 15px; color: #222324; span { .required { color: #FF4444; } } @@ -251,15 +251,19 @@ :deep(.u-icon--right) { display: none; } .getCode { :deep(.u-button) { width: 180rpx; } } .register { :deep(.u-button) { position: fixed; left: 24rpx; right: 24rpx; bottom: 126rpx; width: 80% !important; height: 100rpx !important; } } } </style> uniapps/work-wx/src/pages/user/index.vue
@@ -55,7 +55,7 @@ import { getDeviceRegionApi } from "@/api/map.js"; import defaultAvatar from '/static/images/defaultAvatar.svg' import rightImage from '@/static/images/user/rightBtn.svg'; import showDefaultHeader from "@/static/images/user/default-header.svg"; import showDefaultHeader from "@/static/images/user/default-header.png"; const { setClipboardData, getClipboardData } = useClipboard(); // // const rightImage = getAssetsImage("/images/user/rightBtn.svg"); @@ -100,7 +100,7 @@ height: 100%; } .pageUser { background: url("@/static/images/user/userbg.svg") no-repeat; background-image: url("../../static/images/user/userbg.svg") no-repeat; background-size: 100%; } .userBox { uniapps/work-wx/src/static/images/fly-apply.svg
File was deleted uniapps/work-wx/src/static/images/logo.pnguniapps/work-wx/src/static/images/zczd.svg
File was deleted uniapps/work-wx/src/subPackages/deviceRegistration/add.vue
@@ -220,9 +220,6 @@ placeholder="请输入" ></u-input> </u-form-item> <u-button class="submit-button-wrapper" color="#1D6FE9" size="large" @click="submitForm"> 注册 </u-button> <!-- 飞行器型号 --> <u-picker :show="showType" @@ -267,6 +264,10 @@ :data="areaData" ></u-cascader> </u-form> <u-button @click="submitForm" color="#1D6FE9">提交</u-button> <!-- <u-button class="submit-button-wrapper" color="#1D6FE9" size="large" @click="submitForm"> 注册 </u-button> --> </view> </template> <script setup> @@ -585,9 +586,11 @@ padding: 24rpx; } .submit-button-wrapper { :deep(.u-button) { width: 80%; padding: 28rpx; border-radius: 8rpx 8rpx 8rpx 8rpx; margin-bottom: 20rpx; } :deep(.u-form-item) { uniapps/work-wx/src/subPackages/flightApplication/add.vue
@@ -290,13 +290,9 @@ ></up-icon> </template> </u-form-item> <u-button class="submit-button-wrapper" color="#1D6FE9" size="large" @click="submitForm"> <!-- <u-button class="submit-button-wrapper" color="#1D6FE9" size="large" @click="submitForm"> 飞行申请 </u-button> <!-- 飞任务类型 --> <view class="attention"> 注:新增空域/航线/飞手等前往吉安市低空经济服务一体化 </view> </u-button> --> <u-picker :show="isShowFlightTaskType" :columns="[actionsFlightTaskType]" @@ -377,7 +373,11 @@ @cancel="isShowFlightRouteInfo = false" /> </u-form> <u-button @click="submitForm" color="#1D6FE9">飞行申请</u-button> <!-- 飞任务类型 --> <view class="attention"> 注:新增空域/航线/飞手等前往吉安市低空经济服务一体化 </view> </view> </template> <script setup> @@ -751,6 +751,20 @@ margin-bottom: 24rpx; padding-left: 0rpx !important; } :deep(.u-button) { width: 80%; padding: 28rpx; border-radius: 8rpx 8rpx 8rpx 8rpx; margin-bottom: 20rpx; } .attention { font-family: Source Han Sans CN, Source Han Sans CN; font-weight: 400; font-size: 12px; color: #1D6FE9; // margin-top: 24rpx; text-align: center; } .select-wrapper { position: relative; width: 100%; @@ -785,13 +799,6 @@ // width: 80%; // height: 100rpx; border-radius: 8rpx 8rpx 8rpx 8rpx; } .attention { font-family: Source Han Sans CN, Source Han Sans CN; font-weight: 400; font-size: 12px; color: #1D6FE9; margin-top: 24rpx; } :deep(.u-form-item) { margin-bottom: 40rpx; uniapps/work-wx/src/subPackages/flightApplication/index.vue
@@ -33,10 +33,10 @@ </view> </template> <script setup> import spSvg from '@/static/images/sp.svg' import spSvg from '@/static/images/sp.png' import { flightPlanPageInfoApi } from '@/api/index.js' import fxsqSvg from '@/static/images/fly-apply.svg' import mysbSvg from '@/static/images/my-sb.svg' import fxsqSvg from '@/static/images/fly-apply.png' import mysbSvg from '@/static/images/my-sb.png' import { ref } from 'vue' @@ -130,7 +130,7 @@ .header-top { width: 100%; height: 350rpx; background: url('@/static/images/fxsq-bg.png') no-repeat center center; background: url('@/static/images/fxsq-bg.png') no-repeat center; background-size: 100% 100%; position: fixed; top: 0; @@ -170,7 +170,7 @@ } } } .u-search { :deep(.u-search) { position: absolute; width: 90%; left: 50%; uniapps/work-wx/src/subPackages/regulationsDetail/copy.vue
File was deleted uniapps/work-wx/src/subPackages/userDetail/infos/index.vue
@@ -41,7 +41,7 @@ </template> <script setup> import showDefaultHeader from "@/static/images/user/default-header.svg"; import showDefaultHeader from "@/static/images/user/default-header.png"; import { getEnvObj, getWebViewUrl @@ -252,7 +252,7 @@ left: 0; width: 100%; height: 100%; background: url("@/static/images/user/userbg.svg") no-repeat ; background-image: url("../../../static/images/user/userbg.svg") no-repeat ; background-size: 100%; } .avatarBox { uniapps/work-wx/src/subPackages/userDetail/password/index.vue
@@ -1,6 +1,6 @@ <!-- 修改密码 --> <template> <view class="container"> <view class="user-password"> <view class="pageBg"></view> <view class="detailBox"> <div class="detailCon"> @@ -20,7 +20,7 @@ <div class="orderRow"> <div class="rowTitle">验证码</div> <input type="text" v-model="passwordForm.code" placeholder="请输入验证码" class="input-item" /> <u-button class="getCode" :disabled="countDown > 0" @click="sendVerificationCode" type="primary" color="#007AFF"> <u-button :disabled="countDown > 0" @click="sendVerificationCode" type="primary" color="#007AFF"> {{ countDown > 0 ? `${countDown}s后重发` : '获取验证码' }} </u-button> </div> @@ -34,6 +34,7 @@ </template> <script setup> import userbgSvg from "@/static/images/user/userbg.svg"; import { useUserStore } from "@/store/index.js"; @@ -246,22 +247,20 @@ </script> <style lang="scss" scoped> .container { .user-password { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; position: relative; } .pageBg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url("@/static/images/user/userbg.svg") no-repeat ; background-image: url("https://wrj.shuixiongit.com/aiskyminio/cloud-bucket/ztzf_app_assets/images/user/bg.png"); background-size: 100%; } @@ -340,6 +339,10 @@ background: #e0e0e0; color: #999; } :deep(.u-button){ width: 180rpx !important; height: 60rpx !important; } } } @@ -347,6 +350,10 @@ display: flex; position: absolute; bottom: 150rpx; :deep(.u-button){ width: 276rpx !important; height: 100rpx !important; } } :deep(.u-button:first-child) { @@ -360,12 +367,5 @@ font-weight: 400; font-size: 36rpx; } :deep(.u-button.data-v-461e713c){ width: 276rpx !important; height: 100rpx !important; } .getCode { margin-left: 20rpx; width: 180rpx; } </style> uniapps/work-wx/src/subPackages/workDetail/addWork/index.vue
File was deleted uniapps/work-wx/src/subPackages/workDetail/index.vue
File was deleted uniapps/work-wx/src/subPackages/workDetail/mapWork/index.vue
File was deleted uniapps/work-wx/src/subPackages/workDetail/photoMagnify/index.vue
File was deleted