storeDetail.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <image src="" mode="" class="store-img"></image>
  5. <view class="right">
  6. <view class="store-name clamp">
  7. 鑫旺零售台州店
  8. </view>
  9. <view class="store-content clamp2">
  10. 店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介店铺简介
  11. </view>
  12. </view>
  13. </view>
  14. <view class="jg"></view>
  15. <view class="store-info">
  16. <view class="title">
  17. 门店地址/营业时间
  18. </view>
  19. <view class="info-box">
  20. <view class="item">
  21. <image src="" mode="" class="item-img"></image>
  22. <view class="item-msg">
  23. 台州市市府大道110号
  24. </view>
  25. </view>
  26. <view class="item">
  27. <image src="" mode="" class="item-img"></image>
  28. <view class="item-msg">
  29. 营业时间8:30-12:00,13:30-17:00
  30. </view>
  31. </view>
  32. <view class="item">
  33. <image src="" mode="" class="item-img"></image>
  34. <view class="item-msg">
  35. 0576-847112333
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="edit-btn" @click="navTo('/pages/store/storeMessage')">
  41. 编辑信息
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. export default {
  47. data() {
  48. return {}
  49. },
  50. methods: {
  51. navTo(url) {
  52. uni.navigateTo({
  53. url: url
  54. })
  55. }
  56. }
  57. }
  58. </script>
  59. <style lang="scss" scoped>
  60. page {
  61. height: 100%;
  62. background-color: #fff;
  63. }
  64. .top {
  65. height: 198rpx;
  66. display: flex;
  67. padding: 30rpx 25rpx 36rpx;
  68. .store-img {
  69. width: 132rpx;
  70. height: 132rpx;
  71. background-color: red;
  72. flex-shrink: 0;
  73. }
  74. .right {
  75. padding-left: 20rpx;
  76. .store-name {
  77. padding: 5rpx 0;
  78. font-size: 36rpx;
  79. font-family: PingFang SC;
  80. font-weight: bold;
  81. color: #333333;
  82. }
  83. .store-title {
  84. font-size: 20rpx;
  85. font-family: PingFang SC;
  86. font-weight: 400;
  87. color: #999999;
  88. line-height: 25rpx;
  89. }
  90. }
  91. }
  92. .jg {
  93. height: 20rpx;
  94. background-color: #f8f6f6;
  95. }
  96. .store-info {
  97. padding: 28rpx 30rpx 0;
  98. height: 100%;
  99. .title {
  100. font-size: 32rpx;
  101. font-family: PingFang SC;
  102. font-weight: 500;
  103. color: #333333;
  104. line-height: 55rpx;
  105. }
  106. .info-box {
  107. margin-top: 30rpx;
  108. width: 690rpx;
  109. min-height: 301rpx;
  110. border: 2px solid #DDDDDD;
  111. border-radius: 10rpx;
  112. padding: 40rpx 40rpx 0rpx;
  113. .item {
  114. display: flex;
  115. padding-bottom: 40rpx;
  116. image {
  117. margin-top: 6rpx;
  118. margin-right: 20rpx;
  119. height: 28rpx;
  120. width: 28rpx;
  121. background-color: red;
  122. flex-shrink: 0;
  123. }
  124. .item-msg {
  125. font-size: 29rpx;
  126. font-family: PingFang SC;
  127. font-weight: 500;
  128. color: #333333;
  129. line-height: 40rpx;
  130. }
  131. }
  132. }
  133. }
  134. .edit-btn {
  135. position: fixed;
  136. bottom: 34rpx;
  137. left: 0;
  138. right: 0;
  139. margin: 0 auto;
  140. width: 674rpx;
  141. // height: 88rpx;
  142. background: #FF4C4C;
  143. border-radius: 44rpx;
  144. text-align: center;
  145. line-height: 88rpx;
  146. font-size: 36rpx;
  147. font-family: PingFang SC;
  148. font-weight: 500;
  149. color: #FFFFFF;
  150. }
  151. </style>