m-classify-tip.vue 940 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <div style="width:100%">
  3. <div class="box">
  4. <div class="line1"><image class="notice" src="https://ndata.zzxcx.net/ctjk/mp-wx/carVideo/notice.png"></image>温馨提示</div>
  5. <div style="color: #5C6066;" v-for="(item, index) in content" :key="index">
  6. {{ index + 1 }}.{{ item }}
  7. </div>
  8. </div>
  9. </div>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {};
  15. },
  16. props: {
  17. content: {
  18. type: Array,
  19. default: () => {
  20. return [];
  21. },
  22. },
  23. },
  24. };
  25. </script>
  26. <style lang="scss" scoped>
  27. .box {
  28. padding: 0 20rpx;
  29. width: 100%;
  30. font-size: 32rpx;
  31. padding-bottom: 15rpx;
  32. background: #EEF6FF;
  33. border-radius: 15rpx;
  34. .line1 {
  35. color: #0A1A33;
  36. font-size: 38rpx;
  37. line-height: 2;
  38. display: flex;
  39. align-items: center;
  40. height:100rpx;
  41. .notice{
  42. width: 40rpx;
  43. height: 40rpx;
  44. padding-right: 15rpx;
  45. }
  46. }
  47. }
  48. </style>