耀实惠小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

243 lines
4.7 KiB

  1. <template>
  2. <view class="pages">
  3. <!-- 收获地址 -->
  4. <view class="address_box">
  5. <view class="name_box">
  6. <text class="name_title">收货人</text>
  7. <text class="user_name">名字名字名字名字名字名字名字名字名字名字</text>
  8. <text class="phone">151753743437</text>
  9. </view>
  10. <view class="address">
  11. <image :src="http_img + 'agreement-tips.png'" mode=""></image>
  12. <text>长沙县特立西路 长丰星城二栋1楼178号 美团超市侧对面122米处</text>
  13. <view class="selcet">
  14. <text>切换</text>
  15. <u-icon name="arrow-right"></u-icon>
  16. </view>
  17. </view>
  18. </view>
  19. <!-- 商品信息 -->
  20. <view class="goods_item">
  21. <image :src="http_img + 'agreement-tips.png'" mode=""></image>
  22. <view class="right_box">
  23. <text class="title">消毒杀菌 有效抑制99.9%细菌 300g/</text>
  24. <view class="center_box">
  25. <view class="money_box">
  26. <text class="min red">本网价</text>
  27. <text class="bigs red">123</text>
  28. <text class="min red"></text>
  29. </view>
  30. <text>×2</text>
  31. </view>
  32. <text class="alt">规格 预防感冒家庭常备全家同享 粉色</text>
  33. </view>
  34. </view>
  35. <!-- 固定底部 -->
  36. <view class="btn_moneyNum">
  37. <view class="moneyNum">
  38. <text class="text">合计</text>
  39. <text class="num">100</text>
  40. </view>
  41. <button class="btn">立即参团</button>
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. import config from "@/utils/js/config.js"
  47. export default {
  48. data() {
  49. return {
  50. http_img: config.img_url,
  51. }
  52. },
  53. methods: {
  54. }
  55. }
  56. </script>
  57. <style lang="scss" scoped>
  58. .pages{
  59. width: 100%;
  60. height: 100%;
  61. background-color: #F5F5F5;
  62. }
  63. .address_box {
  64. width: 711rpx;
  65. height: 265rpx;
  66. margin: 13rpx auto 0;
  67. border-radius: 14rpx;
  68. box-shadow: 0 3rpx 6rpx 0 rgba(0, 0, 0, 0.16);
  69. background-color: #fff;
  70. .name_box {
  71. padding-top: 34rpx;
  72. margin-left: 23rpx;
  73. display: flex;
  74. .name_title {
  75. font-size: 28rpx;
  76. color: #707070;
  77. line-height: 74rpx;
  78. }
  79. .user_name {
  80. width: 231rpx;
  81. height: 74rpx;
  82. line-height: 74rpx;
  83. padding-left: 14rpx;
  84. box-sizing: border-box;
  85. background-color: #F5F5F5;
  86. color: #000000;
  87. font-size: 28rpx;
  88. white-space: nowrap;
  89. overflow: hidden;
  90. text-overflow: ellipsis;
  91. }
  92. .phone {
  93. width: 318rpx;
  94. height: 74rpx;
  95. margin-left: 12rpx;
  96. line-height: 74rpx;
  97. padding-left: 24rpx;
  98. box-sizing: border-box;
  99. background-color: #F5F5F5;
  100. color: #000000;
  101. font-size: 28rpx;
  102. }
  103. }
  104. .address {
  105. display: flex;
  106. margin-top: 55rpx;
  107. margin-left: 23rpx;
  108. image {
  109. width: 32rpx;
  110. height: 42rpx;
  111. }
  112. text {
  113. display: flex;
  114. margin-left: 24rpx;
  115. width: 478rpx;
  116. font-size: 24rpx;
  117. color: #707070;
  118. }
  119. .selcet{
  120. width: 148rpx;
  121. padding-left: 34rpx;
  122. box-sizing: border-box;
  123. display: flex;
  124. align-items: center;
  125. color: #01AEEA;
  126. text{
  127. font-size: 28rpx;
  128. margin: 0;
  129. margin-right: 20rpx;
  130. }
  131. margin-right: 15rpx;
  132. }
  133. }
  134. }
  135. .goods_item {
  136. display: flex;
  137. width: 711rpx;
  138. margin: 0 auto;
  139. background-color: #fff;
  140. border-radius: 24rpx;
  141. margin-top: 22rpx;
  142. padding-bottom: 20rpx;
  143. border-bottom: 1px solid #707070;
  144. box-shadow: 0 3rpx 6rpx 0 rgba(0, 0, 0, 0.16);
  145. &:last-child {
  146. border-bottom: none;
  147. }
  148. image {
  149. width: 200rpx;
  150. height: 200rpx;
  151. margin: 27rpx 9rpx 17rpx 32rpx;
  152. border-radius: 20rpx;
  153. }
  154. .right_box {
  155. display: flex;
  156. flex-direction: column;
  157. font-size: 26rpx;
  158. margin-top: 27rpx;
  159. margin-right: 31rpx;
  160. .title {
  161. width: 395rpx;
  162. color: #000;
  163. }
  164. .center_box {
  165. display: flex;
  166. align-items: center;
  167. justify-content: space-between;
  168. color: #01AEEA;
  169. font-size: 32rpx;
  170. .money_box {
  171. margin-top: 10rpx;
  172. margin-bottom: 14rpx;
  173. margin-left: 19rpx;
  174. .red {
  175. color: #DB0618;
  176. }
  177. .min {
  178. font-size: 30rpx;
  179. }
  180. .bigs {
  181. font-size: 36rpx;
  182. }
  183. }
  184. }
  185. .alt{
  186. width: 439rpx;
  187. font-size: 24rpx;
  188. color: #6C6C6C;
  189. }
  190. }
  191. }
  192. .btn_moneyNum{
  193. position: fixed;
  194. bottom: 0;
  195. width: 100%;
  196. height: 130rpx;
  197. background-color: #fff;
  198. display: flex;
  199. justify-content: space-between;
  200. align-items: center;
  201. .moneyNum{
  202. margin-left: 40rpx;
  203. .text{
  204. font-size: 32rpx;
  205. color: #000;
  206. }
  207. .num{
  208. font-size: 43rpx;
  209. color: #DB0618;
  210. }
  211. }
  212. .btn{
  213. width: 377rpx;
  214. height: 94rpx;
  215. border-radius: 46rpx;
  216. font-size: 28rpx;
  217. font-weight: bold;
  218. color: #fff;
  219. background-color: #01AEEA;
  220. display: flex;
  221. justify-content: center;
  222. align-items: center;
  223. margin: 0;
  224. margin-right: 15rpx;
  225. }
  226. }
  227. </style>