单选题 (单选题)下列代码中可以设置导航条文字颜色的配置代码是
A、 navigationBarBackgroundColor:“#ffffff”
B、 navigationBarTextStyle:”white”
C、 backgroundColor:”white”
D、 backgroundTextStyle:”white”
单选题 (单选题)在wxml中写下<view>{{message}}</view>
在js文件中写入
Page({
Data: {
Message:hello
},})
A、 null
B、 none
C、 hello
D、 什么也不显示
单选题 (单选题)设置下拉背景字体或loading样式的配置代码是
A、 navigationBarBackgroundColor:“#ffffff”
B、 navigationBarTextStyle:”white”
C、 backgroundColor:”white”
D、 backgroundTextStyle:”light”
单选题 (单选题)设置导航条背景色的配置代码是
A、 navigationBarBackgroundColor:“#ffffff”
B、 navigationBarTextStyle:”white”
C、 backgroundColor:”white”
D、 backgroundTextStyle:”white”
单选题 (单选题)下列选项中那个是小程序页面样式配置文件
A、 index.css
B、 index.js
C、 index.wxss
D、 index.wxml
单选题 (单选题)在本学期香哈菜谱的作业中,关于js文件中initData:function()函数作用解释最接近的是
InitData:function(){
Var array = [];
Var object1 = new Object();
Object1.img = '../images/list/food-1.jpg';
Object1.title='爱心早餐';
Object1.type='健康养生';
Object1.liulan='20696浏览';
Object1.pinglun='7评论';
Array[1] = object1;
A、 在小程序wxml界面显示爱心早餐,健康养生
B、 在小程序wxml界面显示健康养生,20969浏览
C、 在小程序wxml界面显示爱心早餐,健康养生,20969浏览,7评论
D、 在小程序wxml界面显示为空白无显示
单选题 (单选题)设置小程序窗口背景色的配置代码是
A、 navigationBarBackgroundColor:“#ffffff”
B、 navigationBarTextStyle:”white”
C、 backgroundColor:”white”
D、 backgroundTextStyle:”white”
单选题 (单选题)在wxml文件中写入
<view >{{type}}</view>
<view>{{city}}</view>
<view>{{week}}</view>
Js文件中写入
Page({
Data:{
Temp:"4",
Week:"星期二",
City:"呼和浩特"
}
})
小程序运算结果为
A、 星期二,4
B、 呼和浩特,4
C、 呼和浩特, 星期二
D、 4,星期二,呼和浩特