摘要: 方法有很多种,我这里介绍我常用的一种: 循环体: <view v-for="item in seea_data" :key="item.id" @click="details(item.id)"> <!-- 循环体内容 --> </view> 跳转: methods: { details(id) { 阅读全文
posted @ 2020-10-22 18:03 非凡云 阅读(3938) 评论(0) 推荐(0)
摘要: 第一种:事件跳转 uni.navigateTo({ url: '/pages/info/index?name=1', }); 第二种:标签跳转 <navigator url="/pages/info/index" open-type="navigate"> <view class="uni-link 阅读全文
posted @ 2020-10-22 11:38 非凡云 阅读(222) 评论(0) 推荐(0)
摘要: 解决办法: 将原来的: <button class="layui-btn" lay-submit lay-filter="formDemo">搜 索</button> 改成 <input class="layui-btn" lay-submit lay-filter="formDemo" value 阅读全文
posted @ 2020-10-20 09:33 非凡云 阅读(1693) 评论(1) 推荐(0)
摘要: //1. 创建一个变量 var ref = ""; //2. 定时刷新调用的方法 function consoleLog(){ console.log("a"); } //3. 设置定时刷新 ref = setInterval(function(){ consoleLog(); },2000); / 阅读全文
posted @ 2020-10-16 15:16 非凡云 阅读(100) 评论(0) 推荐(0)
摘要: $(".friendship").on({ mouseover: function () { //鼠标移入回调 $(".link").show(); }, mouseout: function () { //鼠标移出回调 $(".link").hide(); } }); 阅读全文
posted @ 2020-10-16 15:14 非凡云 阅读(3326) 评论(0) 推荐(0)
摘要: $.ajax({ type: "post",//请求方式 url: "http://www.baidu.com",//请求地址 data: { "id":"1" },//请求参数 cache: false, async : true, dataType: "json",//返回数据为json suc 阅读全文
posted @ 2020-10-16 15:11 非凡云 阅读(96) 评论(0) 推荐(0)
摘要: hhtml, body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select { margin: 0; padding: 0; color: #333; } * { 阅读全文
posted @ 2020-10-16 15:07 非凡云 阅读(2965) 评论(0) 推荐(0)
摘要: 初始 容器设置:display:flex 行内元素设置:display-inline:flex 容器属性 排列方向: flex-direction:row | row-reverse | column | colimn-reverse row(默认值):主轴为水平方向,起点在左端。 row-reve 阅读全文
posted @ 2020-10-16 15:03 非凡云 阅读(389) 评论(0) 推荐(0)
摘要: 首先安装node.js 下载最新版node.js 安装node.js https://nodejs.org/en/ 判断node.js和npm是否安装正常 node -v npm -v 安装ApiDoc,最好使用git安装 npm install apidoc -g 查看ApiDoc是否安装成功 a 阅读全文
posted @ 2020-10-16 15:02 非凡云 阅读(1461) 评论(0) 推荐(1)
摘要: 前端 $(".jxs_sq_div_list img").on('click',function () { takePicture(this) }); function takePicture(e) { wx.chooseImage({ count: 1, needResult: 1, sizeTy 阅读全文
posted @ 2020-10-16 14:54 非凡云 阅读(465) 评论(0) 推荐(0)