Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
德宏大魔王
uni-starter
提交
285236c9
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看板
提交
285236c9
编写于
8月 11, 2022
作者:
DCloud_JSON
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 修复微信小程序绑定手机号失败的问题
上级
0ceaaaa4
变更
50
显示空白变更内容
内联
并排
Showing
50 changed file
with
4623 addition
and
4618 deletion
+4623
-4618
LICENSE
LICENSE
+201
-201
androidPrivacy.json
androidPrivacy.json
+3
-3
changelog.md
changelog.md
+227
-225
components/refreshBox/refreshBox.nvue
components/refreshBox/refreshBox.nvue
+95
-95
components/uni-agreements/uni-agreements.vue
components/uni-agreements/uni-agreements.vue
+79
-79
components/uni-bindMobileByMpWeixin/uni-bindMobileByMpWeixin.vue
...nts/uni-bindMobileByMpWeixin/uni-bindMobileByMpWeixin.vue
+1
-1
index.html
index.html
+19
-19
manifest.json
manifest.json
+70
-68
package.json
package.json
+86
-89
pages/common/webview/webview.vue
pages/common/webview/webview.vue
+39
-39
pages/list/search/search.nvue
pages/list/search/search.nvue
+505
-505
pages/ucenter/ucenter.vue
pages/ucenter/ucenter.vue
+458
-458
uni-starter.config.js
uni-starter.config.js
+92
-92
uni_modules/json-gps/changelog.md
uni_modules/json-gps/changelog.md
+2
-2
uni_modules/json-gps/package.json
uni_modules/json-gps/package.json
+75
-75
uni_modules/json-interceptor-chooseImage/changelog.md
uni_modules/json-interceptor-chooseImage/changelog.md
+6
-6
uni_modules/json-interceptor-chooseImage/js_sdk/main.js
uni_modules/json-interceptor-chooseImage/js_sdk/main.js
+69
-69
uni_modules/json-interceptor-chooseImage/package.json
uni_modules/json-interceptor-chooseImage/package.json
+75
-75
uni_modules/uni-calendar/changelog.md
uni_modules/uni-calendar/changelog.md
+12
-12
uni_modules/uni-calendar/package.json
uni_modules/uni-calendar/package.json
+87
-87
uni_modules/uni-captcha/uniCloud/cloudfunctions/uni-captcha-co/config.js
...-captcha/uniCloud/cloudfunctions/uni-captcha-co/config.js
+16
-16
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-ad/config.json
...loudfunctions/common/uni-config-center/uni-ad/config.json
+2
-2
uni_modules/uni-data-picker/components/uni-data-picker/config.json
...es/uni-data-picker/components/uni-data-picker/config.json
+12
-12
uni_modules/uni-datetime-picker/changelog.md
uni_modules/uni-datetime-picker/changelog.md
+85
-85
uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.js
...atetime-picker/components/uni-datetime-picker/calendar.js
+546
-546
uni_modules/uni-datetime-picker/package.json
uni_modules/uni-datetime-picker/package.json
+90
-90
uni_modules/uni-id-cf/changelog.md
uni_modules/uni-id-cf/changelog.md
+38
-38
uni_modules/uni-id-cf/uniCloud/cloudfunctions/uni-id-cf/package.json
.../uni-id-cf/uniCloud/cloudfunctions/uni-id-cf/package.json
+16
-16
uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/index.js
...les/uni-id/uniCloud/cloudfunctions/common/uni-id/index.js
+1
-1
uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package.json
...uni-id/uniCloud/cloudfunctions/common/uni-id/package.json
+15
-15
uni_modules/uni-image-menu/js_sdk/uni-image-menu.js
uni_modules/uni-image-menu/js_sdk/uni-image-menu.js
+168
-168
uni_modules/uni-image-menu/package.json
uni_modules/uni-image-menu/package.json
+75
-75
uni_modules/uni-image-menu/readme.md
uni_modules/uni-image-menu/readme.md
+18
-18
uni_modules/uni-nav-bar/changelog.md
uni_modules/uni-nav-bar/changelog.md
+37
-37
uni_modules/uni-nav-bar/package.json
uni_modules/uni-nav-bar/package.json
+88
-88
uni_modules/uni-popup/changelog.md
uni_modules/uni-popup/changelog.md
+54
-54
uni_modules/uni-popup/package.json
uni_modules/uni-popup/package.json
+90
-90
uni_modules/uni-scss/manifest.json
uni_modules/uni-scss/manifest.json
+95
-95
uni_modules/uni-search-bar/readme.md
uni_modules/uni-search-bar/readme.md
+14
-14
uni_modules/uni-sign-in/changelog.md
uni_modules/uni-sign-in/changelog.md
+12
-12
uni_modules/uni-sign-in/package.json
uni_modules/uni-sign-in/package.json
+83
-83
uni_modules/uni-sign-in/readme.md
uni_modules/uni-sign-in/readme.md
+85
-85
uni_modules/uni-sign-in/uniCloud/cloudfunctions/rewarded-video-ad-notify-url/package.json
.../cloudfunctions/rewarded-video-ad-notify-url/package.json
+15
-15
uni_modules/uni-sign-in/uniCloud/cloudfunctions/uni-clientDB-actions/signIn.js
...in/uniCloud/cloudfunctions/uni-clientDB-actions/signIn.js
+89
-89
uni_modules/uni-sign-in/uniCloud/database/opendb-sign-in.schema.json
.../uni-sign-in/uniCloud/database/opendb-sign-in.schema.json
+40
-40
uni_modules/uni-sign-in/utils/ad.js
uni_modules/uni-sign-in/utils/ad.js
+252
-252
uni_modules/uni-ui/package.json
uni_modules/uni-ui/package.json
+127
-127
uni_modules/uni-ui/readme.md
uni_modules/uni-ui/readme.md
+247
-247
uni_modules_tools/config.js
uni_modules_tools/config.js
+1
-1
uni_modules_tools/main.js
uni_modules_tools/main.js
+11
-7
未找到文件。
LICENSE
浏览文件 @
285236c9
androidPrivacy.json
浏览文件 @
285236c9
changelog.md
浏览文件 @
285236c9
## 1.2.7(2022-08-10)
-
修复微信小程序绑定手机号失败的问题
## 1.2.6(2022-06-29)
-
支持 ios 安全区
## 1.2.5(2022-05-29)
...
...
components/refreshBox/refreshBox.nvue
浏览文件 @
285236c9
components/uni-agreements/uni-agreements.vue
浏览文件 @
285236c9
components/uni-bindMobileByMpWeixin/uni-bindMobileByMpWeixin.vue
浏览文件 @
285236c9
...
...
@@ -71,7 +71,7 @@
},
bindMobileByMpWeixin
(
e
)
{
console
.
log
(
e
.
detail
);
if
(
e
.
errMsg
==
"
getPhoneNumber:ok
"
){
if
(
e
.
detail
.
errMsg
==
"
getPhoneNumber:ok
"
){
uniCloud
.
callFunction
({
name
:
"
uni-id-cf
"
,
data
:
{
...
...
index.html
浏览文件 @
285236c9
manifest.json
浏览文件 @
285236c9
{
"name"
:
"uni-starter"
,
"appid"
:
"__UNI__EC87F46"
,
"description"
:
""
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
/*
5
+App特有相关
*/
"app-plus"
:
{
"usingComponents"
:
true
,
"nvueStyleCompiler"
:
"uni-app"
,
"compilerVersion"
:
3
,
"splashscreen"
:
{
"alwaysShowBeforeRender"
:
true
,
"waiting"
:
true
,
"autoclose"
:
true
,
"delay"
:
0
"name"
:
"uni-starter"
,
"appid"
:
"请点击重新获取"
,
"description"
:
""
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
"app-plus"
:
{
"usingComponents"
:
true
,
"nvueStyleCompiler"
:
"uni-app"
,
"compilerVersion"
:
3
,
"splashscreen"
:
{
"alwaysShowBeforeRender"
:
true
,
"waiting"
:
true
,
"autoclose"
:
true
,
"delay"
:
0
},
/*
模块配置
*/
"modules"
:
{},
/*
应用发布信息
*/
"distribute"
:
{
/*
android打包配置
*/
"android"
:
{
"permissions"
:
[
"modules"
:
{
},
"distribute"
:
{
"android"
:
{
"permissions"
:
[
"<uses-permission android:name=
\"
android.permission.CHANGE_NETWORK_STATE
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.MOUNT_UNMOUNT_FILESYSTEMS
\"
/>"
,
"<uses-permission android:name=
\"
android.permission.VIBRATE
\"
/>"
,
...
...
@@ -40,33 +37,38 @@
"<uses-permission android:name=
\"
android.permission.WRITE_SETTINGS
\"
/>"
]
},
/*
ios打包配置
*/
"ios"
:
{
},
/*
SDK配置
*/
"sdkConfigs"
:
{
}
"ios"
:
{
},
"sdkConfigs"
:
{
}
}
},
/*
快应用特有相关
*/
"quickapp"
:
{},
/*
小程序特有相关
*/
"mp-weixin"
:
{
"appid"
:
""
,
"setting"
:
{
"urlCheck"
:
false
"quickapp"
:
{
},
"usingComponents"
:
true
"mp-weixin"
:
{
"appid"
:
""
,
"setting"
:
{
"urlCheck"
:
false
},
"usingComponents"
:
true
,
"permission"
:
{
"scope.userLocation"
:
{
"desc"
:
"用于提供应用算法支持"
}
}
},
"mp-alipay"
:
{
"usingComponents"
:
true
"mp-alipay"
:
{
"usingComponents"
:
true
},
"mp-baidu"
:
{
"usingComponents"
:
true
"mp-baidu"
:
{
"usingComponents"
:
true
},
"mp-toutiao"
:
{
"usingComponents"
:
true
"mp-toutiao"
:
{
"usingComponents"
:
true
},
"uniStatistics"
:
{
"enable"
:
false
"uniStatistics"
:
{
"enable"
:
false
},
"vueVersion"
:
"2"
"vueVersion"
:
"2"
,
"_spaceID"
:
""
}
\ No newline at end of file
package.json
浏览文件 @
285236c9
{
"id"
:
"uni-starter"
,
"displayName"
:
"uni-starter"
,
"version"
:
"1.2.
6"
,
"version"
:
"1.2.
7"
,
"description"
:
"云端一体应用快速开发基本项目模版"
,
"keywords"
:
[
"login"
,
...
...
@@ -15,10 +15,6 @@
"HBuilderX"
:
"^3.2.6"
},
"dcloudext"
:
{
"category"
:
[
"uniCloud"
,
"云端一体项目模板"
],
"sale"
:
{
"regular"
:
{
"price"
:
"0.00"
...
...
@@ -35,7 +31,8 @@
"data"
:
"无"
,
"permissions"
:
"无"
},
"npmurl"
:
""
"npmurl"
:
""
,
"type"
:
"unicloud-template-project"
},
"uni_modules"
:
{
"dependencies"
:
[
...
...
pages/common/webview/webview.vue
浏览文件 @
285236c9
pages/list/search/search.nvue
浏览文件 @
285236c9
pages/ucenter/ucenter.vue
浏览文件 @
285236c9
uni-starter.config.js
浏览文件 @
285236c9
uni_modules/json-gps/changelog.md
浏览文件 @
285236c9
uni_modules/json-gps/package.json
浏览文件 @
285236c9
uni_modules/json-interceptor-chooseImage/changelog.md
浏览文件 @
285236c9
uni_modules/json-interceptor-chooseImage/js_sdk/main.js
浏览文件 @
285236c9
uni_modules/json-interceptor-chooseImage/package.json
浏览文件 @
285236c9
uni_modules/uni-calendar/changelog.md
浏览文件 @
285236c9
uni_modules/uni-calendar/package.json
浏览文件 @
285236c9
uni_modules/uni-captcha/uniCloud/cloudfunctions/uni-captcha-co/config.js
浏览文件 @
285236c9
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/uni-ad/config.json
浏览文件 @
285236c9
uni_modules/uni-data-picker/components/uni-data-picker/config.json
浏览文件 @
285236c9
uni_modules/uni-datetime-picker/changelog.md
浏览文件 @
285236c9
uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.js
浏览文件 @
285236c9
uni_modules/uni-datetime-picker/package.json
浏览文件 @
285236c9
uni_modules/uni-id-cf/changelog.md
浏览文件 @
285236c9
uni_modules/uni-id-cf/uniCloud/cloudfunctions/uni-id-cf/package.json
浏览文件 @
285236c9
uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/index.js
浏览文件 @
285236c9
uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package.json
浏览文件 @
285236c9
uni_modules/uni-image-menu/js_sdk/uni-image-menu.js
浏览文件 @
285236c9
uni_modules/uni-image-menu/package.json
浏览文件 @
285236c9
uni_modules/uni-image-menu/readme.md
浏览文件 @
285236c9
uni_modules/uni-nav-bar/changelog.md
浏览文件 @
285236c9
uni_modules/uni-nav-bar/package.json
浏览文件 @
285236c9
uni_modules/uni-popup/changelog.md
浏览文件 @
285236c9
uni_modules/uni-popup/package.json
浏览文件 @
285236c9
uni_modules/uni-scss/manifest.json
浏览文件 @
285236c9
uni_modules/uni-search-bar/readme.md
浏览文件 @
285236c9
uni_modules/uni-sign-in/changelog.md
浏览文件 @
285236c9
uni_modules/uni-sign-in/package.json
浏览文件 @
285236c9
uni_modules/uni-sign-in/readme.md
浏览文件 @
285236c9
uni_modules/uni-sign-in/uniCloud/cloudfunctions/rewarded-video-ad-notify-url/package.json
浏览文件 @
285236c9
uni_modules/uni-sign-in/uniCloud/cloudfunctions/uni-clientDB-actions/signIn.js
浏览文件 @
285236c9
uni_modules/uni-sign-in/uniCloud/database/opendb-sign-in.schema.json
浏览文件 @
285236c9
uni_modules/uni-sign-in/utils/ad.js
浏览文件 @
285236c9
uni_modules/uni-ui/package.json
浏览文件 @
285236c9
uni_modules/uni-ui/readme.md
浏览文件 @
285236c9
uni_modules_tools/config.js
浏览文件 @
285236c9
// "文件路径" : {"键名":"改成什么"}
{
"
/manifest.json
"
:
{
"
appid
"
:
"
请点击重新获取
"
,
//清空appid
"
appid
"
:
"
请点击重新获取
"
,
"
mp-weixin
"
:
{
"
appid
"
:
""
},
...
...
uni_modules_tools/main.js
浏览文件 @
285236c9
//脚本文件目录 __dirname
//运行脚本的目录,即:项目的目录 process.cwd()
//配置文件
const
fs
=
require
(
'
fs
'
),
Hjson
=
require
(
'
hjson
'
),
config
=
Hjson
.
rt
.
parse
(
fs
.
readFileSync
(
__dirname
+
'
/config.js
'
,
'
utf-8
'
))
const
change_after
=
require
(
'
./change_after
'
)
const
change_after
=
require
(
'
./change_after
'
)
if
(
process
.
argv
[
2
]
==
'
change
'
){
change
(
config
,()
=>
{
console
.
log
(
'
脚本change已经执行成功
'
);
...
...
@@ -26,7 +26,7 @@ function change(config,callback){
//保持原文件名先备份一份到/uni_modules_tools/copy目录下,然后再覆盖
writeFileRecursive
(
copyPath
,
fileText
,
function
(
err
)
{
//创建目录并写入文件
if
(
err
)
{
return
console
.
log
(
err
);
return
console
.
log
(
{
err
}
);
}
//改写
let
HfileObj
=
Hjson
.
rt
.
parse
(
fileText
)
...
...
@@ -56,11 +56,9 @@ function change(config,callback){
function
recovery
(){
let
paths
=
Object
.
keys
(
config
)
console
.
log
(
paths
);
paths
.
forEach
(
path
=>
{
console
.
log
(
__dirname
+
'
/copy
'
+
path
);
let
oldFile
=
fs
.
readFileSync
(
__dirname
+
'
/copy
'
+
path
)
console
.
log
(
process
.
cwd
()
+
path
);
fs
.
writeFile
(
process
.
cwd
()
+
path
,
oldFile
,
function
(
err
)
{
if
(
err
)
{
console
.
log
(
err
);
...
...
@@ -94,9 +92,15 @@ function writeFileRecursive(path, buffer, callback) {
function
mergeJSON
(
minor
,
main
)
{
for
(
var
key
in
main
)
{
if
(
typeof
(
main
[
key
])
!=
'
object
'
)
{
console
.
log
({
key
,
main
});
minor
[
key
]
=
main
[
key
];
}
else
{
console
.
log
(
9999
,{
minor
,
key
,
main
});
if
(
minor
){
mergeJSON
(
minor
[
key
],
main
[
key
]);
}
else
{
console
.
log
(
minor
,
'
不存在:
'
+
key
);
}
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录