index.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <template>
  2. <el-col :span="24" class="iOTNetworkCard modular" style="padding:10px 20px 0;">
  3. <el-col class="title" style="margin-left:0">物联网卡状态</el-col>
  4. <el-col :span="24" class="card cardTop" :gutter="20">
  5. <el-row :span="24" class="nh">
  6. <el-col :span="10" class="title">ICCID</el-col>
  7. <el-col :span="12" class="num">89860619140067308922</el-col>
  8. </el-row>
  9. <el-row :span="24" class="nh">
  10. <el-col :span="10" class="title">Sim卡状态</el-col>
  11. <el-col :span="12" class="num green">在用</el-col>
  12. </el-row>
  13. <el-row :span="24" class="nh">
  14. <el-col :span="10" class="title">剩余流量</el-col>
  15. <el-col :span="12" class="num orange">172.3M</el-col>
  16. </el-row>
  17. <el-row :span="24" class="nh">
  18. <el-col :span="10" class="title">流量套餐</el-col>
  19. <el-col :span="12" class="num">中国联通 300M/月包</el-col>
  20. </el-row>
  21. <el-row :span="24" class="nh">
  22. <el-col :span="10" class="title">到期时间</el-col>
  23. <el-col :span="12" class="num">2022年12月31日</el-col>
  24. </el-row>
  25. </el-col>
  26. <el-col :span="24" class="card" :gutter="20">
  27. <el-row :span="24" class="nh">
  28. <el-col :span="10" class="title">ICCID</el-col>
  29. <el-col :span="12" class="num">89860619140067346468</el-col>
  30. </el-row>
  31. <el-row :span="24" class="nh">
  32. <el-col :span="10" class="title">Sim卡状态</el-col>
  33. <el-col :span="12" class="num green">在用</el-col>
  34. </el-row>
  35. <el-row :span="24" class="nh">
  36. <el-col :span="10" class="title">剩余流量</el-col>
  37. <el-col :span="12" class="num orange">154.5M</el-col>
  38. </el-row>
  39. <el-row :span="24" class="nh">
  40. <el-col :span="10" class="title">流量套餐</el-col>
  41. <el-col :span="12" class="num">中国联通 300M/月包</el-col>
  42. </el-row>
  43. <el-row :span="24" class="nh">
  44. <el-col :span="10" class="title">到期时间</el-col>
  45. <el-col :span="12" class="num">2022年12月31日</el-col>
  46. </el-row>
  47. </el-col>
  48. </el-col>
  49. </template>
  50. <script>
  51. export default {
  52. name: "iOTNetworkCard",
  53. data() {
  54. return {
  55. };
  56. },
  57. };
  58. </script>
  59. <style lang="scss" scoped>
  60. @import '@/assets/styles/common.scss';
  61. .iOTNetworkCard{
  62. height:60.27777vh;
  63. .card{
  64. width:410px;
  65. height:230px;
  66. padding: 36px 15px;
  67. border-radius: 10px 10px 0 10px;
  68. margin-top:16px;
  69. background-color: $modularHoverBackGround;
  70. background: linear-gradient(-45deg, transparent 40px, $modularHoverBackGround 0);
  71. .nh {
  72. margin-top: 6px;
  73. font-size: 16px;
  74. line-height: 28px;
  75. .title {
  76. color:$grey;
  77. opacity: 0.5;
  78. }
  79. }
  80. .nh:nth-child(1){
  81. margin-top:0px;
  82. }
  83. }
  84. }
  85. .cardTop{
  86. margin-top:32px !important;
  87. }
  88. .green{
  89. color:$green !important;
  90. }
  91. .orange{
  92. color:$orange !important;
  93. }
  94. </style>