member.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <template>
  2. <app-layout>
  3. <view class="container">
  4. <view class="header">
  5. <view class="bg"></view>
  6. <view class="title-group dir-top-wrap cross-center main-center">
  7. <view class="title">桥架计算和公示表永久使用</view>
  8. <view class="sub-title">做桥架不求人,让你秒变大师</view>
  9. </view>
  10. </view>
  11. <view class="main">
  12. <view class="bg"></view>
  13. <view class="item-group dir-top-wrap cross-center">
  14. <view class="title">开通桥架会员</view>
  15. <view class="price">
  16. <view class="current">¥58</view>
  17. <view class="origin">¥98</view>
  18. <view class="desc">永久使用</view>
  19. </view>
  20. <u-button shape="circle"
  21. type="success"
  22. hover-class="none"
  23. :custom-style="btnStyle"
  24. >立即开通</u-button>
  25. </view>
  26. </view>
  27. </view>
  28. </app-layout>
  29. </template>
  30. <script>
  31. import appLayout from "@/components/app-layout"
  32. export default {
  33. components:{
  34. appLayout,
  35. },
  36. data() {
  37. return {
  38. }
  39. },
  40. methods: {
  41. },
  42. computed:{
  43. btnStyle() {
  44. return {
  45. border:'none',
  46. background:'linear-gradient(90deg, rgba(196,146,68,1) 0%, rgba(225,193,117,1) 100%, rgba(225,193,117,1) 100%)',
  47. width: '600rpx',
  48. padding: '42rpx 0',
  49. height: '100rpx',
  50. fontSize: '36rpx',
  51. fontWeight: 600
  52. };
  53. }
  54. }
  55. }
  56. </script>
  57. <style lang="scss" scoped>
  58. .container {
  59. padding: 0;
  60. .header {
  61. .bg {
  62. position: absolute;
  63. background: url("@/static/images/member-bg.png") no-repeat center;
  64. background-size: 100% 100%;
  65. height: 300rpx;
  66. left: 0;
  67. top: 0;
  68. width: 750rpx;
  69. z-index: 0;
  70. }
  71. .title-group{
  72. position: relative;
  73. color: #CFBB8B;
  74. height: 220rpx;
  75. .title{
  76. font-size: 48rpx;
  77. font-weight: 600;
  78. }
  79. .sub-title{
  80. margin-top: 8rpx;
  81. font-size: 30rpx;
  82. }
  83. }
  84. }
  85. .main{
  86. position: relative;
  87. .bg{
  88. position: absolute;
  89. background: url("@/static/images/member-bg1.png") no-repeat center;
  90. background-size: 100% 100%;
  91. left: 50%;
  92. transform: translateX(-50%);
  93. height: 750rpx;
  94. width: 680rpx;
  95. z-index: 0;
  96. }
  97. .item-group{
  98. position: relative;
  99. height: 750rpx;
  100. padding: 32rpx 0;
  101. .title{
  102. font-size: 42rpx;
  103. font-weight: 600;
  104. color: #4e5958;
  105. }
  106. }
  107. .price{
  108. border: 4rpx solid #C49244;
  109. color: #c5923d;
  110. padding: 20rpx 60rpx;
  111. text-align: center;
  112. margin-bottom: 100rpx;
  113. margin-top: 100rpx;
  114. border-radius: 10rpx;
  115. .current{
  116. font-weight: 600;
  117. font-size: 42rpx;
  118. padding: 30rpx 0;
  119. }
  120. .origin{
  121. color: #e3c377;
  122. text-decoration: line-through;
  123. }
  124. .desc{
  125. font-size: 40rpx;
  126. padding: 30rpx 0;
  127. }
  128. }
  129. }
  130. }
  131. </style>