<script setup lang="ts"> import { Modal, message } from 'ant-design-vue'; import Speech from 'speak-tts'; import { useStorage } from '@vueuse/core'; i
/** * 获取完整的文件路径地址 */ export function getFullFileURL(url?: string): string { let _url = ''; if (url) { _url = (url?.includes('
<script setup lang="ts"> defineOptions({ name: 'rightTop', }); let timer: any = null; const wrapperRef = ref() const tagRef: any = ref([]) const r
<script setup lang="ts"> import { ref } from 'vue'; import { Modal, message } from 'ant-design-vue'; import { AIRPLANE_MISSION_MODE } from '../enum';
<script setup lang="ts"> import { useVModel } from '@vueuse/core'; const props = defineProps({ modelValue: { type: Object, default: () => { }, }, });
<a-input class="input-center-met" v-model:value="form.name1"> <template #prefix> <div class="flex items-center"> <div class="number-btn auto" @click="
const lastDataHandle = ref(null); // 上次选择的dataHandle值 const dataHandle: any = ref([]); const dataHandleALLList = [ { label: '无', value: 0 }, { label:
:tooltip-open="false" <a-slider ref="scrollableDiv" v-model:value="defaultValue" vertical class="new-slider" :marks="marks" :min="0" :max="10" :step="
<script setup lang="ts"> const props = withDefaults(defineProps<{ num?: number // 当前信号强度 max?: number // 信号柱最大数量 minHeight?: number // 信号柱最小高度,单位px wi
eventTime(v) { let d = v.replace(/T/, " "); let dd = d.substring(0, d.indexOf("+")); return dd; },
<template> <view class="contain-box"> <u-navbar :title="title" :is-back="true" back-icon-color="#fff" :background="background
/deep/ .ivu-input::-webkit-input-placeholder { color: #87cfff; } /deep/ .ivu-input::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #87cfff; } /de
<template> <div ref="appRef" class="app-viewport" id="appRef"> </div> </template> <script> let loading = null; // import drawMixin from '../libs/drawM
<FormItem prop="free" label="包期费用(元):"> <Input-number :min="0" style="width: 100%" v-model="formVali
<template> <div class="p-box"> <el-transfer class="new-el-transfer" filterable filter-placeholder="请输入组织名称" v-model="value" :data="dataListzz" :titles
if (i == 1) { //近30天 let d30 = [...new Array(30)].map((i, idx) => this.moment().startOf("day").subtract(idx, "days").format('MM-DD')).reverse(); //随机数
html代码 <div id="root"> <h3index">
<div class="event-img"> <img :src="item" alt="" v-for="(item,index) in imgPathList" @click="viewImg(imgPathList,index)"/> </div> viewImg(item,index){
上传了压缩后的照片 <template> <div> <!-- <el-upload :class="uploadDisable
需要用到moment.具体参考 http://momentjs.cn/docs/#/当月第一天 const end = this.$mom
锚点定位// vue中使用 // 标题 <div class="tabs" v-for="(item, index) in tit
getNowDate() { let date = new Date() let year = date.getFullYear() let month = date.getMonth() + 1 let day = date.getDate() let hour = date.getHours()
getCaption(obj, state,strname) { var index = obj.lastIndexOf(strname); if (s
<template> <div class="task-box"> <p class="title-p">人行记录</p> <div class
<template> <view class="upload-content"> <view class="upload-item" v-for=
<template> <div> <el-upload ref="upload" :class="disabled ? 'disabled' : ''" list-type="picture-card" :action="action"
watch: { dataList: { handler() { if (this.chart) { this.chart.dispose(); this.chart = null; } this.initChart(); }, deep: true, // immediate: true }, }
this.$nextTick(() => { this.$refs.videoPlay.load(); });
<template> <view class="contain-box"> <u-navbar :title="title" :is-back="true" back-icon-color="#fff" :background="background" :border-bottom="false"
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号