摘要:
锚点定位// vue中使用 // 标题 <div class="tabs" v-for="(item, index) in titAll" :key="index" :class="{ actives: isactive index }" @click="tabsColor(index)" > {{
阅读全文
posted @ 2023-02-14 11:23
abcByme
阅读(396)
推荐(0)
摘要:
<template> <div class="task-box"> <p class="title-p">人行记录</p> <div class="box"> <tableList @onGetSelection="getSelection" :columns="columns" :data="da
阅读全文
posted @ 2023-02-09 17:20
abcByme
阅读(41)
推荐(0)
摘要:
<template> <view class="upload-content"> <view class="upload-item" v-for="(item, index) in imageList" :key="index"> <image class="upload-img" :src="it
阅读全文
posted @ 2023-02-09 16:14
abcByme
阅读(471)
推荐(0)
摘要:
getCaption(obj, state,strname) { var index = obj.lastIndexOf(strname); if (state == 0) { obj = obj.substring(0, index); } else { obj = obj.substring(i
阅读全文
posted @ 2023-02-09 14:10
abcByme
阅读(382)
推荐(0)
摘要:
watch: { dataList: { handler() { if (this.chart) { this.chart.dispose(); this.chart = null; } this.initChart(); }, deep: true, // immediate: true }, }
阅读全文
posted @ 2023-01-16 16:29
abcByme
阅读(145)
推荐(0)
摘要:
this.$nextTick(() => { this.$refs.videoPlay.load(); });
阅读全文
posted @ 2022-12-16 10:38
abcByme
阅读(167)
推荐(0)
摘要:
<template> <div> <el-upload style="margin-top: 10px;" class="upload-demo" list-type="picture-card" action="http://192.168.1.115:9999/sdfs/file/uploadF
阅读全文
posted @ 2022-12-15 15:40
abcByme
阅读(40)
推荐(0)
摘要:
<template> <view class="contain-box"> <u-navbar :title="title" :is-back="true" back-icon-color="#fff" :background="background" :border-bottom="false"
阅读全文
posted @ 2022-12-15 14:46
abcByme
阅读(228)
推荐(0)
摘要:
<template> <div> <el-upload ref="upload" :action="action" :limit="5" :file-list="fileList" :on-exceed="handleExceed" :on-remove="handleRemove" :on-suc
阅读全文
posted @ 2022-12-15 14:44
abcByme
阅读(721)
推荐(0)
摘要:
<template> <div> <el-upload ref="upload" :action="action" :limit="1" :file-list="fileList" :on-exceed="handleExceed" :on-remove="handleRemove" :on-suc
阅读全文
posted @ 2022-12-15 14:36
abcByme
阅读(68)
推荐(0)
摘要:
来自:https://www.jianshu.com/p/90bf22936439 侵删除 //图表导出-自己的方法 toolbox: { show: true, feature: { saveAsImage: { show: true, title: "保存图片", excludeComponen
阅读全文
posted @ 2022-12-13 10:23
abcByme
阅读(1526)
推荐(0)
摘要:
<template> <div> <p>关联房源</p> <div style="margin-left: 100px"> <div> <div class="t-head"> <div> <span>表具编号:{{ infoObj.meterNo }}</span> <span>表具类型:{{ M
阅读全文
posted @ 2022-12-09 11:11
abcByme
阅读(25)
推荐(0)
摘要:
来自:http://events.jianshu.io/p/06ae7754bfe4 侵删 1. 下载与安装vconsole 1.1 选中你的项目,弄出终端,输入以下命令:npm install vconsole npm install vconsole cnpm install vconsole
阅读全文
posted @ 2022-12-09 10:17
abcByme
阅读(1009)
推荐(0)
摘要:
<template> <div class="mapContainer"> <!-- <div id="tMap" /> --> <div id="tMap" ref="tMap" /> </div> </template> <script> import { TDIMap, BaiduMap }
阅读全文
posted @ 2022-12-02 09:55
abcByme
阅读(117)
推荐(0)
摘要:
<template> <div class="mapContainer"> <!-- <div id="tMap" /> --> <div id="tMap" ref="tMap" /> </div> </template> <script> import { TDIMap, BaiduMap }
阅读全文
posted @ 2022-12-02 09:54
abcByme
阅读(196)
推荐(0)
摘要:
<template> <div class="mapContainer"> <!-- <div id="tMap" /> --> <div id="tMap" ref="tMap" /> </div> </template> <script> import { TDIMap, BaiduMap }
阅读全文
posted @ 2022-12-02 09:54
abcByme
阅读(216)
推荐(0)
摘要:
const validatelicensePlate = (rule, value, callback) => { if (!value) { callback(new Error("请输入车牌号码")); } else { let dvalue = value.toLocaleUpperCase(
阅读全文
posted @ 2022-12-02 09:49
abcByme
阅读(81)
推荐(0)
摘要:
d变成dd let d = { currentMonth: { "2022-11-01": 11, "2022-11-02": 43, "2022-11-03": 53, "2022-10-05": 23, }, lastMonth: { "2022-10-01": 4, "2022-10-04":
阅读全文
posted @ 2022-11-28 17:04
abcByme
阅读(115)
推荐(0)
摘要:
来自:https://www.jb51.net/article/245381.htm 侵删 // index.js // 获取应用实例 const app = getApp() Page({ data: { urlcode: "", srcUrl: "https://www.wyy-supor.co
阅读全文
posted @ 2022-11-22 14:41
abcByme
阅读(243)
推荐(0)
摘要:
<template> <view class="content"> <u-navbar :title="title" :is-back="false" back-icon-color="#000" :background="background" :border-bottom="false" tit
阅读全文
posted @ 2022-11-22 09:33
abcByme
阅读(73)
推荐(0)
摘要:
<template> <div> 房间列表: <el-input placeholder="输入关键字进行过滤" v-model="filterText" size="mini" style="width: 180px" clearable > </el-input> <!-- <el-tree r
阅读全文
posted @ 2022-11-16 11:09
abcByme
阅读(53)
推荐(0)
摘要:
<el-cascader :props="props" :options="options" size="small" style="width: 200px" v-model="RoomAbout" clearable @change="getcascader" ></el-cascader> R
阅读全文
posted @ 2022-11-16 11:07
abcByme
阅读(169)
推荐(0)
摘要:
<template> <div class="batchAddCustomer-container"> <p class="tit-p">水电管理</p> <div class="downtext">下载模板</div> <div class="text"> 注意事项: <div> <p>1、表具内
阅读全文
posted @ 2022-11-14 15:31
abcByme
阅读(389)
推荐(0)
摘要:
<template> <div class="main-wrapper"> <!-- 头部搜索等 --> <div class="box-head"> <el-form ref="searchform" :model="searchform" :inline="true"> <el-form-ite
阅读全文
posted @ 2022-11-11 18:06
abcByme
阅读(39)
推荐(0)
摘要:
<template> <div> <!-- 表具报停 --> <Drawer :title="type == 2 ? '表具二维码' : '表具报停'" :closable="false" v-model="DrawerShow" width="50%" > <div> <div class="t-
阅读全文
posted @ 2022-11-11 17:04
abcByme
阅读(34)
推荐(0)
摘要:
<template> <ModuleBox2 title="数据趋势图" bgType="2" :cityShow="true" moduleType="sjqs" :styleObj="styleObj" > <div class="echarts-box"> <lineMore2 :isSmoo
阅读全文
posted @ 2022-10-28 17:43
abcByme
阅读(19)
推荐(0)
摘要:
var allArray = JSON.parse(JSON.stringify(copy_data)) //原数组 allArray.forEach((value , index) => { that.$set(value, 'goodProductNum', ' 12') //给数组里面的每个行
阅读全文
posted @ 2022-10-28 14:44
abcByme
阅读(55)
推荐(0)
摘要:
// 获取当前日期的前7天 getDays(){ let oneDay = 24 * 60 * 60 * 1000 let endTime = new Date(Date.now() - oneDay) endTime = this.formatterDate(endTime,"yyyy-MM-dd
阅读全文
posted @ 2022-10-25 09:57
abcByme
阅读(2067)
推荐(0)
摘要:
来自:https://juejin.cn/post/7080542771387301896 侵删 在推特上面看到 T. Afif 介绍的十个 Loading 效果。如上图。 Yeah,很赞哦,挺实用的,遂记录下来。 为保证运行正常,咱先规定下: * { box-sizing: border-box;
阅读全文
posted @ 2022-10-24 09:51
abcByme
阅读(119)
推荐(0)
摘要:
<template> <div :style="{ width: width, height: height, backgroundImage: imgsbg }" class="base-popout" v-show="isShow" > <div class="device-info-box-h
阅读全文
posted @ 2022-10-19 15:43
abcByme
阅读(24)
推荐(0)
摘要:
<template> <div class="newsbox"> <div class="h146" @click="listClick($event)"> <vueSeamlessScroll :data="dataList" :class-option="classOption" class="
阅读全文
posted @ 2022-10-19 15:42
abcByme
阅读(65)
推荐(0)
摘要:
<template> <div :style="{ width: boxWidth, height: boxHeight, backgroundImage: imgsbg }" :class="[bgType == '1' ? 'module-box' : 'module-box-2']" clas
阅读全文
posted @ 2022-10-19 15:13
abcByme
阅读(26)
推荐(0)
摘要:
<div class="content"> <div> <div class="chart-rising-list" v-for="(item, index) in proportionList.slice(0, 5)" :key="item + index" > <div class="chart
阅读全文
posted @ 2022-10-19 11:06
abcByme
阅读(34)
推荐(0)
摘要:
<template> <module-box moduleType="ykjdl" bgType="2" :styleObj="styleObj" :cityShow="true" title="景区游客接待量 TOP 10"> <div class="module-content"> <div c
阅读全文
posted @ 2022-10-19 09:38
abcByme
阅读(75)
推荐(0)
摘要:
<template> <div ref="echartsBox" class="chart" :style="{ height: height, width: width }" /> </template> <script> import * as echarts from "echarts"; i
阅读全文
posted @ 2022-10-18 11:02
abcByme
阅读(186)
推荐(0)
摘要:
<template> <div class="tag-cloud" ref="wrapper"> <p v-for="(item, index) in data" :key="index" ref="tag" @click="clickTag(item)" @dblclick="dbclickTag
阅读全文
posted @ 2022-10-18 10:42
abcByme
阅读(98)
推荐(0)
摘要:
来自:http://t.zoukankan.com/zizaiwuyou-p-10637179.html 侵删 使用echart的雷达图的时候,如果文字越界的解决办法记录,标签文字自动换行 前几天项目中有一个图表的是用echart生成的,遇到一个问题,就是在手机端显示的售时候,如果文字太长就会超出d
阅读全文
posted @ 2022-09-19 17:21
abcByme
阅读(958)
推荐(0)
摘要:
<template> <div class="mapContainer"> <!-- <div id="tMap" /> --> <div id="tMap" ref="tMap" /> </div> </template> <script> import { TDIMap, BaiduMap }
阅读全文
posted @ 2022-09-02 17:38
abcByme
阅读(478)
推荐(0)
摘要:
img[src="http://api.map.baidu.com/images/iw_close1d3.gif"] { left: 165px !important; }
阅读全文
posted @ 2022-09-02 17:36
abcByme
阅读(97)
推荐(0)
摘要:
export const TDIMap = { init() { return new Promise((resolve, reject) => { // 如果已加载直接返回 if (window.T) { console.log('天地图脚本初始化成功...') resolve(window.T)
阅读全文
posted @ 2022-09-02 09:27
abcByme
阅读(262)
推荐(0)