phb.vue 1.3 KB

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