
前端
一抹茶-csdn
碧云引风吹不断,白花浮光凝碗面
展开
-
flex 布局案例
1.无flex布局的<!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <link rel="stylesheet" type="text/css" href="css/style.css"/> </head> <body> <div class="container"原创 2021-05-26 10:56:26 · 653 阅读 · 0 评论 -
js判断【数组】中是否包含某个元素的方法
1.indexOf方法let arr = [2,3,4];let res = arr.indexOf(2) // 验证是否包含:2console.log(res) // 结果:0let res2 = arr.indexOf(3) // 验证是否包含:3console.log(res2) // 结果:1let res3 = arr.indexOf(4) // 验证是否包含:4console.log(res3) // 结果:2let res4 = arr.indexOf(5) // 验证原创 2021-04-20 15:07:43 · 4402 阅读 · 0 评论 -
vue实现腾讯地图组件
在index.html页面引入以下代码 <script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=GOZBZ-MWHKV-GDSPP-UPRNN-YUWEE-EHB5U"></script> <script type="text/javascript" src="http://3gimg.qq.com/lightmap/components/geolocation/geolocation原创 2020-11-18 19:31:05 · 2941 阅读 · 0 评论 -
FusionCharts 如何更改标题的对齐方式
文档地址原文:Configure Caption Alignment# Use the following attributes to configurecaption alignment:Specify the horizontal alignment of the caption using thecaptionAlignment attribute, which accepts the values of left, center(default), and right.Displa原创 2020-10-09 15:43:03 · 195 阅读 · 0 评论 -
vue实现二维码生成(vue + vue-qr)
1.安装依赖包https://www.npmjs.com/package/vue-qrnpm install vue-qr --save2.使用vue-qr生成二维码// 二维码组件import VueQr from 'vue-qr'完整代码<template> <div class="hello"> <h1> 二维码</h1> <vue-qr ref="Qrcode" :text="da原创 2020-08-31 11:22:51 · 13208 阅读 · 3 评论 -
tinymce富文本编辑器
先下载整合好的tinymce包链接:https://pan.baidu.com/s/1ZlKGteONCUdd-PBwDMOGZA提取码:lv25复制这段内容后打开百度网盘手机App,操作更方便哦1.默认的:富文本样式html<h1>默认的富文本样式</h1><textarea id="tinymce"></textarea>js<script> tinyMCE.init({ selector: '#ti原创 2020-08-28 17:14:51 · 708 阅读 · 0 评论 -
TinyMCE富文本编辑器使用
下载TinyMCE社区版:http://download.tiny.cloud/tinymce/community/tinymce_5.4.1.zip开发版:http://download.tiny.cloud/tinymce/community/tinymce_5.4.1_dev.zip1.引入tinyMCE<script src="/lib/tinymce/tinymce.min.js"></script>html:<div style="margin-ri原创 2020-08-21 11:41:46 · 1551 阅读 · 0 评论