unWinPrize.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <template>
  2. <view class="intro-page common">
  3. <view class="top-class"></view>
  4. <view class="title">
  5. 梅山古镇
  6. </view>
  7. <view class="head">
  8. <u-row class="row-class">
  9. <u-col span="4">
  10. <image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
  11. </u-col>
  12. <u-col span="4">
  13. <image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" />
  14. </u-col>
  15. <u-col span="4">
  16. </u-col>
  17. </u-row>
  18. </view>
  19. <view class="theme-text">
  20. <image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
  21. class="textImage"></image>
  22. </view>
  23. <!-- 公司简介内容卡片 -->
  24. <view class="intro-card">
  25. <view class="intro-view">
  26. <view class="intro-content">
  27. <view>
  28. <image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/prize/unWinPrize_1.png" mode="heightFix"
  29. class="prize_image_1"></image>
  30. </view>
  31. <view>
  32. <image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/prize/unWinPrize_2.png" mode="heightFix"
  33. class="prize_image_2"></image>
  34. </view>
  35. <view>你比我大,</view>
  36. <view>为什么我出生那天你没来看我!</view>
  37. </view>
  38. </view>
  39. </view>
  40. <!-- 返回按钮 -->
  41. <view class="footer-btn">
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. export default {
  47. methods: {
  48. goBack() {
  49. uni.navigateBack();
  50. }
  51. }
  52. }
  53. </script>
  54. <style lang="scss" scoped>
  55. @import url('../../../static/scss/common.css');
  56. .row-class {
  57. height: 80rpx;
  58. }
  59. .logo-img {
  60. background-size: cover;
  61. /* 确保背景图片自适应填充整个容器 */
  62. background-position: center;
  63. /* 背景图片居中显示 */
  64. background-repeat: no-repeat;
  65. /* 防止背景图重复 */
  66. height: 42rpx;
  67. width: 62%;
  68. }
  69. .commodity-img {
  70. background-size: cover;
  71. /* 确保背景图片自适应填充整个容器 */
  72. background-position: center;
  73. /* 背景图片居中显示 */
  74. background-repeat: no-repeat;
  75. /* 防止背景图重复 */
  76. height: 35rpx;
  77. width: 100%;
  78. }
  79. .theme-text {
  80. height: 10vh;
  81. text-align: center;
  82. line-height: 11vh;
  83. .textImage {
  84. height: 80rpx;
  85. width: 400rpx;
  86. }
  87. }
  88. .prize_image_1{
  89. height: 140rpx;
  90. }
  91. .prize_image_2{
  92. height: 280rpx
  93. }
  94. .intro-card {
  95. margin: 0 32rpx;
  96. padding: 32rpx 24rpx 24rpx 24rpx;
  97. background: rgba(131, 100, 71, 0.5);
  98. border-radius: 10rpx;
  99. .intro-view {
  100. border: 1px solid #341B10;
  101. padding: 10px;
  102. margin: 10px;
  103. position: relative;
  104. height: 56vh;
  105. .intro-content {
  106. font-size: 40rpx;
  107. color: #5c4322;
  108. line-height: 1.8;
  109. margin: 20rpx 0px;
  110. text-align: center;
  111. font-weight: 500;
  112. color: #9B0000;
  113. }
  114. .company-img {
  115. width: 100%;
  116. height: 260rpx;
  117. border-radius: 12rpx;
  118. object-fit: cover;
  119. margin-top: 10rpx;
  120. background: #eee;
  121. }
  122. }
  123. }
  124. </style>