提交 6a746af6 编写于 作者: 王天雷

增加节点题目

上级 e8dafad4
......@@ -2,26 +2,26 @@
## 问题描述
下列有关uni.requestPayment支付中描述错误的是
下列有关节点信息中描述错误的是
## 答案
字节跳动小程序的 orderInfo 为 String 类型
selectorQuery.selectViewport:获取滚动位置
## 选项
### A
百度小程序的 orderInfo 为 Object 类型
uni.createSelectorQuery:创建查询请求
### B
App端,支付宝支付 orderInfo 为 String 类型
selectorQuery.select:根据选择器选择单个节点
### C
App端,微信支付 orderInfo 为 Object 类型
selectorQuery.selectAll:根据选择器选择全部节点
### D
App端,苹果应用内支付 orderInfo 为Object 类型
\ No newline at end of file
selectorQuery.exec:执行查询请求
\ No newline at end of file
## 问题描述
下列获取场景值方法正确的是
## 答案
uni.getLaunchOptionsSync().sence
## 选项
### A
uni.getLaunchOptionsSync().query
### B
uni.getLaunchOptionsSync().channel
### C
uni.getLaunchOptionsSync().launcher
## 问题描述
下列获取版本号方法正确的是
## 答案
uni.getAccountInfoSync().miniProgram
## 选项
### A
uni.getAccountInfoSync().scheme
### B
uni.getAccountInfoSync().plugin
### C
uni.getAccountInfoSync().launcher
## 问题描述
下列关于页面跳转问题描述错误的是
## 答案
uni.navigateTo:页面可以无限次跳转
## 选项
### A
uni.navigateTo:保留当前页面,跳转到应用内的某个页面
### B
uni.redirectTo:关闭当前页面,跳转到应用内的某个页面
### C
uni.switchTab:跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面
## 问题描述
A页面跳转B,下列哪种方法不能在tabBar获取到参数id的值
## 答案
A页面:
uni.setStorageSync('id', 999);
uni.switchTab({
url: '/pages/center/center'
});
B页面:
const id = uni.getStorageSync('id');
## 选项
### A
A页面:
uni.switchTab({
url: '/pages/center/center?id=999'
});
B页面:
onLoad(option){
var id = option.id
}
### B
A页面:
uni.navigateTo({
url: '/pages/center/center?id=999'
});
B页面:
onLoad(option){
var id = option.id
}
### C
A页面:
uni.redirectTo({
url: '/pages/center/center?id=999'
});
B页面:
onLoad(option){
var id = option.id
}
## 问题描述
ios设备阻止页面回弹效果的方法
## 答案
在pages.json中配置"app-plus":{"bounce":"none"}
## 选项
### A
::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
### B
overflow-y:hidden;
### C
在pages.json中配置"scrollIndicator": "none"
## 问题描述
下列有关隐藏当前页面滚动条方法正确的是
## 答案
在pages.json中配置"app-plus":{"scrollIndicator":"none"}
## 选项
### A
::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
### B
overflow-y:hidden;
### C
在pages.json中配置"app-plus":{"bounce":"none"}
## 问题描述
下列有关隐藏当前页面滚动条方法正确的是
## 答案
在pages.json中配置"app-plus":{"scrollIndicator":"none"}
## 选项
### A
::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
### B
overflow-y:hidden;
### C
App端,微信支付 orderInfo 为 Object 类型
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册