phb.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <template>
  2. <view class="content" >
  3. <image :src="top_bg" mode="" class="top-bg"></image>
  4. <view class="bd-wrap flex">
  5. <view class="bd">
  6. </view>
  7. </view>
  8. <view class="" style="height: 60rpx;">
  9. </view>
  10. </view>
  11. </template>
  12. <script>
  13. export default {
  14. data() {
  15. return {
  16. top_bg: this.$store.state.baseURL + '/resource/icon/base/phb-bg.png',
  17. }
  18. },
  19. onLoad() {
  20. },
  21. onShow() {
  22. console.log(this.$store.state.baseURL)
  23. },
  24. onReachBottom() {
  25. },
  26. onReady() {
  27. },
  28. methods: {
  29. }
  30. }
  31. </script>
  32. <style lang="scss" scoped>
  33. page ,.content{
  34. height: auto;
  35. min-height: 100%;
  36. background-color: #900408;
  37. }
  38. .top-bg {
  39. width: 750rpx;
  40. height: 742rpx;
  41. }
  42. .bd-wrap {
  43. width: 699rpx;
  44. height: 1204rpx;
  45. background: #F6E7E4;
  46. border-radius: 14rpx;
  47. justify-content: center;
  48. margin:-150rpx auto 0;
  49. position: relative;
  50. .bd {
  51. width: 666rpx;
  52. height: 1173rpx;
  53. background: #FFFFFF;
  54. border: 1rpx solid #A30F0E;
  55. border-radius: 14rpx;
  56. }
  57. }
  58. </style>