info.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <template>
  2. <view class="pd16_15">
  3. <view class="box" style="padding: 64rpx 30rpx 30rpx 30rpx;">
  4. <view class="flex center">
  5. <image class="member-info-face" :src="statics.defaultFace"></image>
  6. </view>
  7. <view class="text-center ft16 ftw600 mt16">董小姐</view>
  8. <view class="mt24 box-form-item plr15 flex alcenter space">
  9. <text class="ft14">生日</text>
  10. <select-birthday v-model="birthday"></select-birthday>
  11. </view>
  12. <view class="mt16 flex alcenter">
  13. <image style="width: 64rpx; height: 64rpx;" :src="statics.birthdayGift"></image>
  14. <view class="ft12 pl15 lh20 cl-main" style="width: calc(100% - 64rpx);">
  15. 填写生日后,符合要求的VIP会员将于每年生日当月<text class="ft12" :style="{color:tempColor}">获赠生日礼包~</text>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="mt24">
  20. <button class="btn-big" :style="isSelect == false ? getBtnDisStyle : getBtnStyle">确定保存</button>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default{
  26. data(){
  27. return {
  28. birthday:[],
  29. }
  30. },
  31. computed:{
  32. isSelect(){
  33. let select = false;
  34. if(this.birthday.length > 0) {
  35. select = true;
  36. }
  37. return select;
  38. }
  39. },
  40. onLoad(){
  41. },
  42. methods:{
  43. }
  44. }
  45. </script>
  46. <style>
  47. .member-info-face{
  48. width: 160rpx;
  49. height: 160rpx;
  50. border-radius: 80rpx;
  51. }
  52. .box-form-item{
  53. height: 100rpx;
  54. width: 100%;
  55. border-radius: 50rpx;
  56. background: #F5F6FA;
  57. color:#5C5E66;
  58. }
  59. </style>