packs_details.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <template>
  2. <view style="width: 100%;height: 100%;background-color: #ececec;">
  3. <!-- 卡券 -->
  4. <view class="card">
  5. <view>
  6. <!-- 放图片 标题 -->
  7. <view class="title">
  8. <image src="../../static/横占位图.png" class="img"></image>
  9. </view>
  10. <!-- 放描述 -->
  11. <view class="describe"></view>
  12. </view>
  13. </view>
  14. <view class="round" style="position:absolute;top: 20vh;right:0;"></view>
  15. <view class="round" style="position:absolute;top: 20vh;"></view>
  16. <!-- 底部按钮 -->
  17. <view class="footer">
  18. <view class="cu-bar bg-white tabbar border shop" style="width: 100%;">
  19. <button class="action" open-type="contact" style="width: 33%;">
  20. <view class="cuIcon-service text-green">
  21. </view>
  22. 客服
  23. </button>
  24. <view class="submit" @click="next" style="background-color: #0B73B9; color: #FFFFFF;">选购服务包</view>
  25. </view>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. </script>
  31. <style lang="scss">
  32. .footer {
  33. width: 100%;
  34. height: auto;
  35. display: flex;
  36. position: fixed;
  37. bottom: 0;
  38. }
  39. .round {
  40. height: 50rpx;
  41. width: 50rpx;
  42. border-radius: 50%;
  43. background-color: #ececec;
  44. }
  45. .card {
  46. padding: 30rpx 30rpx;
  47. box-sizing: border-box;
  48. view {
  49. width: 100%;
  50. background-color: #ffffff;
  51. border-radius: 15rpx;
  52. .title {
  53. width: 100%;
  54. height: 20vh;
  55. display: flex;
  56. justify-content: center;
  57. align-items: flex-end;
  58. .img{
  59. width: 85%;
  60. height: 90%;
  61. }
  62. }
  63. .describe {
  64. width: 100%;
  65. height: 80vh;
  66. }
  67. }
  68. }
  69. </style>