List.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <template>
  2. <view>
  3. <view class="box flexe">
  4. <view class="" style="font-size: 0;">
  5. <image class="img"
  6. src="https://img2.baidu.com/it/u=1277253023,1926890940&fm=253&fmt=auto&app=120&f=JPEG?w=744&h=500"
  7. mode=""></image>
  8. </view>
  9. <view class="rigth">
  10. <view class="title">
  11. 店铺名称
  12. </view>
  13. <view class="weiZhhi sl1">
  14. 店铺位置
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script setup>
  21. import {
  22. ref,
  23. reactive
  24. } from 'vue'
  25. import {
  26. HTTP
  27. } from '@/api/http.js'
  28. import {
  29. onShow,
  30. onLoad
  31. } from '@dcloudio/uni-app'
  32. import {
  33. jieqiFn
  34. } from '@/config' //返回节气样式(a,b),a是节气名称,b是类型,1是返回背景颜色,2是返回边框颜色,3是返回字体颜色
  35. </script>
  36. <style lang="scss" scoped>
  37. .box {
  38. width: 686rpx;
  39. border: 1rpx solid #ff0000;
  40. padding: 20rpx;
  41. margin: 0 auto;
  42. //店铺封面图
  43. .img {
  44. width: 150rpx;
  45. height: 100rpx;
  46. }
  47. //店铺信息
  48. .rigth {
  49. margin-left: 16rpx;
  50. .title {
  51. font-weight: 600;
  52. }
  53. // 店铺位置
  54. .weiZhhi{
  55. color: #000;
  56. }
  57. }
  58. }
  59. </style>