小程序跳转tabbar页面
tap:function(e){ wx.switchTab({ url: e.currentTarget.dataset.url }) },
tap:function(e){ wx.switchTab({ url: e.currentTarget.dataset.url }) },
hover-class='none' <navigator url='../data/data' hover-class='none'>
onShow:function(){ this.onLoad() },
input 输入大于1的数(可以是整数或小数)oninput 和正则 <input type="number" oninput="this.value=this.value.replace(/[^1-9\.]/g,'');" //用的...

if (isset($GLOBALS['HTTP_RAW_POST_DATA'])) { $userinfo1 = $GLOBALS['HTTP_RAW_POST_DATA']; } else { $userinfo1 = file_get...
<?php //使用use传入参数 $name = 'thinkphp'; $id = 10; Db::table('think_user')->where(function ($query) use($name, $id) {...
index.html <!DOCTYPE html> <html> <head> <title></title> </head> <body> </b...