当前位置:网站首页>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 "
}
],
边栏推荐
- 基于鲲鹏原生安全,打造安全可信的计算平台
- Some principles of mongodb optimization
- MATLAB中polarscatter函数使用
- MongoDB命令汇总
- Shell batch file name (excluding extension) lowercase to uppercase
- LIS longest ascending subsequence problem (dynamic programming, greed + dichotomy)
- Analysis of DHCP dynamic host setting protocol
- leecode3. 无重复字符的最长子串
- How did Guotai Junan Securities open an account? Is it safe to open an account?
- 【学习笔记】zkw 线段树
猜你喜欢
随机推荐
Cinnamon taskbar speed
QQ的药,腾讯的票
How far can it go to adopt a cow by selling the concept to the market?
PAcP learning note 3: pcap method description
Mongodb command summary
clion mingw64中文乱码
“新红旗杯”桌面应用创意大赛2022
线程池拒绝策略最佳实践
分布式事务解决方案
High end for 8 years, how is Yadi now?
leecode3. 无重复字符的最长子串
1. Deep copy 2. Call apply bind 3. For of in differences
MongoDB命令汇总
Esp32 series column
Why can basic data types call methods in JS
Esp32 construction engineering add components
ROS机器人更换新雷达需要重新配置哪些参数
共创软硬件协同生态:Graphcore IPU与百度飞桨的“联合提交”亮相MLPerf
我那“不好惹”的00后下属:不差钱,怼领导,抵制加班
JS slow motion animation principle teaching (super detail)