error.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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" justify="flex-end">
  9. <u-col span="4">
  10. <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/qilang/common/rules.png" />
  11. </u-col>
  12. </u-row>
  13. </view>
  14. <view class="content">
  15. <view class="title-1">
  16. </view>
  17. <view class="detail">
  18. <view class="text-detail">
  19. 您所查询的是七榔槟榔,是正牌产品,感谢您的购买!
  20. </view>
  21. <view class="text-one">
  22. </view>
  23. <view class="text-one">
  24. {{msg}}
  25. </view>
  26. </view>
  27. </view>
  28. <CustomTabbar />
  29. </view>
  30. </template>
  31. <script>
  32. export default {
  33. data() {
  34. return {
  35. msg: "未知错误"
  36. }
  37. },
  38. onLoad: function(options) {
  39. if (options.msg){
  40. this.msg = options.msg;
  41. }
  42. },
  43. methods: {
  44. }
  45. }
  46. </script>
  47. <style lang="scss" scoped>
  48. @import url('../../static/scss/common_qilang.css');
  49. .row-class {
  50. height: 80rpx;
  51. }
  52. .theme-text {
  53. height: 10vh;
  54. text-align: center;
  55. line-height: 11vh;
  56. .textImage {
  57. height: 80rpx;
  58. width: 400rpx;
  59. }
  60. }
  61. .title-1{
  62. text-align: center;
  63. color: #A7001C;
  64. font-size: 18px;
  65. letter-spacing: 4px;
  66. font-weight: 600;
  67. }
  68. .winning-picture{
  69. height: 460rpx;
  70. background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
  71. background-size: contain;
  72. background-position: center;
  73. background-repeat: no-repeat;
  74. display: flex;
  75. justify-content: center; /* 水平居中 */
  76. // align-items: center; /* 垂直居中 */
  77. }
  78. .detail{
  79. border-radius: 10rpx;
  80. padding: 10rpx;
  81. margin: 30vh 40rpx 20rpx;
  82. height: 20vh;
  83. background: #FDE2B1;
  84. border: 4px solid #FB911B;
  85. }
  86. .text-detail{
  87. font-weight: 500;
  88. font-size: 28rpx;
  89. color: #000000;
  90. margin-bottom: 10rpx;
  91. padding: 20rpx;
  92. }
  93. .text-one{
  94. font-weight: 400;
  95. font-size: 26rpx;
  96. color: #901710 ;
  97. margin-bottom: 10rpx;
  98. padding: 20rpx;
  99. }
  100. .detail-btn{
  101. text-align: center;
  102. color: #F9D395;
  103. height: 60rpx;
  104. line-height: 60rpx;
  105. margin-right: 20rpx;
  106. font-size: 13px;
  107. background-color: #901710;
  108. padding: 3px;
  109. border-radius: 5px;
  110. }
  111. .center-image {
  112. height: 280rpx;
  113. object-fit: contain; /* 保持图片的宽高比,确保不会被拉伸或裁切 */
  114. }
  115. ::v-deep .detail-btn span {
  116. background-color: #8E1813;
  117. padding: 4rpx;
  118. border-radius: 8rpx;
  119. font-weight: 400;
  120. font-size: 26rpx;
  121. }
  122. </style>