1.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <div>
  3. <div class="imgSector"><img :src="adList[this.$store.state.template.editWebsiteClass - 1]" alt="自助建站广告示例图"></div>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. components: {
  9. },
  10. props: {
  11. dataSort: {
  12. type: Number,
  13. default: 0
  14. }
  15. },
  16. data() {
  17. return {
  18. adList: [
  19. "https://img.bjzxtw.org.cn/master/image/jpeg/20251218/1766037864430211.jpg",
  20. "https://img.bjzxtw.org.cn/master/image/jpeg/20251218/1766046928121425.jpg",
  21. "https://img.bjzxtw.org.cn/master/image/png/20260123/1769150356310701.png",
  22. "https://img.bjzxtw.org.cn/master/image/png/20260123/1769156945822889.png",
  23. "https://img.bjzxtw.org.cn/master/image/jpeg/20251223/1766483147860978.jpg", //皮肤5
  24. "https://img.bjzxtw.org.cn/master/image/png/20251218/1766041303638810.png", //皮肤6
  25. "https://img.bjzxtw.org.cn/master/image/jpeg/20251224/1766543103356259.jpg", //皮肤7
  26. "https://img.bjzxtw.org.cn/pre/image/jpeg/20250825/1756089046963566.jpg",
  27. "https://img.bjzxtw.org.cn/pre/image/jpeg/20250825/1756089100963223.jpg",
  28. "https://img.bjzxtw.org.cn/pre/image/jpeg/20250825/1756089122529907.jpg",
  29. "https://img.bjzxtw.org.cn/pre/image/jpeg/20250825/1756089147944865.jpg",
  30. ]
  31. };
  32. },
  33. };
  34. </script>
  35. <style scoped lang="less">
  36. .imgSector {
  37. img {
  38. display: block;
  39. }
  40. }
  41. </style>