test1.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <view class="">
  3. <view class="card">
  4. <view class="top">
  5. <view class="center">
  6. <text class="cuIcon-time margin-right-10"></text>
  7. <text style="color: #333333;">2021-10-18 14:36:43</text>
  8. </view>
  9. <text class="text-base">已付款</text>
  10. </view>
  11. <view class="content">
  12. <scroll-view :scroll-x="true">
  13. <image v-for="(item,index) in 8" :key="index" src="https://guosen-bucket-ldt.obs.cn-south-1.myhuaweicloud.com:443/f6a8c0cb362e47f5a8ec1b7831e21fc2-maltan.png" mode=""></image>
  14. </scroll-view>
  15. </view>
  16. <view class="data">
  17. <text style="font-size: 24rpx;color: #848484" class="price">共10件商品,合计:88</text>
  18. </view>
  19. <view class="bottom">
  20. <view class="cu-btn round line-base sm">
  21. 确认订单
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. name: '',
  30. data() {
  31. return {
  32. };
  33. },
  34. onLoad() {
  35. },
  36. methods:{
  37. }
  38. };
  39. </script>
  40. <style>
  41. page{
  42. background-color: #f2f2f2;
  43. }
  44. </style>
  45. <style lang="scss" scoped>
  46. .card{
  47. border-radius: 20rpx;
  48. padding: 15rpx;
  49. background-color: #FFFFFF;
  50. margin: 15rpx;
  51. box-shadow: 10rpx 10rpx 10rpx #dedede;
  52. .top{
  53. font-size: 28rpx;
  54. padding:10rpx;
  55. display: flex;
  56. justify-content: space-between;
  57. border-bottom: 1rpx dashed #DDDDDD;
  58. }
  59. .content{
  60. white-space: nowrap;
  61. padding: 20rpx 0;
  62. image{
  63. width: 120rpx;
  64. height: 120rpx;
  65. border-radius: 10rpx;
  66. margin-right: 15rpx;
  67. }
  68. }
  69. .data{
  70. display: flex;
  71. justify-content: flex-end;
  72. }
  73. .bottom{
  74. padding-top: 30rpx;
  75. display: flex;
  76. justify-content: flex-end;
  77. }
  78. }
  79. </style>