...
 
Commits (2)
    https://gitcode.net/csdn/skill_tree_mini_programs/-/commit/7a3e30147cad4feed0eedec8073c92315855fdb1 增加节点题目 2022-08-05T16:03:30+08:00 王天雷 wangtl@csdn.com https://gitcode.net/csdn/skill_tree_mini_programs/-/commit/e8dafad4456de3f0dddcca297e1f2c6e2bddb2c1 Merge branch 'master' of gitcode.net:csdn/skill_tree_mini_programs 2022-08-05T16:03:34+08:00 王天雷 wangtl@csdn.com
{
"type": "code_options",
"author": null,
"author": "王天雷",
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "1faee072504745738ee55879711fb909"
......
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-48afca4437d44ad492465004845a122e",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "899e7e2e219c450da5b16dbd4c7a5ee5"
}
\ No newline at end of file
## 问题描述
map组件中描述正确的属性是
## 答案
include-points:缩放视野以包含所有给定的坐标点
## 选项
### A
include-points:缩放视野以包含所有给定的坐标点
### B
scale:主题
### C
enable-zoom:是否支持拖动
### D
enable-scroll:是否支持旋转
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-9d47b60722dd495d8b7ed7de4848e5f6",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "d04993c6e6f14c1e8c83661176507a26"
}
\ No newline at end of file
## 问题描述
canvas组件中描述正确的属性是
## 答案
hidpi:是否启用高清处理
## 选项
### A
hidpi:是否启用高清处理
### B
scale:主题
### C
enable-zoom:是否支持拖动
### D
enable-scroll:是否支持旋转
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-955c6da7c6d54cbe861e1bc8b2cde6e7",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "d38d46332376450cb105bb0f817e3d40"
}
\ No newline at end of file
## 问题描述
web-view组件中描述正确的属性是
## 答案
update-title:是否自动更新当前页面标题
## 选项
### A
hidpi:是否启用高清处理
### B
update-title:是否自动更新当前页面标题
### C
enable-zoom:是否支持拖动
### D
enable-scroll:是否支持旋转
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-847dbad9f2fb46ada7e3ebaef987809b",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "bf308492756048a89791306f6c00833e"
}
\ No newline at end of file
## 问题描述
拓展组件uni-countdown中描述不正确的属性是
## 答案
showColon:是否展示分隔符
## 选项
### A
showColon:是否展示分隔符
### B
showDay:是否显示天数
### C
splitorColor:分割符号颜色
### D
color:文字颜色
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-6b3dc2beff86499ebcc70620c3fd47f3",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "9cd71f6ab0d24c05b6bd505f2c2157d5"
}
\ No newline at end of file
## 问题描述
uni.request中跨域请求时是否携带凭证的属性是
## 答案
withCredentials
## 选项
### A
sslVerify
### B
firstIpv4
### C
responseType
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-133a3e14e079451f9d75ee8ead7429a4",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "e87269203de84f1889ee43b319ec7a74"
}
\ No newline at end of file
## 问题描述
uni.createVideoContext方法使用时,若想跳转到指定位置使用哪个方法
## 答案
seek
## 选项
### A
sendDanmu
### B
playbackRate
### C
exitFullScreen
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-39c65691471e4ea39627945dbe4daa1a",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "1f20f86ad43b4cf0a6f068714eb3a1d9"
}
\ No newline at end of file
## 问题描述
监听WebSocket连接打开事件置使用哪个方法
## 答案
uni.onSocketOpen
## 选项
### A
uni.onSocketMessage
### B
uni.connectSocket
### C
uni.onSocketClose
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-1fd0f83618d7482d90d12f5d89880d65",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "01d719dea5e74ba39485e99808df422f"
}
\ No newline at end of file
## 问题描述
uni.setClipboardData相关描述不正确的是
## 答案
complete:接口调用结束的回调函数(调用成功执行)
## 选项
### A
data:需要设置的内容
### B
showToast:配置是否弹出提示,默认弹出提示
### C
fail:接口调用失败的回调函数
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-78b4ee9b5b624a9a82120c24a7de4884",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "44b7f6f954804334a390b9d6b7b0ebfd"
}
\ No newline at end of file
## 问题描述
uni.makePhoneCall相关描述不正确的是
## 答案
complete:接口调用成功的回调
## 选项
### A
phoneNumber:需要拨打的电话号码
### B
success:接口调用成功的回调
### C
fail:接口调用失败的回调函数
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-dd53e6a6ed1f4b9eaff2717d0d6d5ce2",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "347239f5bd7640048907569f75f3e126"
}
\ No newline at end of file
## 问题描述
uni.scanCode相关描述不正确的是
## 答案
hideAlbum:是否只能从相机扫码,不允许从相册选择图片
## 选项
### A
autoDecodeCharset:是否启用自动识别字符编码功能
### B
autoZoom:是否启用自动放大,默认启用
### C
barCodeInput:是否支持手动输入条形码
### D
datamatrix:Data Matrix 码
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-d18c24d223504afea43738d6cb4230da",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "daf8a56d895747e6a6316f3ee3c90b77"
}
\ No newline at end of file
## 问题描述
uni.createAnimation相关描述不正确的是
## 答案
timingFunction:设置transform-origin
## 选项
### A
delay:动画延迟时间,单位 ms
### B
duration:动画持续时间,单位ms
### C
ease:动画以低速开始,然后加快,在结束前变慢
### D
linear:动画从头到尾的速度是相同的
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-0eeac232b16947d08bfd77a054640a82",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "733769a05e4043f3be7c376cdc73450f"
}
\ No newline at end of file
## 问题描述
关于下拉刷新相关描述不正确的是
## 答案
开启刷新需要在 pages.json 里,找到的当前页面的pages节点,并在 style 选项中开启 pullDownRefresh。
## 选项
### A
在 js 中定义 onPullDownRefresh 处理函数(和onLoad等生命周期函数同级),监听该页面用户下拉刷新事件
### B
当处理完数据刷新后,uni.stopPullDownRefresh 可以停止当前页面的下拉刷新
### C
uni.startPullDownRefresh:开始下拉刷新,调用后触发下拉刷新动画,效果与用户手动下拉刷新一致
### D
uni.stopPullDownRefresh:停止当前页面下拉刷新。
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-a787ea4aa548466a838a6e8c77ea435a",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "cf9b0b396aaf4523bd51683f13a6f63a"
}
\ No newline at end of file
## 问题描述
下列登录方法中描述错误的是
## 答案
uni.getUniverifyManager:获取一键登录条款勾选框状态
## 选项
### A
uni.checkSession:检查登录状态是否过期
### B
uni.getUserInfo:获取用户信息。
### C
uni.getUserProfile:获取用户信息。每次请求都会弹出授权窗口,用户同意后返回 userInfo。
### D
uni.preLogin:预登录
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-e6bc2f7d8b954667a9ad0afd3ed79336",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "1956bd89dd444e8e88e13069d74accff"
}
\ No newline at end of file
## 问题描述
下列有关uni.requestPayment支付中描述错误的是
## 答案
字节跳动小程序的 orderInfo 为 String 类型
## 选项
### A
百度小程序的 orderInfo 为 Object 类型
### B
App端,支付宝支付 orderInfo 为 String 类型
### C
App端,微信支付 orderInfo 为 Object 类型
### D
App端,苹果应用内支付 orderInfo 为Object 类型
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-80b5ed93ac054d1d81fb8feb4596317d",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "f22a79b287bc49788d296c43da45a016"
}
\ No newline at end of file
## 问题描述
下列有关uni.requestPayment支付中描述错误的是
## 答案
字节跳动小程序的 orderInfo 为 String 类型
## 选项
### A
百度小程序的 orderInfo 为 Object 类型
### B
App端,支付宝支付 orderInfo 为 String 类型
### C
App端,微信支付 orderInfo 为 Object 类型
### D
App端,苹果应用内支付 orderInfo 为Object 类型
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-a457dceaf9d846c79b69c11e802ae78e",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "1f630c4d57804df3a81079a3c9dfb400"
}
\ No newline at end of file
## 问题描述
uni.uploadFile中设置超时时间属性是
## 答案
timeout
## 选项
### A
fileType
### B
name
### C
formData
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-aa21f902bd484498bdea30fbdd9b21fb",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "6ed4161a6819494381b5b04aecfd2f52"
}
\ No newline at end of file
## 问题描述
从本地缓存中异步获取指定 key 对应的内容使用哪个接口
## 答案
uni.getStorage
## 选项
### A
uni.getStorageSync
### B
uni.getStorageInfo
### C
uni.getStorageInfoSync
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-670457b10c7e47c9938b0036c78d7604",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "68c04f74595f40a89980f8e30dc53bdc"
}
\ No newline at end of file
## 问题描述
uni.getLocation中开启高精度定位的属性是
## 答案
isHighAccuracy
## 选项
### A
accuracy
### B
highAccuracyExpireTime
### C
geocode
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-c421fe63565f4d479be41aab2e1b0dd0",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "27764dcdac0f41abb5f2f5ff852c21e4"
}
\ No newline at end of file
## 问题描述
下列说法错误的是
## 答案
uni.getStorage
## 选项
### A
uni.getStorage
### B
uni.getStorageSync
### C
uni.getStorageInfo
### D
uni.getStorageInfoSync
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-93085207da6f435face49045c1db5c05",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "e0445b0b0ffb4fa59e6eb08d3e564e43"
}
\ No newline at end of file
## 问题描述
下列关于uni.showToast说法错误的是
## 答案
duration:延迟时间 单位秒
## 选项
### A
mask:是否显示透明蒙层,防止触摸穿透
### B
position:纯文本轻提示显示位置,填写有效值后只有 title 属性生效
### C
image:自定义图标的本地路径
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-662ca4f9559c480fb192ac8202c7da41",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "f75c9eeb453249e6973523acbf18a064"
}
\ No newline at end of file
## 问题描述
在当前页面显示导航条加载动画的方法是
## 答案
uni.showNavigationBarLoading
## 选项
### A
uni.showNavigationBarLoading
### B
uni.hideHomeButton
### C
uni.setNavigationBarTitle
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-37398777257540699adab724a8b79165",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "31fcee74cb0e417f9368ff923e701cb2"
}
\ No newline at end of file
## 问题描述
动态设置 tabBar 某一项的内容使用哪个方法
## 答案
uni.setTabBarItem
## 选项
### A
uni.setTabBarBadge
### B
uni.setTabBarStyle
### C
uni.onTabBarMidButtonTap
\ No newline at end of file
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-2234f769244a47c39ae2d94747ba7b4b",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercise.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": null,
"source": "exercise.md",
"notebook_enable": false,
"exercise_id": "1fc1d7e4e25942deb3b1ef4c82954945"
}
\ No newline at end of file
## 问题描述
uni.getRecorderManager方法使用时,若录音停止事件并回调文件地址使用哪个方法
## 答案
onStop
## 选项
### A
pause
### B
resume
### C
stop