摘要: //按时间查询数据 <el-form class="line" inline @submit.native.prevent="GEOMNum()"> <el-form-item> <el-date-picker value-format="yyyy-MM-dd" type="date" v-mode 阅读全文
posted @ 2022-02-15 15:18 koo- 阅读(465) 评论(0) 推荐(0)
摘要: 方法一: html: <!-- 列表 --> <el-table :data=" dataList.slice( (currentPage - 1) * pageSize, currentPage * pageSize ) " > <el-table-column prop="address" :l 阅读全文
posted @ 2022-02-15 12:05 koo- 阅读(341) 评论(0) 推荐(0)
摘要: prop=" "中只能放一个字段的数据,想放两个字段数据的话,要把 <el-table-column></<el-table-column> 标签再用 <template></template> 标签包裹才行 阅读全文
posted @ 2022-02-11 18:47 koo- 阅读(3235) 评论(0) 推荐(0)
摘要: 解决方法:npm install 阅读全文
posted @ 2022-02-11 10:18 koo- 阅读(67) 评论(0) 推荐(0)
摘要: <template> <div class="countDown"> <div v-if="!isCountDownOver"> <span class="title">{{ LANG.test1.desc100 }}</span> <span class="time">{{ countDownHo 阅读全文
posted @ 2022-01-25 17:56 koo- 阅读(67) 评论(0) 推荐(0)
摘要: 1.把pdf放在static文件夹下 安装vue-pdf <template> <div> <pdf v-for="i in numPages" :key="i" :src="url" :page="i"></pdf> </div> </template> <style lang="less" sc 阅读全文
posted @ 2022-01-13 17:22 koo- 阅读(777) 评论(0) 推荐(0)
摘要: <template> <!-- 下拉菜单 --> <div class="nav_mg_top"> <div class="down_bg"> <div class="dropdown pa"> <span>{{ LANG.test1.desc83 }}</span> <div class="dro 阅读全文
posted @ 2022-01-11 09:56 koo- 阅读(67) 评论(0) 推荐(0)
摘要: 方法一: 直接在页面引入组件 <template> <div class="page-bar"> <ul> <li v-if="cur > 1"> <a v-on:click="cur--, pageClick()">{{ LANG.test1.desc152 }}</a> </li> <li v- 阅读全文
posted @ 2022-01-10 18:53 koo- 阅读(158) 评论(0) 推荐(0)
摘要: 在index.html添加 <script> (function () { var f = function () { document.documentElement.style.fontSize = document.documentElement.clientWidth / 7.5 + 'px 阅读全文
posted @ 2022-01-10 18:44 koo- 阅读(25) 评论(0) 推荐(0)
摘要: 在router index.js添加 let router = new Router({ routes: [{}], scrollBehavior(to, from, savedPosition) { // console.log('to', to) if (to.hash) { return { 阅读全文
posted @ 2022-01-10 18:38 koo- 阅读(66) 评论(0) 推荐(0)