app-merchant-guarantee.vue 947 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <view class="app-merchant-guarantee dir-left-wrap">
  3. <view class="app-item dir-left-nowrap cross-center main-center" v-for="(item, index) in services" :key="index">
  4. <image class="app-image" src="../../../static/image/icon/yes.png"></image>
  5. <text class="app-title">{{item}}</text>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. name: 'app-merchant-guarantee',
  12. props: {
  13. services: {
  14. type: Array,
  15. default() {
  16. return [];
  17. }
  18. }
  19. }
  20. }
  21. </script>
  22. <style scoped lang="scss">
  23. .app-merchant-guarantee {
  24. min-height: #{56rpx};
  25. width: #{750rpx};
  26. background-color: white;
  27. .app-item {
  28. display: inline-block;
  29. margin: #{10rpx} #{26rpx};
  30. .app-image {
  31. width: #{24rpx};
  32. height: #{24rpx};
  33. margin: #{0} #{6rpx} 0 0;
  34. }
  35. .app-title {
  36. font-size: #{21rpx};
  37. color: #737373;
  38. }
  39. }
  40. }
  41. </style>