Blogger Information
Blog 2
fans 0
comment 0
visits 2347
Related recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
apicloud知识点
冰魄
Original
941 people have browsed it
  • 4种数据存储

  •   

  • db 存储


  • api封装的函数含有皮肤、文字等属性设置

  • 窗口

  • api.openfrome打开子窗口

  • api.openfromeGroup打开子窗口组

  • api.openWin打开新的窗口 

  • 下拉刷新(在子窗口中执行)

  • api所有的指令均在api.ready=function(){}里面执行操作

  • 从云端获取list表单数据(需先连接好数据存储地即数据库)

  • api.ready=function(){

    • //查询指令query.createQuery()

      query.createQuery({},function(ret,err){

      • //发出请求如果成功则进行下面的判断

      • if(ret&&ret.id){

        • //获得list表中的数据中的值即接收请求的所有值用model.findAll({})接收所有数据

        • model.findAll({

        •        class:"list",

                 qid.ret.qid

        • },function(ret,err){

        •       alter(ret[0].title);//输出list表单中的title标题

        • }

      • }

      })

      }

      

      

   

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!