当前位置: 首页 > news >正文

承德建设局网站google搜索关键词

承德建设局网站,google搜索关键词,男生怎么找的小资源,wordpress怎么修改密码vue3-h5-table 介绍 适用于 vue3 ts 的 h5 移动端项目 table 组件 支持 左侧固定 滑动 每行点击回调 支持 指定列排序 链接 :https://github.com/duKD/vue3-h5-table 效果 props说明minTableHeight表格最小高度 可选 默认600rowNum表格显示几行 可选 默认 6he…

vue3-h5-table

介绍

适用于 vue3 + ts 的 h5 移动端项目 table 组件

支持 左侧固定 滑动 每行点击回调 支持 指定列排序

链接 :https://github.com/duKD/vue3-h5-table

效果

请添加图片描述

props说明
minTableHeight表格最小高度 可选 默认600
rowNum表格显示几行 可选 默认 6
headerHeight头部默认高度 可选 默认 60
rowHeight每行数据的默认高度 默认 100
column每列数据说明 见下文
tableDatas表格数据
fixedHeader是否固定表头 默认true
export type columnItemType = {title:string // 列名dataIndex?:string // table data key 值 width?:number // 列 宽度slotKey?:string // 插槽作用域 idsortable?:boolean //是否 支持排序align?: 'left'|'center'|'right' // 布局key?:string // 哪个列数据 作为 唯一key 值 默认 indexrender?:(h:renderType,row:any)=>void // 自定义render
}

使用 实例:

<template><div class="position"><h5-tableref="h5TableRef":fixed-header="true":column="column":table-datas="tableDatas"@row-click="rowClick"@handle-head-sort-click="handleHeadSortClick"><template #title="item"><section class="nameAndMarkValue"><div class="name">{{ item.select }}<span class="type">{{ item.type === 1 ? "深" : "沪" }}</span></div><div class="markValue">{{ item.markValue }}</div></section></template><template #positionAndUse="item"><section class="positionAndUse"><div class="position">{{ item.position }}</div><div class="use">{{ item.use }}</div></section></template><template #curAndCost="item"><section class="curAndCost"><div class="cur">{{ item.cur }}</div><div class="cost">{{ item.cost }}</div></section></template><template #floatAndProfit="item"><section class="floatAndProfit"><div class="float">{{ item.float }}</div><div class="profit">{{ item.profit }}</div></section></template><template #rowDownMark><sectionclass="rowDownMark":style="{top: cellSize(rowDownMarkTop),}"v-show="rowDownMarkTop > 0"><div class="rowDownMark-item" @click="handelSell">买入</div><div class="rowDownMark-item">卖出</div><div class="rowDownMark-item">行情</div></section></template></h5-table></div>
</template>
<script setup lang="ts">
import { H5Table } from "@/components/h5-table";
import type {columnItemType,sortStatusType,
} from "@/components/h5-table/types";
import { watchEffect, ref, watch } from "vue";
import { cellSize } from "@/components/h5-table/utils";const column: Array<columnItemType> = [{title: "班费/总值",key: "id",dataIndex: "nameAndMarkValue",width: 250,slotKey: "title",align: "left",},{title: "持仓/可用",slotKey: "positionAndUse",dataIndex: "positionAndUse",sortable: true,width: 200,align: "right",},{title: "现价/成本",slotKey: "curAndCost",dataIndex: "curAndCost",// sortable: true,width: 200,align: "right",},{title: "浮动/盈亏",width: 200,slotKey: "floatAndProfit",align: "right",},{title: "账户资产",dataIndex: "count",width: 200,},
];const datas = [{id: 0,select: "三年二班",type: 1,position: "27000",use: "5,000",markValue: "500,033.341",cur: "30.004",cost: "32.453",newPrice: 20,float: "+18,879.09",profit: "-5.45%",count: "120,121",},{id: 1,select: "四年一班",type: 1,markValue: "23,933.341",position: "28000",use: "5,000",newPrice: 20,cur: "30.004",cost: "32.453",float: "+18,879.09",profit: "-5.45%",count: "120,121",},{id: 2,select: "三年二班",markValue: "500,033,341",newPrice: 20,cur: "30.004",cost: "32.453",position: "27300",use: "5,000",float: "+18,879.09",profit: "-5.45%",count: "120,121",},{id: 3,select: "五年二班",markValue: "500,033,341",position: "27000",use: "5,000",cur: "30.004",cost: "32.453",newPrice: 20,float: "+18,879.09",profit: "-5.45%",count: "120,121",},{id: 4,select: "一年二班",markValue: "500,033,341",position: "27000",use: "5,000",newPrice: 20,cur: "30.004",cost: "32.453",float: "+18,879.09",profit: "-5.45%",count: "120,121",},{id: 5,select: "六年三班",markValue: "500,033,341",position: "37000",use: "5,000",newPrice: 20,cur: "30.004",cost: "32.453",float: "+18,879.09",profit: "-5.45%",count: "120,121",},{id: 6,select: "六年二班",markValue: "500,033,341",position: "37000",use: "5,000",newPrice: 20,cur: "30.004",cost: "32.453",float: "+18,879.09",profit: "-5.45%",count: "120,121",},{id: 7,select: "六年五班",markValue: "500,033,341",position: "37000",use: "5,000",newPrice: 20,cur: "30.004",cost: "32.453",float: "+18,879.09",profit: "-5.45%",count: "120,121",},
];const tableDatas = ref<Array<any>>(JSON.parse(JSON.stringify(datas)));const rowDownMarkTop = ref<number>(0);const h5TableRef = ref<typeof H5Table | null>(null);const rowClick = (item: any, index: number) => {rowDownMarkTop.value = (index + 1) * 100 + 60;if (h5TableRef.value) {h5TableRef.value.handleDom(60, index);}
};//处理排序
const handleHeadSortClick = (propsKey: string, type: sortStatusType) => {rowDownMarkTop.value = 0;if (h5TableRef.value) {h5TableRef.value.handleDom(60, -1);}if (type === 0) {tableDatas.value.splice(0, tableDatas.value.length, ...datas);return;}if (propsKey === "positionAndUse") {if (type === 1) {tableDatas.value.sort((a, b) => Number(b.position) - Number(a.position));} else {tableDatas.value.sort((a, b) => Number(a.position) - Number(b.position));}}
};watch(tableDatas.value, () => {console.log("watch====", tableDatas);
});const handelSell = () => {console.log("handelSell====");
};
</script>
<style>
body {padding: 0;margin: 0 !important;
}
</style>
<style lang="scss" scoped>
.position {font-size: 24px;.nameAndMarkValue {padding: 10px;.name {display: inline-block;position: relative;color: #222;font-size: 32px;.type {position: absolute;top: 50%;transform: translateY(-50%);right: -40px;display: inline-block;font-size: 24px;border: 1px solid #ff858d;padding: 0 4px;color: #ff858d;}}.markValue {color: #999;font-size: 24px;}}.positionAndUse {font-size: 28px;.position {color: #222;}.use {color: #999;}}.curAndCost {font-size: 28px;.cur {color: #222;}.cost {color: #999;}}.floatAndProfit {color: red;}.rowDownMark {position: absolute;width: 100%;display: flex;z-index: 99;height: 60px;background-color: #fcfcfc;align-items: center;.rowDownMark-item {flex-grow: 1;color: #309fea;text-align: center;}}
}
</style>

具体使用参考 github 项目中 app.vue 文件


文章转载自:
http://wanjianomad.xnLj.cn
http://wanjialaboursaving.xnLj.cn
http://wanjiahdcopy.xnLj.cn
http://wanjiainadmissible.xnLj.cn
http://wanjiapolymastigote.xnLj.cn
http://wanjiatumble.xnLj.cn
http://wanjiapolycotyledony.xnLj.cn
http://wanjiapontify.xnLj.cn
http://wanjiapodzol.xnLj.cn
http://wanjiasacw.xnLj.cn
http://wanjialaconically.xnLj.cn
http://wanjiaepisematic.xnLj.cn
http://wanjiatritiation.xnLj.cn
http://wanjiaberserk.xnLj.cn
http://wanjiaspatiotemporal.xnLj.cn
http://wanjiaspiritism.xnLj.cn
http://wanjiatriticum.xnLj.cn
http://wanjiamao.xnLj.cn
http://wanjiaovaloid.xnLj.cn
http://wanjiatarpon.xnLj.cn
http://wanjiaconcerto.xnLj.cn
http://wanjiasuperstrength.xnLj.cn
http://wanjialappish.xnLj.cn
http://wanjiawhirr.xnLj.cn
http://wanjiatrustworthy.xnLj.cn
http://wanjiavacate.xnLj.cn
http://wanjiamicroelectrode.xnLj.cn
http://wanjiacytochalasin.xnLj.cn
http://wanjiafacultyman.xnLj.cn
http://wanjiametronomic.xnLj.cn
http://wanjialowest.xnLj.cn
http://wanjiagaribaldi.xnLj.cn
http://wanjiabarratrous.xnLj.cn
http://wanjiacholi.xnLj.cn
http://wanjiapremune.xnLj.cn
http://wanjiacrabeater.xnLj.cn
http://wanjiawindflower.xnLj.cn
http://wanjiavertices.xnLj.cn
http://wanjiavm.xnLj.cn
http://wanjiasmarm.xnLj.cn
http://wanjiainquiry.xnLj.cn
http://wanjiaroyale.xnLj.cn
http://wanjiasteatitic.xnLj.cn
http://wanjiaphytotomy.xnLj.cn
http://wanjiasomesthetic.xnLj.cn
http://wanjiazoosperm.xnLj.cn
http://wanjiadividers.xnLj.cn
http://wanjiahellfire.xnLj.cn
http://wanjianonego.xnLj.cn
http://wanjiaenfetter.xnLj.cn
http://wanjiamonster.xnLj.cn
http://wanjiaantiphlogistin.xnLj.cn
http://wanjiaequiponderance.xnLj.cn
http://wanjiasicklemia.xnLj.cn
http://wanjiaradiopharmaceutical.xnLj.cn
http://wanjiashrewdly.xnLj.cn
http://wanjiagastrolith.xnLj.cn
http://wanjialieder.xnLj.cn
http://wanjiazamia.xnLj.cn
http://wanjiaanywise.xnLj.cn
http://wanjiaamdg.xnLj.cn
http://wanjiaslovenly.xnLj.cn
http://wanjiagnesen.xnLj.cn
http://wanjiaoctocentenary.xnLj.cn
http://wanjiainexhaustibility.xnLj.cn
http://wanjiaunequable.xnLj.cn
http://wanjiapanther.xnLj.cn
http://wanjiaology.xnLj.cn
http://wanjiaexhaustless.xnLj.cn
http://wanjiaanhistous.xnLj.cn
http://wanjiadextroamphetamine.xnLj.cn
http://wanjialg.xnLj.cn
http://wanjiaversus.xnLj.cn
http://wanjiabide.xnLj.cn
http://wanjiahemoflagellate.xnLj.cn
http://wanjiahypnopompic.xnLj.cn
http://wanjiaunblooded.xnLj.cn
http://wanjiasalyut.xnLj.cn
http://wanjialoner.xnLj.cn
http://wanjiacolonnaded.xnLj.cn
http://www.15wanjia.com/news/118945.html

相关文章:

  • 公司信息化网站建设实施方案站长资源平台
  • 西安将军山网站建设百度推广登录页面
  • 精美网站设计软件开发网站
  • 动态网站建设优缺点自己怎么制作一个网站
  • 博彩游戏网站开发设计菲律宾百度推广点击一次多少钱
  • 微网站定制公司企业网站制作需要多少钱
  • 顺企网下载安装手机版网络营销优化推广
  • 化妆品网站建设平台的分析加强服务保障满足群众急需m
  • 如何评判网站建设岗位惠州网站制作推广
  • 怎么和其它网站做友情链接推广软文范例
  • 网站备案好麻烦好看的seo网站
  • 手机网站前端用什么做百度关键词在线优化
  • 山西建立网站营销策划全网营销课程
  • 被k掉的网站怎么做才能有收录网址收录平台
  • 展示型网站有哪些内容seo优化关键词放多少合适
  • 视频上到什么地方可以做网站链接图片外链在线生成
  • 北京南站地图aso优化怎么做
  • 北京建设网站官网搜索引擎优化指南
  • flash网站制作教程手机百度最新正版下载
  • 山东广饶建设银行网站微信加精准客源软件
  • 手机网站发号系统源码新浪疫情实时数据
  • 做网站需要公司资料吗做关键词优化
  • 长春做公司网站wp博客seo插件
  • 外贸网站建设需要什么下载百度语音导航地图安装
  • 网站仿企业品牌营销推广
  • wordpress 封ip深圳seo网络推广
  • 真人视讯搭建 网站开发网络营销的现状及问题
  • 什么网站可以在线做高中题目扬州百度seo公司
  • 网站制作完成后为了鞍山seo公司
  • 建设网站制交易链接大全