|
@@ -0,0 +1,99 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <div class="rightSpot">
|
|
|
|
|
+ <div class="title">
|
|
|
|
|
+ <!-- <a-icon type="gold"/> -->
|
|
|
|
|
+ <div class="tltLeft">
|
|
|
|
|
+ <span class="blue">铜杆(吨)</span>
|
|
|
|
|
+ <span class="green ml10">正常</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="tltBtns">
|
|
|
|
|
+ <a-button class="blueBtn">修改</a-button>
|
|
|
|
|
+ <a-button class="redBtn">停用</a-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+</template>
|
|
|
|
|
+
|
|
|
|
|
+<script lang="ts">
|
|
|
|
|
+import { defineComponent, ref, PropType } from 'vue';
|
|
|
|
|
+import APP from '@/services';
|
|
|
|
|
+export default defineComponent({
|
|
|
|
|
+ name: 'rightSpot',
|
|
|
|
|
+ props: {
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ components: {},
|
|
|
|
|
+ setup(props, context) {
|
|
|
|
|
+
|
|
|
|
|
+ return {
|
|
|
|
|
+
|
|
|
|
|
+ };
|
|
|
|
|
+ },
|
|
|
|
|
+});
|
|
|
|
|
+</script>
|
|
|
|
|
+
|
|
|
|
|
+<style lang="less">
|
|
|
|
|
+.rightSpot {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ padding: 10px 12px;
|
|
|
|
|
+ .flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ .title {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 35px;
|
|
|
|
|
+ .flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ div {
|
|
|
|
|
+ align-self: center;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ .tltLeft {
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .tltBtns {
|
|
|
|
|
+ .ant-btn+.ant-btn {
|
|
|
|
|
+ margin-left: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+.blue {
|
|
|
|
|
+ color: @m-blue0;
|
|
|
|
|
+}
|
|
|
|
|
+.green {
|
|
|
|
|
+ color: @m-green0;
|
|
|
|
|
+}
|
|
|
|
|
+.ml10 {
|
|
|
|
|
+ margin-left: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+.blueBtn {
|
|
|
|
|
+ width: 80px;
|
|
|
|
|
+ height: 26px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ background: linear-gradient(0deg, @m-blue2, @m-blue0);
|
|
|
|
|
+ box-shadow: -1px 0px 0px 0px #121618;
|
|
|
|
|
+ .rounded-corners(3px);
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ color: @m-white0;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ &:hover {
|
|
|
|
|
+ background: linear-gradient(0deg, @m-blue2-hover, @m-blue0-hover);
|
|
|
|
|
+ color: @m-white0-hover;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+.redBtn {
|
|
|
|
|
+ width: 80px;
|
|
|
|
|
+ height: 26px;
|
|
|
|
|
+ background: linear-gradient(0deg, @m-red0, @m-red1);
|
|
|
|
|
+ .rounded-corners(3px);
|
|
|
|
|
+ border: 0;
|
|
|
|
|
+ color: @m-white0;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ &:hover {
|
|
|
|
|
+ background: linear-gradient(0deg, @m-red0-hover, @m-red1-hover);
|
|
|
|
|
+ color: @m-white0-hover;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+</style>;
|