commit 63ce526195cc2bdef9ced99a55cbdb825eed84d4
Author: cheng <545895878@qq.com>
Date: Thu Sep 3 22:21:38 2026 +0800
first commit
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..b6a9009
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = tab
+indent_size = 4
+trim_trailing_whitespace = true
+insert_final_newline = true
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f0cf1f3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+unpackage/
+.DS_Store
+.hbuilderx/
diff --git a/App.uvue b/App.uvue
new file mode 100644
index 0000000..ce00f5b
--- /dev/null
+++ b/App.uvue
@@ -0,0 +1,51 @@
+
+
+
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..fef3e89
--- /dev/null
+++ b/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/main.uts b/main.uts
new file mode 100644
index 0000000..ae3f475
--- /dev/null
+++ b/main.uts
@@ -0,0 +1,9 @@
+import App from './App.uvue'
+
+import { createSSRApp } from 'vue'
+export function createApp() {
+ const app = createSSRApp(App)
+ return {
+ app
+ }
+}
diff --git a/manifest.json b/manifest.json
new file mode 100644
index 0000000..96b48c5
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1,68 @@
+{
+ "name" : "yaokongqi",
+ "appid" : "__UNI__DD44C1A",
+ "description" : "",
+ "versionName" : "1.0.0",
+ "versionCode" : "100",
+ "uni-app-x" : {
+ "styleIsolationVersion" : "2"
+ },
+ /* 快应用特有相关 */
+ "quickapp" : {},
+ /* 小程序特有相关 */
+ "mp-weixin" : {
+ "appid" : "",
+ "setting" : {
+ "urlCheck" : false
+ },
+ "usingComponents" : true
+ },
+ "mp-alipay" : {
+ "usingComponents" : true
+ },
+ "mp-baidu" : {
+ "usingComponents" : true
+ },
+ "mp-toutiao" : {
+ "usingComponents" : true
+ },
+ "uniStatistics" : {
+ "enable" : false
+ },
+ "vueVersion" : "3",
+ "app" : {
+ "distribute" : {
+ "icons" : {
+ "android" : {
+ "hdpi" : "",
+ "xhdpi" : "",
+ "xxhdpi" : "",
+ "xxxhdpi" : ""
+ }
+ }
+ }
+ },
+ "app-android" : {
+ "distribute" : {
+ "modules" : {},
+ "screenOrientation" : [ "landscape-primary", "landscape-secondary" ],
+ "icons" : {
+ "hdpi" : "",
+ "xhdpi" : "",
+ "xxhdpi" : "",
+ "xxxhdpi" : ""
+ },
+ "splashScreens" : {
+ "default" : {}
+ }
+ }
+ },
+ "app-ios" : {
+ "screenOrientation" : [ "landscape-primary", "landscape-secondary" ],
+ "distribute" : {
+ "modules" : {},
+ "icons" : {},
+ "splashScreens" : {}
+ }
+ }
+}
diff --git a/pages.json b/pages.json
new file mode 100644
index 0000000..9cd9917
--- /dev/null
+++ b/pages.json
@@ -0,0 +1,39 @@
+{
+ "pages": [ //pages数组中第一项表示应用启动页,参考:https://doc.dcloud.net.cn/uni-app-x/collocation/pagesjson.html
+ {
+ "path": "pages/login-guide/login-guide",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "登录引导",
+ "pageOrientation": "landscape",
+ "hideStatusBar": true
+ }
+ },
+ {
+ "path": "pages/activate-device/activate-device",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "添加设备",
+ "pageOrientation": "landscape",
+ "hideStatusBar": true
+ }
+ },
+ {
+ "path": "pages/index/index",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "首页",
+ "pageOrientation": "landscape",
+ "hideStatusBar": true
+ }
+ }
+ ],
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "uni-app x",
+ "navigationBarBackgroundColor": "#F8F8F8",
+ "backgroundColor": "#F8F8F8",
+ "pageOrientation": "landscape"
+ },
+ "uniIdRouter": {}
+}
diff --git a/pages/activate-device/activate-device.uvue b/pages/activate-device/activate-device.uvue
new file mode 100644
index 0000000..d1741b7
--- /dev/null
+++ b/pages/activate-device/activate-device.uvue
@@ -0,0 +1,1119 @@
+
+
+
+
+
+
+
+
+
+
+
+ 文件
+ 点击查看文件
+
+
+
+
+
+
+ 空间
+ 点击查看空间
+
+
+
+
+ 航线
+ 点击查看航线
+
+
+
+
+ 文件
+ 点击查看文件
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ deviceNameDisplay }}
+
+
+
+ 720 h
+ 行驶时长
+
+
+ 720 km
+ 行驶里程
+
+
+ 720 次
+ 行驶次数
+
+
+
+ 正在激活
+
+
+
+
+
+
+ 正在激活中...
+
+
+ {{ activateBtnState === 'add' ? '添加设备' : (activateBtnState === 'activate' ? '激活设备' : '开始使用') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无人车
+
+
+ 无人机
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
+
+
+ 拼音键盘
+ ✕
+
+
+
+ {{ k }}
+
+
+ {{ k }}
+
+
+ {{ k }}
+
+
+
+ {{ k }}
+ 空格
+ ⌫
+ 确认
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/index/index.uvue b/pages/index/index.uvue
new file mode 100644
index 0000000..f939965
--- /dev/null
+++ b/pages/index/index.uvue
@@ -0,0 +1,24 @@
+
+
+
+ {{title}}
+
+
+
+
+
+
diff --git a/pages/login-guide/login-guide.uvue b/pages/login-guide/login-guide.uvue
new file mode 100644
index 0000000..b3ee041
--- /dev/null
+++ b/pages/login-guide/login-guide.uvue
@@ -0,0 +1,715 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 虚拟体验
+
+
+
+
+
+
+ 立即登陆
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 账号密码登录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ smsBtnText }}
+
+
+
+
+
+ 注册或登录
+
+
+
+
+
+
+
+
+
+
diff --git a/platformConfig.json b/platformConfig.json
new file mode 100644
index 0000000..45f0c59
--- /dev/null
+++ b/platformConfig.json
@@ -0,0 +1,6 @@
+// 参考链接 https://doc.dcloud.net.cn/uni-app-x/tutorial/ls-plugin.html#setting
+{
+ "targets": [
+ "APP-ANDROID"
+ ]
+}
diff --git a/static/activate/add_device_car.png b/static/activate/add_device_car.png
new file mode 100644
index 0000000..c9201ca
Binary files /dev/null and b/static/activate/add_device_car.png differ
diff --git a/static/activate/add_device_uav.png b/static/activate/add_device_uav.png
new file mode 100644
index 0000000..7895fc6
Binary files /dev/null and b/static/activate/add_device_uav.png differ
diff --git a/static/activate/avatar.png b/static/activate/avatar.png
new file mode 100644
index 0000000..dc1eb84
Binary files /dev/null and b/static/activate/avatar.png differ
diff --git a/static/activate/battery-ring.png b/static/activate/battery-ring.png
new file mode 100644
index 0000000..282ac9a
Binary files /dev/null and b/static/activate/battery-ring.png differ
diff --git a/static/activate/device-view.png b/static/activate/device-view.png
new file mode 100644
index 0000000..7895fc6
Binary files /dev/null and b/static/activate/device-view.png differ
diff --git a/static/activate/icon-file.png b/static/activate/icon-file.png
new file mode 100644
index 0000000..883f687
Binary files /dev/null and b/static/activate/icon-file.png differ
diff --git a/static/activate/icon-menu.png b/static/activate/icon-menu.png
new file mode 100644
index 0000000..80a16d6
Binary files /dev/null and b/static/activate/icon-menu.png differ
diff --git a/static/activate/icon-route.png b/static/activate/icon-route.png
new file mode 100644
index 0000000..9a29c5e
Binary files /dev/null and b/static/activate/icon-route.png differ
diff --git a/static/activate/preview-main.png b/static/activate/preview-main.png
new file mode 100644
index 0000000..744dd1a
Binary files /dev/null and b/static/activate/preview-main.png differ
diff --git a/static/activate/progress-bar.png b/static/activate/progress-bar.png
new file mode 100644
index 0000000..784d4e2
Binary files /dev/null and b/static/activate/progress-bar.png differ
diff --git a/static/icons/deco-dots.png b/static/icons/deco-dots.png
new file mode 100644
index 0000000..784d4e2
Binary files /dev/null and b/static/icons/deco-dots.png differ
diff --git a/static/icons/icon-login.png b/static/icons/icon-login.png
new file mode 100644
index 0000000..b0b3216
Binary files /dev/null and b/static/icons/icon-login.png differ
diff --git a/static/icons/icon-virtual.png b/static/icons/icon-virtual.png
new file mode 100644
index 0000000..edba263
Binary files /dev/null and b/static/icons/icon-virtual.png differ
diff --git a/static/icons/status-bluetooth.png b/static/icons/status-bluetooth.png
new file mode 100644
index 0000000..87653bf
Binary files /dev/null and b/static/icons/status-bluetooth.png differ
diff --git a/static/icons/status-cellular.png b/static/icons/status-cellular.png
new file mode 100644
index 0000000..19a5313
Binary files /dev/null and b/static/icons/status-cellular.png differ
diff --git a/static/icons/status-wifi.png b/static/icons/status-wifi.png
new file mode 100644
index 0000000..6f5bb63
Binary files /dev/null and b/static/icons/status-wifi.png differ
diff --git a/static/images/bg-main.png b/static/images/bg-main.png
new file mode 100644
index 0000000..f88d12e
Binary files /dev/null and b/static/images/bg-main.png differ
diff --git a/static/images/bg-top-right.png b/static/images/bg-top-right.png
new file mode 100644
index 0000000..fbc4ca6
Binary files /dev/null and b/static/images/bg-top-right.png differ
diff --git a/static/images/img-login.png b/static/images/img-login.png
new file mode 100644
index 0000000..d6aea9f
Binary files /dev/null and b/static/images/img-login.png differ
diff --git a/static/images/img-virtual.png b/static/images/img-virtual.png
new file mode 100644
index 0000000..1acf58f
Binary files /dev/null and b/static/images/img-virtual.png differ
diff --git a/static/images/login-banner.png b/static/images/login-banner.png
new file mode 100644
index 0000000..c9201ca
Binary files /dev/null and b/static/images/login-banner.png differ
diff --git a/static/logo.png b/static/logo.png
new file mode 100644
index 0000000..b5771e2
Binary files /dev/null and b/static/logo.png differ
diff --git a/uni.scss b/uni.scss
new file mode 100644
index 0000000..b9249e9
--- /dev/null
+++ b/uni.scss
@@ -0,0 +1,76 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+
+/* 颜色变量 */
+
+/* 行为相关颜色 */
+$uni-color-primary: #007aff;
+$uni-color-success: #4cd964;
+$uni-color-warning: #f0ad4e;
+$uni-color-error: #dd524d;
+
+/* 文字基本颜色 */
+$uni-text-color:#333;//基本色
+$uni-text-color-inverse:#fff;//反色
+$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息
+$uni-text-color-placeholder: #808080;
+$uni-text-color-disable:#c0c0c0;
+
+/* 背景颜色 */
+$uni-bg-color:#ffffff;
+$uni-bg-color-grey:#f8f8f8;
+$uni-bg-color-hover:#f1f1f1;//点击状态颜色
+$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
+
+/* 边框颜色 */
+$uni-border-color:#c8c7cc;
+
+/* 尺寸变量 */
+
+/* 文字尺寸 */
+$uni-font-size-sm:12px;
+$uni-font-size-base:14px;
+$uni-font-size-lg:16px;
+
+/* 图片尺寸 */
+$uni-img-size-sm:20px;
+$uni-img-size-base:26px;
+$uni-img-size-lg:40px;
+
+/* Border Radius */
+$uni-border-radius-sm: 2px;
+$uni-border-radius-base: 3px;
+$uni-border-radius-lg: 6px;
+$uni-border-radius-circle: 50%;
+
+/* 水平间距 */
+$uni-spacing-row-sm: 5px;
+$uni-spacing-row-base: 10px;
+$uni-spacing-row-lg: 15px;
+
+/* 垂直间距 */
+$uni-spacing-col-sm: 4px;
+$uni-spacing-col-base: 8px;
+$uni-spacing-col-lg: 12px;
+
+/* 透明度 */
+$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
+
+/* 文章场景相关 */
+$uni-color-title: #2C405A; // 文章标题颜色
+$uni-font-size-title:20px;
+$uni-color-subtitle: #555555; // 二级标题颜色
+$uni-font-size-subtitle:26px;
+$uni-color-paragraph: #3F536E; // 文章段落颜色
+$uni-font-size-paragraph:15px;