index.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <template>
  2. <div class="conduct-secury">
  3. <div class="banner">
  4. <h1>{{ $t('conduct.conductSecury.bannerTitle') }}</h1>
  5. </div>
  6. <ul class="desc-video">
  7. <li v-for="item in list" :key="item.name">
  8. <h1 class="common-title" v-html="item.name"></h1>
  9. <img :src="item.img">
  10. </li>
  11. </ul>
  12. </div>
  13. </template>
  14. <script>
  15. import { i18n } from '@/lang'
  16. export default {
  17. data () {
  18. return {
  19. list: [
  20. {
  21. name: i18n.t('conduct.conductSecury.itemTitle1'),
  22. img: require('@/assets/images/refactor/conduct/secury/item1.png')
  23. },
  24. {
  25. name: i18n.t('conduct.conductSecury.itemTitle2'),
  26. img: require('@/assets/images/refactor/conduct/secury/item2.png')
  27. },
  28. {
  29. name: i18n.t('conduct.conductSecury.itemTitle3'),
  30. img: require('@/assets/images/refactor/conduct/secury/item3.png')
  31. }
  32. ]
  33. }
  34. }
  35. }
  36. </script>
  37. <style lang="less" scoped>
  38. .conduct-secury {
  39. .banner {
  40. width: 100%;
  41. height: 140px;
  42. display: flex;
  43. padding-left: 42px;
  44. font-size: 22px;
  45. color: #202020;
  46. font-weight: bold;
  47. background: #D4D4D4;
  48. flex-direction: column;
  49. justify-content: center;
  50. background: url(~@/assets/images/refactor/conduct/secury/banner.png) no-repeat center center;
  51. background-size: cover;
  52. }
  53. h4 {
  54. font-size: 16px;
  55. margin-top: 20px;
  56. }
  57. ul {
  58. padding: 27px 20px 0;
  59. }
  60. li {
  61. margin-bottom: 56px;
  62. }
  63. img {
  64. margin-top: 30px;
  65. width: 100%;
  66. }
  67. }
  68. </style>