| | |
| | | <el-row class="infoCard"> |
| | | <el-col :span="8"> |
| | | <p> |
| | | <i class="iconfont iconshishichuli"></i><span class="fontClass">实时算力</span> |
| | | <i class="iconfont iconshishichuli"></i |
| | | ><span class="fontClass">实时算力</span> |
| | | </p> |
| | | <p><span style="color: #f49d37;font-family: 'PingFangSC-Regular';font-size:28px;font-weight: 600;">{{realtime}}</span></p> |
| | | </el-col> |
| | | <el-col style="width: 1px;height: 80%;margin-top: 10px;background: #DCDFE6"> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <p> |
| | | <i class="iconfont iconrolling"></i><span class="fontClass">轮询算力</span> |
| | | <span |
| | | style=" |
| | | color: #f49d37; |
| | | font-family: 'PingFangSC-Regular'; |
| | | font-size: 28px; |
| | | font-weight: 600; |
| | | " |
| | | >{{ realtime }}</span |
| | | > |
| | | </p> |
| | | <p><span style="color: #f49d37;font-family: 'PingFangSC-Regular';font-size:28px;font-weight: 600;">{{polling}}</span></p> |
| | | </el-col> |
| | | <el-col style="width: 1px;height: 80%;margin-top: 10px;background: #DCDFE6"> |
| | | <el-col |
| | | style="width: 1px; height: 80%; margin-top: 10px; background: #dcdfe6" |
| | | > |
| | | </el-col> |
| | | <el-col :span="8" v-if="isShowPolling === 'show'"> |
| | | <p> |
| | | <i class="iconfont iconrolling"></i |
| | | ><span class="fontClass">轮询算力</span> |
| | | </p> |
| | | <p> |
| | | <span |
| | | style=" |
| | | color: #f49d37; |
| | | font-family: 'PingFangSC-Regular'; |
| | | font-size: 28px; |
| | | font-weight: 600; |
| | | " |
| | | >{{ polling }}</span |
| | | > |
| | | </p> |
| | | </el-col> |
| | | <el-col |
| | | style="width: 1px; height: 80%; margin-top: 10px; background: #dcdfe6" |
| | | > |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <p> |
| | | <i class="iconfont iconshuju"></i><span class="fontClass">数据栈算力</span> |
| | | <i class="iconfont iconshuju"></i |
| | | ><span class="fontClass">数据栈算力</span> |
| | | </p> |
| | | <p><span style="color: #f49d37;font-family: 'PingFangSC-Regular';font-size:28px;font-weight: 600;">{{dataStack}}</span></p> |
| | | <p> |
| | | <span |
| | | style=" |
| | | color: #f49d37; |
| | | font-family: 'PingFangSC-Regular'; |
| | | font-size: 28px; |
| | | font-weight: 600; |
| | | " |
| | | >{{ dataStack }}</span |
| | | > |
| | | </p> |
| | | </el-col> |
| | | </el-row> |
| | | </template> |
| | |
| | | props: { |
| | | realtime: { |
| | | type: Number, |
| | | default: 10 |
| | | default: 10, |
| | | }, |
| | | polling: { |
| | | type: Number, |
| | | default: 0 |
| | | default: 0, |
| | | }, |
| | | dataStack: { |
| | | type: Number, |
| | | default: 0 |
| | | default: 0, |
| | | }, |
| | | } |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | isShowPolling: sessionStorage.getItem("isShowPolling"), |
| | | }; |
| | | }, |
| | | }; |
| | | </script> |
| | | <style lang="scss"> |
| | | .infoCard { |
| | |
| | | p { |
| | | height: 45px; |
| | | line-height: 45px; |
| | | vertical-align: middle |
| | | vertical-align: middle; |
| | | } |
| | | .fontClass { |
| | | float: left; |