detail.vue 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <template>
  2. <div class="page">
  3. <div class="page-top flex flex-col justify-center items-center">
  4. <img class="logo" :src="supplierInfo.logo" />
  5. <div class="name mt-2" v-text="supplierInfo.shopName + '认证记录'"></div>
  6. </div>
  7. <div class="page-content">
  8. <div class="page-title">设备认证</div>
  9. <div class="row">
  10. <div class="col">设备名称:</div>
  11. <div class="col">RADIO4丽肤提意大利进口动态四极射频抗衰塑形</div>
  12. </div>
  13. <div class="row">
  14. <div class="col">设备图片:</div>
  15. <div class="col">
  16. <el-image
  17. src="https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpe"
  18. ></el-image>
  19. </div>
  20. </div>
  21. <div class="row">
  22. <div class="col">所属品牌:</div>
  23. <div class="col">华熙生物</div>
  24. </div>
  25. <div class="row">
  26. <div class="col">购买渠道:</div>
  27. <div class="col">医院</div>
  28. </div>
  29. <div class="row">
  30. <div class="col">发票:</div>
  31. <div class="col">
  32. <el-image
  33. src="https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpe"
  34. ></el-image>
  35. </div>
  36. </div>
  37. <div class="row">
  38. <div class="col">设备SN码:</div>
  39. <div class="col">SN2626562612</div>
  40. </div>
  41. <div class="row">
  42. <div class="col">设备参数:</div>
  43. <div class="col">
  44. <div class="params-list">
  45. <div class="param">
  46. <div class="param-name">NDHUIWM:</div>
  47. <div class="param-content">中胚层产品</div>
  48. </div>
  49. <div class="param">
  50. <div class="param-name">NDHUIWM:</div>
  51. <div class="param-content">中胚层产品</div>
  52. </div>
  53. <div class="param">
  54. <div class="param-name">NDHUIWM:</div>
  55. <div class="param-content">中胚层产品</div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. <div class="row">
  61. <div class="col">状态:</div>
  62. <div class="col">认证中</div>
  63. </div>
  64. <div class="row">
  65. <div class="col">原因:</div>
  66. <div class="col">未通过原因</div>
  67. </div>
  68. <div class="control flex flex-col items-center">
  69. <div class="button edit flex justify-center items-center">编辑</div>
  70. </div>
  71. </div>
  72. </div>
  73. </template>
  74. <script>
  75. import { mapGetters } from 'vuex'
  76. export default {
  77. layout: 'app',
  78. computed: {
  79. ...mapGetters(['supplierInfo', 'authUserId', 'routePrefix']),
  80. },
  81. }
  82. </script>
  83. <style lang="scss" scoped>
  84. @media screen and (min-width: 768px) {
  85. .page {
  86. background: #fff;
  87. }
  88. .page-top {
  89. height: 360px;
  90. @include themify($themes) {
  91. background: themed('banner-club-register');
  92. background-size: auto 360px;
  93. }
  94. .logo {
  95. display: block;
  96. width: 120px;
  97. height: 120px;
  98. border-radius: 50%;
  99. background: #fff;
  100. }
  101. .name {
  102. font-size: 30px;
  103. color: #fff;
  104. }
  105. }
  106. .page-content {
  107. width: 700px;
  108. margin: 0 auto;
  109. overflow: hidden;
  110. min-height: calc(100vh - 80px - 80px - 360px);
  111. box-sizing: border-box;
  112. padding-bottom: 40px;
  113. .page-title {
  114. font-size: 24px;
  115. font-weight: bold;
  116. text-align: center;
  117. padding: 40px 0;
  118. }
  119. .params-list {
  120. .param {
  121. display: flex;
  122. justify-content: flex-start;
  123. align-items: flex-start;
  124. margin-bottom: 8px;
  125. }
  126. }
  127. .row {
  128. display: flex;
  129. justify-content: flex-start;
  130. align-items: flex-start;
  131. font-size: 18px;
  132. margin: 24px 0;
  133. .col {
  134. &:first-child {
  135. width: 90px;
  136. color: #666;
  137. }
  138. &:last-child {
  139. color: #282828;
  140. }
  141. }
  142. .el-image {
  143. width: 120px;
  144. height: 120px;
  145. margin-right: 12px;
  146. }
  147. }
  148. .control {
  149. margin-top: 62px;
  150. .button {
  151. width: 295px;
  152. height: 50px;
  153. cursor: pointer;
  154. &.edit {
  155. @include themify($themes) {
  156. border: 1px solid themed('color');
  157. color: themed('color');
  158. }
  159. }
  160. }
  161. }
  162. }
  163. }
  164. @media screen and (max-width: 768px) {
  165. .page {
  166. background: #fff;
  167. }
  168. .page-top {
  169. height: 46vw;
  170. @include themify($themes) {
  171. background: themed('banner-home-h5');
  172. background-size: auto 46vw;
  173. }
  174. .logo {
  175. display: block;
  176. width: 14.8vw;
  177. height: 14.8vw;
  178. border-radius: 50%;
  179. background: #fff;
  180. }
  181. .name {
  182. font-size: 4vw;
  183. color: #fff;
  184. }
  185. }
  186. .page-content {
  187. box-sizing: border-box;
  188. padding: 8vw 7vw;
  189. .page-title {
  190. font-size: 4.2vw;
  191. font-weight: bold;
  192. text-align: center;
  193. color: #282828;
  194. margin-bottom: 4.6vw;
  195. }
  196. .params-list {
  197. .param {
  198. display: flex;
  199. justify-content: flex-start;
  200. align-items: flex-start;
  201. margin-bottom: 8px;
  202. }
  203. }
  204. .row {
  205. display: flex;
  206. justify-content: flex-start;
  207. align-items: flex-start;
  208. font-size: 3.4vw;
  209. margin: 5.6vw 0;
  210. .col {
  211. &:first-child {
  212. width: 19vw;
  213. color: #666;
  214. white-space: nowrap;
  215. }
  216. &:last-child {
  217. color: #282828;
  218. }
  219. }
  220. .el-image {
  221. width: 26vw;
  222. height: 26vw;
  223. }
  224. }
  225. .control {
  226. margin-top: 22.8vw;
  227. .button {
  228. width: 100%;
  229. height: 12vw;
  230. cursor: pointer;
  231. &.edit {
  232. @include themify($themes) {
  233. border: 1px solid themed('color');
  234. color: themed('color');
  235. }
  236. }
  237. }
  238. }
  239. }
  240. }
  241. </style>