This commit is contained in:
kron
2025-11-25 15:02:13 +08:00
commit 4d470ea44a
13 changed files with 11508 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
unpackage
dist
node_modules
.DS_Store

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSUserTrackingUsageDescription</key>
<string>We use tracking to analyze in-app clicks and usage to continuously improve the product experience.</string>
</dict>
</plist>

7857
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

24
package.json Normal file
View File

@@ -0,0 +1,24 @@
{
"name": "arcx-app",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev:app": "uni -p app",
"dev:android": "uni -p app-android",
"dev:ios": "uni -p app-ios",
"build:app": "uni build -p app",
"build:android": "uni build -p app-android",
"build:ios": "uni build -p app-ios"
},
"dependencies": {
"@dcloudio/uni-app": "^3.0.0-4080420251103001",
"@dcloudio/uni-app-plus": "^3.0.0-4080420251103001",
"vue": "^3.4.27"
},
"devDependencies": {
"@dcloudio/types": "latest",
"@dcloudio/vite-plugin-uni": "3.0.0-4020320240708001",
"vite": "^5.2.8"
}
}

View File

@@ -0,0 +1,10 @@
{
"version" : "1.0",
"configurations" : [
{
"customPlaygroundType" : "local",
"playground" : "custom",
"type" : "uni-app:app-ios_simulator"
}
]
}

6
src/App.vue Normal file
View File

@@ -0,0 +1,6 @@
<template>
<App>
<slot />
</App>
</template>

10
src/main.js Normal file
View File

@@ -0,0 +1,10 @@
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}

96
src/manifest.json Normal file
View File

@@ -0,0 +1,96 @@
{
"name" : "ARCX",
"appid" : "__UNI__8A880C6",
"description" : "ARCX for iOS & Android",
"versionName" : "0.1.1",
"versionCode" : 101,
"transformPx" : false,
"app-plus" : {
"screenOrientation" : [ "portrait-primary" ],
"splashscreen" : {
"autoclose" : true,
"waiting" : true
},
"compatible" : {
"ignoreVersion" : true
},
"modules" : {},
"distribute" : {
"android" : {
"packagename" : "com.pointbook.app",
"keystore" : "__ASK__:absolute/path/to/your.keystore",
"password" : "__ASK__:keystore_password",
"aliasname" : "__ASK__:key_alias",
"minSdkVersion" : 21,
"targetSdkVersion" : 34,
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ],
"custompermissions" : true,
"permissions" : [],
"permissionExternalStorage" : {
"request" : "once",
"prompt" : "Storage access is required to save app data"
},
"permissionPhoneState" : {
"request" : "none",
"prompt" : ""
}
},
"ios" : {
"appid" : "com.shelingxingqiu.arcx",
"devices" : "iphone",
"deploymentTarget" : "13.0",
"mobileprovision" : "/Users/makaihong/Projects/point-book-app/DistributeProfile.mobileprovision",
"p12" : "/Users/makaihong/Projects/point-book-app/Distribute_pwd_123456.p12",
"password" : "123456",
"urltypes" : [
{
"urlschemes" : [ "pointbook" ],
"id" : "com.pointbook.scheme"
}
],
"privacyDescription" : {
"NSCameraUsageDescription" : "Camera access is required for taking photos and scanning",
"NSMicrophoneUsageDescription" : "Microphone access is required for recording and calls",
"NSPhotoLibraryUsageDescription" : "Photo library access is required to select images",
"NSPhotoLibraryAddUsageDescription" : "Photo library write permission is required to save images",
"NSLocationWhenInUseUsageDescription" : "Location access is required to provide location-based features",
"NSUserTrackingUsageDescription" : "We use tracking to analyze in-app clicks and usage to continuously improve the product experience."
},
"dSYMs" : false
},
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
},
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
}
}
},
"vueVersion" : "3"
}

25
src/pages.json Normal file
View File

@@ -0,0 +1,25 @@
{
"pages": [
{
"path": "pages/index",
"style": {
"navigationBarTitleText": "ARCX"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#2c3e50",
"backgroundColor": "#ffffff"
},
"condition": {
"current": 0,
"list": [
{
"name": "",
"path": "",
"query": ""
}
]
}
}

16
src/pages/index.vue Normal file
View File

@@ -0,0 +1,16 @@
<template>
<view class="container">
<text>你好uni-app iOS/Android</text>
</view>
</template>
<script setup>
// 空脚本,保留最小体积
</script>
<style>
.container {
padding: 24rpx;
}
</style>

BIN
src/static/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

8
vite.config.cjs Normal file
View File

@@ -0,0 +1,8 @@
const { defineConfig } = require('vite')
const uni = require('@dcloudio/vite-plugin-uni').default
module.exports = defineConfig({
plugins: [
...uni()
]
})

3444
yarn.lock Normal file

File diff suppressed because it is too large Load Diff