MIP.watch('count', function (newVal, oldVal) { fetch('https://www.chazidian.com/kaoshi/ajaxapi/?action=guanzhu&id=550&type=1') .then(function (res) { var follows2 = MIP.getData('follows') if(follows2==1){ MIP.setData({ follows:2, title:'收藏' }) } if(follows2==2){ console.log(2) MIP.setData({ follows:1, title:'已收藏' }) } }) .catch(function (err) { console.log('数据请求失败!') }) })
计算机二级Web程序设计模拟卷(一)
推荐等级:
★★★★☆
发布时间:
2020-05-25
卷面总分:
100
答题时间:
120
试题总量:
37
练习次数:
0
试卷分类:
Web程序设计
试卷类型:
模拟考题
试卷预览
1、以下哪种不是在客户端运行的
A、JavaScript
B、VBScrip
C、Java
D、HTML
2、以下哪个选项能显示成两行文字
A、Thefirstlineand
secondline
B、Thefirstlineandnsecondline
C、Thefirstlineandsecondline
D、Thefirstlineandsecondline
3、以下哪个不是HTML字符实体
A、>
B、&
C、␣
D、©
4、以下哪个是正确的红色表示
A、#0000FF
B、0000FF
C、#FF0000
D、FF0000
5、以下哪个不是标记中合法的TARGET属性值
A、_parent
B、_self
C、_empty
D、_top
其他考生还关注了更多>
相关题库更多>
公共基础
Python语言程序设计
MS Office高级应用
Web程序设计
MySQL数据库程序设计