上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2021-08-02 18:23 黑蛋的博客 阅读(90) 评论(0) 推荐(0) 编辑
摘要: tab栏一个重要的思想是排他:就是只显示自己点击的tab栏,其它的tab栏都不要显示。 1.利用v-if(uni实例) 效果: v-if控制tab页面的显示 动态绑定class类,用来显示被选中的tab样式 <!-- tab --> <view class="tab"> <view class="t 阅读全文
posted @ 2021-07-29 19:17 黑蛋的博客 阅读(4229) 评论(0) 推荐(0) 编辑
摘要: w3c规定,当请求的header匹配如下不安全字符时,将被终止web Accept-Charset Accept-Encoding Connection Content-Length Cookie Cookie2 Content-Transfer-Encoding Date Expect Host 阅读全文
posted @ 2021-07-28 22:50 黑蛋的博客 阅读(4582) 评论(0) 推荐(0) 编辑
摘要: useId和token访问权限页面 阅读全文
posted @ 2021-07-28 15:40 黑蛋的博客 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1.块级盒子居中 可以让一个块级盒子实现水平居中必须: 盒子必须指定了宽度(width) 然后就给左右的外边距都设置为auto, 实际工作中常用这种方式进行网页布局,示例代码如下: .header{ width:960px; margin:0 auto;} 常见的写法,以下下三种都可以。 margi 阅读全文
posted @ 2021-07-21 17:27 黑蛋的博客 阅读(1357) 评论(0) 推荐(0) 编辑
摘要: 1.Navicat新建mysql连接 2.创建数据库 先打开已存在数据库的配置文件 、 修改为自己的数据库密码 回到Navicat,右键点击自己的数据库,选择【运行SQL文件】 到这,数据库后台环境算是搭建好了。 由于后台使用node写的接口,这里还需要运行下node,才可以调用接口 先找到写api 阅读全文
posted @ 2021-07-20 22:12 黑蛋的博客 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Echarts官网https://echarts.apache.org/zh/index.html 1.安装依赖:echarts 2.导入echarts import echarts from 'echarts' 我这样导入出错了,后来直接require 3.为ECharts准备一个具备大小(宽高) 阅读全文
posted @ 2021-06-08 20:20 黑蛋的博客 阅读(137) 评论(0) 推荐(0) 编辑
摘要: <u-grid :col="4"> <u-grid-item v-for="(item,index) in subject" :key = "name"> <view>{{item.name}}</view> <view>{{item.value}}</view> </u-grid-item> </ 阅读全文
posted @ 2021-05-21 17:00 黑蛋的博客 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 存入cookie mounted(){ document.cookie = "name=test2"; }, 页面开始时,就将name=test2存入cookie 取出cookie mounted(){ document.cookie = "name=test2;ex=yes"; console.l 阅读全文
posted @ 2021-05-18 09:38 黑蛋的博客 阅读(3812) 评论(0) 推荐(0) 编辑
摘要: 参考:axios文档 ##1.导入axios以发送ajax请求 打开main.js,import axios from ‘axios’; 设置请求的根路径:axios.defaults.baseURL = ‘http://127.0.0.1:8888/api/private/v1/’; 挂载axio 阅读全文
posted @ 2021-05-17 22:38 黑蛋的博客 阅读(888) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页