choisestore.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <template>
  2. <view class="stores-wrapper">
  3. <view class="store">
  4. <view class="store-logo"><image src="../../static/error/missing-face.png" mode=""></image><text class="store-name">子臣餐饮台州店</text></view>
  5. <view class="store-addr store-base">地区:<text>市府大道144号</text></view>
  6. <view class="store-addr store-base">电话:<text>13202514250</text></view>
  7. <view class="store-addr store-base">距离:<text>11.2Km</text></view>
  8. <view class="store-lv ">门店</view>
  9. <view class="store-can">支持自取</view>
  10. </view>
  11. </view>
  12. </template>
  13. <script>
  14. export default {
  15. data() {
  16. return {
  17. storeList: []
  18. }
  19. }
  20. }
  21. </script>
  22. <style lang="scss" scoped>
  23. page {
  24. background-color: #f8f6f6;
  25. height: 100%;
  26. }
  27. .stores-wrapper {
  28. padding-top: 20rpx;
  29. .store {
  30. width: 710rpx;
  31. height: 231rpx;
  32. background: #FFFFFF;
  33. box-shadow: 0px 0px 20rpx 0rpx rgba(50, 50, 52, 0.06);
  34. border-radius: 10rpx;
  35. // margin-bottom: 15rpx;
  36. margin: 0 auto 15rpx;
  37. position: relative;
  38. padding: 25rpx 0 0 20rpx;
  39. .store-logo {
  40. height: 65rpx;
  41. font-size: 32rpx;
  42. font-weight: bold;
  43. color: #333333;
  44. line-height: 65rpx;
  45. margin-bottom: 20rpx;
  46. position: relative;
  47. image {
  48. width: 65rpx;
  49. height: 65rpx;
  50. }
  51. .store-name {
  52. display: inline-block;
  53. padding-left: 12rpx;
  54. position: absolute;
  55. top: 0;
  56. }
  57. }
  58. .store-base {
  59. height: 37rpx;
  60. line-height: 37rpx;
  61. font-size: 24rpx;
  62. font-weight: bold;
  63. color: #333333;
  64. text {
  65. font-weight: normal;
  66. }
  67. }
  68. .store-lv {
  69. width: 60rpx;
  70. height: 40rpx;
  71. background: linear-gradient(-90deg, #DCB876 0%, #EECD92 100%);
  72. border-radius: 5rpx;
  73. text-align: center;
  74. line-height: 40rpx;
  75. color: #fff;
  76. font-size: 23rpx;
  77. position: absolute;
  78. right: 20rpx;
  79. top:38rpx;
  80. }
  81. .store-can {
  82. width: 113rpx;
  83. height: 44rpx;
  84. border: 2px solid #901B21;
  85. border-radius: 5rpx;
  86. font-size: 23rpx;
  87. text-align: center;
  88. line-height: 44rpx;
  89. font-weight: 500;
  90. color: #901B21;
  91. position: absolute;
  92. right: 20rpx;
  93. bottom: 25rpx;
  94. }
  95. }
  96. }
  97. </style>