当前位置:网站首页>Show the mathematical formula in El table
Show the mathematical formula in El table
2022-07-07 13:28:00 【Bud, I'll fly first】
<el-table-column prop="sup_score" label=' Test scores ' align="center">
<template slot-scope="scope">
<div v-html="scope.row.sup_score"></div>
</template>
</el-table-column>
<el-table :data="tableData2323" height="500" :header-cell-style="{ color: '#333333' }" row-key="id" fit highlight-current-row style="margin-top: 10px;">
<el-table-column prop='no' label=" Number " width="70" align="center"></el-table-column>
<el-table-column prop='name' label=' name ' align="center"></el-table-column>
<el-table-column prop="score" label=' Usual score ' align="center">
<template slot-scope="scope">
<div v-html="scope.row.score"></div>
</template>
</el-table-column>
<el-table-column prop="sup_score" label=' Test scores ' align="center">
<template slot-scope="scope">
<div v-html="scope.row.sup_score"></div>
</template>
</el-table-column>
</el-table>
tableData2323: [
{
"no": "",
"score": "87.22",
"sup_score": "87.22",
"name": " Total score "
},
{
"no": "1",
"score": "97.03",
"sup_score": "97.03",
"name": " Physics "
},
{
"no": "2",
"score": "97.03",
"sup_score": "97.03",
"name": " chemical "
},
{
"no": "3",
"score": "20.00",
"sup_score": "20.00",
"name": " biological "
},
{
"no": "4",
"score": "70.00",
"sup_score": "70.00",
"name": " mathematics "
},
{
"no": "",
"score": "<div style=\"display: flex;align-items: center;justify-content: center;\">(1. Physics ×30%...+3. biological ×40%)+<div style=\"margin-left: 1px;\"><div >∑(4. mathematics )</div><div style=\"border-bottom: 1px solid #000000;margin-top: -1px;\" ></div><div>1</div></div>×(1-70%)</div>",
"sup_score": "<div style=\"display: flex;align-items: center;justify-content: center;\">(1. Physics ×30%...+3. biological ×40%)+<div style=\"margin-left: 1px;\"><div >∑(4. mathematics )</div><div style=\"border-bottom: 1px solid #000000;margin-top: -1px;\" ></div><div>1</div></div>×(1-70%)</div>",
"name": " Total score calculation formula "
}
],
边栏推荐
- LED light of single chip microcomputer learning notes
- JS function 返回多个值
- 人均瑞数系列,瑞数 4 代 JS 逆向分析
- Pcap learning notes II: pcap4j source code Notes
- 一文读懂数仓中的pg_stat
- Isprs2021/ remote sensing image cloud detection: a geographic information driven method and a new large-scale remote sensing cloud / snow detection data set
- Clion mingw64 Chinese garbled code
- 简单好用的代码规范
- RecyclerView的数据刷新
- Ogre入门尝鲜
猜你喜欢
cmake 学习使用笔记(一)
High end for 8 years, how is Yadi now?
About how appium closes apps (resolved)
MongoDB内部的存储原理
COSCon'22 社区召集令来啦!Open the World,邀请所有社区一起拥抱开源,打开新世界~
Ogre入门尝鲜
[Presto profile series] timeline use
My "troublesome" subordinates after 00: not bad for money, against leaders, and resist overtime
Esp32 ① compilation environment
如何让join跑得更快?
随机推荐
Mongodb meets spark (for integration)
Go language learning notes - structure
【等保】云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
Read PG in data warehouse in one article_ stat
如何让join跑得更快?
Getting started with cinnamon applet
QQ的药,腾讯的票
MongoDB命令汇总
【Presto Profile系列】Timeline使用
Isprs2021/ remote sensing image cloud detection: a geographic information driven method and a new large-scale remote sensing cloud / snow detection data set
记一次 .NET 某新能源系统 线程疯涨 分析
Milkdown 控件图标
Mongodb replication (replica set) summary
MongoDB的用户管理总结
OSI seven layer model
滑轨步进电机调试(全国海洋航行器大赛)(STM32主控)
Ogre入门尝鲜
regular expression
cmake 学习使用笔记(一)
ORACLE进阶(五)SCHEMA解惑