Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
德宏大魔王
uni-starter
提交
68a951a1
U
uni-starter
项目概览
德宏大魔王
/
uni-starter
与 Fork 源项目一致
Fork自
DCloud / uni-starter
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-starter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
68a951a1
编写于
8月 30, 2021
作者:
DCloud_JSON
提交者:
study夏羽
9月 16, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 解决3.2.6以下版本hbuilderx,编译的项目报不存在的问题
上级
7b592f92
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
275 addition
and
270 deletion
+275
-270
changelog.md
changelog.md
+2
-0
manifest.json
manifest.json
+1
-1
package.json
package.json
+2
-3
pages/ucenter/settings/settings.vue
pages/ucenter/settings/settings.vue
+4
-2
uniCloud-aliyun/cloudfunctions/redis-test/index.js
uniCloud-aliyun/cloudfunctions/redis-test/index.js
+11
-0
uniCloud-aliyun/cloudfunctions/redis-test/package.json
uniCloud-aliyun/cloudfunctions/redis-test/package.json
+10
-0
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/package.json
...loud/cloudfunctions/common/uni-config-center/package.json
+9
-8
uni_modules_tools/copy/manifest.json
uni_modules_tools/copy/manifest.json
+184
-204
uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
...loudfunctions/common/uni-config-center/uni-id/config.json
+52
-52
未找到文件。
changelog.md
浏览文件 @
68a951a1
## 1.1.1(2021-08-30)
-
解决3.2.6以下版本hbuilderx,编译的项目报
`uni.setLocale`
不存在的问题
## 1.1.0(2021-08-27)
## 1.1.0(2021-08-27)
-
APP端支持vue3 (hbuilderx 3.2.5+)
-
APP端支持vue3 (hbuilderx 3.2.5+)
-
支持国际化 中英文切换
-
支持国际化 中英文切换
...
...
manifest.json
浏览文件 @
68a951a1
package.json
浏览文件 @
68a951a1
{
{
"id"
:
"uni-starter"
,
"id"
:
"uni-starter"
,
"displayName"
:
"uni-starter"
,
"displayName"
:
"uni-starter"
,
"version"
:
"1.1.
0
"
,
"version"
:
"1.1.
1
"
,
"description"
:
"云端一体应用快速开发基本项目模版"
,
"description"
:
"云端一体应用快速开发基本项目模版"
,
"keywords"
:
[
"keywords"
:
[
"login"
,
"login"
,
...
@@ -81,6 +81,5 @@
...
@@ -81,6 +81,5 @@
}
}
}
}
},
},
"dependencies"
:
{
"dependencies"
:
{}
}
}
}
pages/ucenter/settings/settings.vue
浏览文件 @
68a951a1
...
@@ -260,7 +260,9 @@
...
@@ -260,7 +260,9 @@
uni
.
setStorageSync
(
'
CURRENT_LANG
'
,
language
)
uni
.
setStorageSync
(
'
CURRENT_LANG
'
,
language
)
getApp
().
$i18n
.
locale
=
language
getApp
().
$i18n
.
locale
=
language
this
.
currentLanguage
=
res
.
tapIndex
?
'
简体中文
'
:
'
English
'
this
.
currentLanguage
=
res
.
tapIndex
?
'
简体中文
'
:
'
English
'
if
(
uni
.
setLocale
){
uni
.
setLocale
(
language
)
uni
.
setLocale
(
language
)
}
uni
.
reLaunch
({
uni
.
reLaunch
({
url
:
'
/pages/list/list
'
,
url
:
'
/pages/list/list
'
,
complete
:
()
=>
{
complete
:
()
=>
{
...
...
uniCloud-aliyun/cloudfunctions/redis-test/index.js
0 → 100644
浏览文件 @
68a951a1
// 简单的使用示例
'
use strict
'
;
const
redis
=
uniCloud
.
redis
()
exports
.
main
=
async
(
event
,
context
)
=>
{
const
getResult
=
await
redis
.
get
(
'
my-key
'
)
const
setResult
=
await
redis
.
set
(
'
my-key
'
,
'
value-test
'
)
return
{
getResult
,
setResult
}
};
uniCloud-aliyun/cloudfunctions/redis-test/package.json
0 → 100644
浏览文件 @
68a951a1
{
"name"
:
"redis-test"
,
"version"
:
"1.0.0"
,
"description"
:
""
,
"main"
:
"index.js"
,
"extensions"
:
{
"uni-cloud-redis"
:
{}
},
"author"
:
""
}
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/package.json
浏览文件 @
68a951a1
{
{
"name"
:
"uni-config-center"
,
"name"
:
"uni-config-center"
,
"version"
:
"0.0.2"
,
"version"
:
"0.0.2"
,
"description"
:
"配置中心"
,
"description"
:
"配置中心"
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"keywords"
:
[],
"keywords"
:
[],
"author"
:
"DCloud"
,
"author"
:
"DCloud"
,
"license"
:
"Apache-2.0"
"license"
:
"Apache-2.0"
,
"dependencies"
:
null
}
}
uni_modules_tools/copy/manifest.json
浏览文件 @
68a951a1
{
{
"name"
:
"统一应用基本项目"
,
"name"
:
"统一应用基本项目"
,
"appid"
:
"请点击重新获取
"
,
"appid"
:
"__UNI__E5373F7
"
,
"description"
:
"云端一体应用快速开发模版"
,
"description"
:
"云端一体应用快速开发模版"
,
"versionName"
:
"1.0.0"
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
"100"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"app-plus"
:
{
"app-plus"
:
{
"locales"
:
{
"locales"
:
{
"en"
:
{
"en"
:
{
//
英文
//
英文
"name"
:
"uni-starter"
,
//
应用名称
"name"
:
"uni-starter"
,
//
应用名称
"android"
:
{
"android"
:
{
"strings"
:
{
"strings"
:
{
//Android平台自定义字符串
//Android平台自定义字符串
"CustomKey"
:
"CustomValue"
"CustomKey"
:
"CustomValue"
}
}
},
},
"ios"
:
{
"ios"
:
{
"privacyDescription"
:
{
"privacyDescription"
:
{
//iOS平台隐私访问描述信息
//iOS平台隐私访问描述信息
"NSPhotoLibraryUsageDescription"
:
"access to the user’s photo library(read)"
"NSPhotoLibraryUsageDescription"
:
"access to the user’s photo library(read)"
},
},
"infoPlist"
:
{
"infoPlist"
:
{
//iOS平台自定义InfoPlist.strings
//iOS平台自定义InfoPlist.strings
"CustomKey"
:
"CustomValue"
"CustomKey"
:
"CustomValue"
}
}
}
}
},
},
"zh"
:
{
"zh"
:
{
//
中文(简体)
//
中文(简体)
"name"
:
"统一应用基本项目"
//
应用名称
"name"
:
"统一应用基本项目"
//
应用名称
}
}
},
},
"privacy"
:
{
"privacy"
:
{
"prompt"
:
"template"
,
"prompt"
:
"template"
,
"template"
:
{
"template"
:
{
"title"
:
"服务协议和隐私政策"
,
"title"
:
"服务协议和隐私政策"
,
"message"
:
" 请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href=
\"
https://ask.dcloud.net.cn/protocol.html
\"
>《服务协议》</a>和<a href=
\"
https://ask.dcloud.net.cn/protocol.html
\"
>《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。"
,
"message"
:
" 请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href=
\"
https://ask.dcloud.net.cn/protocol.html
\"
>《服务协议》</a>和<a href=
\"
https://ask.dcloud.net.cn/protocol.html
\"
>《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。"
,
"buttonAccept"
:
"同意"
,
"buttonAccept"
:
"同意"
,
"buttonRefuse"
:
"暂不同意"
"buttonRefuse"
:
"暂不同意"
}
}
},
},
"compatible"
:
{
"compatible"
:
{
"ignoreVersion"
:
true
"ignoreVersion"
:
true
},
},
"usingComponents"
:
true
,
"usingComponents"
:
true
,
"nvueStyleCompiler"
:
"uni-app"
,
"nvueStyleCompiler"
:
"uni-app"
,
"compilerVersion"
:
3
,
"compilerVersion"
:
3
,
"splashscreen"
:
{
"splashscreen"
:
{
"alwaysShowBeforeRender"
:
false
,
"alwaysShowBeforeRender"
:
false
,
"waiting"
:
true
,
"waiting"
:
true
,
"autoclose"
:
true
,
"autoclose"
:
true
,
"delay"
:
0
"delay"
:
0
},
},
"modules"
:
{
"modules"
:
{
"Fingerprint"
:
{
"Fingerprint"
:
{},
},
"Share"
:
{},
"Share"
:
{
"OAuth"
:
{},
},
"FaceID"
:
{},
"OAuth"
:
{
"Push"
:
{},
},
"Geolocation"
:
{}
"FaceID"
:
{
},
},
"distribute"
:
{
"Push"
:
{
"android"
:
{
},
"permissions"
:
[
"Geolocation"
:
{
}
},
"distribute"
:
{
"android"
:
{
"permissions"
:
[
"<uses-feature android:name=
\"
android.hardware.camera
\"
/>"
,
"<uses-feature android:name=
\"
android.hardware.camera
\"
/>"
,
"<uses-feature android:name=
\"
android.hardware.camera.autofocus
\"
/>"
,
"<uses-feature android:name=
\"
android.hardware.camera.autofocus
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.ACCESS_NETWORK_STATE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.ACCESS_NETWORK_STATE
\"
/>"
,
...
@@ -87,138 +81,124 @@
...
@@ -87,138 +81,124 @@
"<uses-permission android:name=
\"
android.permission.WAKE_LOCK
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.WAKE_LOCK
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.WRITE_SETTINGS
\"
/>"
"<uses-permission android:name=
\"
android.permission.WRITE_SETTINGS
\"
/>"
],
],
"abiFilters"
:
[
"abiFilters"
:
[
"armeabi-v7a"
,
"arm64-v8a"
,
"x86"
]
"armeabi-v7a"
,
"arm64-v8a"
,
"x86"
]
},
},
"ios"
:
{
"ios"
:
{
"capabilities"
:
{
"capabilities"
:
{
"entitlements"
:
{
"entitlements"
:
{
"com.apple.developer.associated-domains"
:
[
"com.apple.developer.associated-domains"
:
[
"applinks:static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com"
]
"applinks:static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com"
]
}
}
}
}
},
},
"sdkConfigs"
:
{
"sdkConfigs"
:
{
"oauth"
:
{
"oauth"
:
{
"apple"
:
{
"apple"
:
{},
},
"weixin"
:
{
"weixin"
:
{
"appid"
:
"wxffdd8fa6ec4ef2a0"
,
"appid"
:
""
,
"appsecret"
:
""
,
"appsecret"
:
""
,
"UniversalLinks"
:
""
"UniversalLinks"
:
""
},
"univerify"
:
{
}
},
},
"ad"
:
{
"univerify"
:
{}
},
},
"share"
:
{
"ad"
:
{},
"weixin"
:
{
"share"
:
{
"appid"
:
""
,
"weixin"
:
{
"UniversalLinks"
:
""
"appid"
:
"wxffdd8fa6ec4ef2a0"
,
"UniversalLinks"
:
""
}
}
},
},
"geolocation"
:
{
"geolocation"
:
{
"baidu"
:
{
"baidu"
:
{
"__platform__"
:
[
"__platform__"
:
[
"ios"
,
"android"
],
"ios"
,
"appkey_ios"
:
"请填写地图的key"
,
"android"
"appkey_android"
:
"请填写地图的key"
],
"appkey_ios"
:
"请填写地图的key"
,
"appkey_android"
:
"请填写地图的key"
}
}
},
},
"push"
:
{
"push"
:
{
"unipush"
:
{
"unipush"
:
{}
}
},
},
"payment"
:
{
"payment"
:
{}
}
},
},
"icons"
:
{
"icons"
:
{
"android"
:
{
"android"
:
{
"hdpi"
:
""
,
"hdpi"
:
""
,
"xhdpi"
:
""
,
"xhdpi"
:
""
,
"xxhdpi"
:
""
,
"xxhdpi"
:
""
,
"xxxhdpi"
:
""
"xxxhdpi"
:
""
},
},
"ios"
:
{
"ios"
:
{
"appstore"
:
""
,
"appstore"
:
""
,
"ipad"
:
{
"ipad"
:
{
"app"
:
""
,
"app"
:
""
,
"app@2x"
:
""
,
"app@2x"
:
""
,
"notification"
:
""
,
"notification"
:
""
,
"notification@2x"
:
""
,
"notification@2x"
:
""
,
"proapp@2x"
:
""
,
"proapp@2x"
:
""
,
"settings"
:
""
,
"settings"
:
""
,
"settings@2x"
:
""
,
"settings@2x"
:
""
,
"spotlight"
:
""
,
"spotlight"
:
""
,
"spotlight@2x"
:
""
"spotlight@2x"
:
""
},
},
"iphone"
:
{
"iphone"
:
{
"app@2x"
:
""
,
"app@2x"
:
""
,
"app@3x"
:
""
,
"app@3x"
:
""
,
"notification@2x"
:
""
,
"notification@2x"
:
""
,
"notification@3x"
:
""
,
"notification@3x"
:
""
,
"settings@2x"
:
""
,
"settings@2x"
:
""
,
"settings@3x"
:
""
,
"settings@3x"
:
""
,
"spotlight@2x"
:
""
,
"spotlight@2x"
:
""
,
"spotlight@3x"
:
""
"spotlight@3x"
:
""
}
}
}
}
},
},
"splashscreen"
:
{
"splashscreen"
:
{
"iosStyle"
:
"common"
,
"iosStyle"
:
"common"
,
"androidStyle"
:
"common"
"androidStyle"
:
"common"
}
}
},
},
"nvueLaunchMode"
:
""
"nvueLaunchMode"
:
""
},
"quickapp"
:
{
},
},
"mp-weixin"
:
{
"quickapp"
:
{},
"appid"
:
""
,
"mp-weixin"
:
{
"setting"
:
{
"appid"
:
""
,
"urlCheck"
:
false
,
"setting"
:
{
"es6"
:
false
"urlCheck"
:
false
,
"es6"
:
false
},
},
"usingComponents"
:
true
,
"usingComponents"
:
true
,
"betterScopedSlots"
:
true
,
"betterScopedSlots"
:
true
,
"permission"
:
{
"permission"
:
{
"scope.userLocation"
:
{
"scope.userLocation"
:
{
"desc"
:
"演示在onShow生命周期获取地理位置"
"desc"
:
"演示在onShow生命周期获取地理位置"
}
}
}
}
},
},
"mp-alipay"
:
{
"mp-alipay"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"mp-baidu"
:
{
"mp-baidu"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"mp-toutiao"
:
{
"mp-toutiao"
:
{
"usingComponents"
:
true
"usingComponents"
:
true
},
},
"uniStatistics"
:
{
"uniStatistics"
:
{
"enable"
:
false
"enable"
:
false
},
},
"h5"
:
{
"h5"
:
{
"template"
:
""
,
"template"
:
""
,
"sdkConfigs"
:
{
"sdkConfigs"
:
{
"maps"
:
{
"maps"
:
{
"qqmap"
:
{
"qqmap"
:
{
"key"
:
""
"key"
:
""
}
}
}
}
}
}
},
},
"_spaceID"
:
""
,
"_spaceID"
:
""
,
"vueVersion"
:
"2"
"vueVersion"
:
"2"
}
}
//...
//...
//
中文(简体)
//
中文(简体)
//
应用名称
//
应用名称
uni_modules_tools/copy/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-id/config.json
浏览文件 @
68a951a1
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
"tokenExpiresIn"
:
2592000
,
"tokenExpiresIn"
:
2592000
,
"oauth"
:
{
"oauth"
:
{
"weixin"
:
{
"weixin"
:
{
"appid"
:
"填写来源微信开放平台https://open.weixin.qq.com/创建的应用的appid"
,
"appid"
:
"wxffdd8fa6ec4ef2a0"
,
"appsecret"
:
"填写来源微信开放平台https://open.weixin.qq.com/创建的应用的appsecret"
"appsecret"
:
"6c9119430d7be0a147bcbbb73ef33acf"
},
},
"apple"
:
{
"apple"
:
{
"bundleId"
:
"苹果开发者后台获取的bundleId"
"bundleId"
:
"苹果开发者后台获取的bundleId"
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
"mp-weixin"
:
{
"mp-weixin"
:
{
"oauth"
:
{
"oauth"
:
{
"weixin"
:
{
"weixin"
:
{
"appid"
:
"微信小程序登录所用的appid、appsecret需要在对应的小程序管理控制台获取"
,
"appid"
:
"wx81dbb061d2258234"
,
"appsecret"
:
"微信小程序后台获取的appsecret"
"appsecret"
:
"51977820eb14cd71377d4048a1b4754e"
}
}
}
}
},
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录