error.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png" mode="aspectFit" />
  11. </u-col>
  12. <u-col span="4">
  13. <image class="commodity-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png" mode="aspectFit" />
  14. </u-col>
  15. <u-col span="4">
  16. <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png" />
  17. </u-col>
  18. </u-row>
  19. </view>
  20. <view class="topImg">
  21. <image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png" mode="heightFix" />
  22. </view>
  23. <view class="topImg">
  24. <image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg_2.png" mode="heightFix" />
  25. </view>
  26. <!-- 公司简介内容卡片 -->
  27. <view class="content">
  28. <view class="title-1">
  29. </view>
  30. <view class="detail">
  31. <view class="" style="color: #fff;">
  32. {{msg}}
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. export default {
  40. data() {
  41. return {
  42. msg: "未知错误"
  43. }
  44. },
  45. onLoad: function(options) {
  46. if (options.msg){
  47. this.msg = options.msg;
  48. }
  49. },
  50. methods: {
  51. }
  52. }
  53. </script>
  54. <style lang="scss" scoped>
  55. @import url('../../static/scss/common_cjx.css');
  56. .theme-text {
  57. height: 10vh;
  58. text-align: center;
  59. line-height: 11vh;
  60. .textImage {
  61. height: 80rpx;
  62. width: 400rpx;
  63. }
  64. }
  65. .intro-card {
  66. margin: 0 32rpx;
  67. padding: 32rpx 24rpx 24rpx 24rpx;
  68. background: rgba(131, 100, 71, 0.5);
  69. border-radius: 10rpx;
  70. .intro-view {
  71. border: 1px solid #341B10;
  72. padding: 10px;
  73. margin: 10px;
  74. position: relative;
  75. .intro-label {
  76. background-image:
  77. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
  78. /* 使用绝对路径 */
  79. background-size: contain;
  80. background-repeat: no-repeat;
  81. width: 220rpx;
  82. height: 120rpx;
  83. position: absolute;
  84. margin-top: -70rpx;
  85. align-content: center;
  86. .label-title {
  87. font-weight: bold;
  88. font-size: 30rpx;
  89. color: #341B10;
  90. text-align: center;
  91. margin-left: 10px;
  92. height: 120rpx;
  93. line-height: 110rpx;
  94. }
  95. }
  96. .intro-content {
  97. font-size: 28rpx;
  98. color: #5c4322;
  99. line-height: 1.8;
  100. margin: 20rpx 0px;
  101. text-align: justify;
  102. height: 50vh;
  103. align-content: center;
  104. }
  105. .company-img {
  106. width: 100%;
  107. height: 260rpx;
  108. border-radius: 12rpx;
  109. object-fit: cover;
  110. margin-top: 10rpx;
  111. background: #eee;
  112. }
  113. }
  114. }
  115. .winning-picture{
  116. height: 480rpx;
  117. background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
  118. background-size: contain;
  119. background-position: center;
  120. background-repeat: no-repeat;
  121. align-content: center;
  122. text-align: center;
  123. }
  124. .center-image {
  125. height: 100rpx;
  126. object-fit: contain; /* 保持图片的宽高比,确保不会被拉伸或裁切 */
  127. padding-top: 140rpx;
  128. }
  129. .content {
  130. height: 52vh;
  131. border-radius: 10rpx;
  132. margin: 20rpx 40rpx;
  133. padding: 10rpx 24rpx;
  134. overflow: auto;
  135. display: flex;
  136. align-items: center;
  137. justify-content: center;
  138. background-image:
  139. url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
  140. background-size: cover;
  141. background-position: center;
  142. background-repeat: no-repeat;
  143. }
  144. </style>