| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <template>
- <view class="intro-page common">
- <view class="top-class"></view>
- <view class="title">
- 梅干古镇
- </view>
- <view class="head">
- <u-row class="row-class">
- <u-col span="4">
- <image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" />
- </u-col>
- <u-col span="4">
- <image class="commodity-img" src="/static/images/common/commodity.png" mode="aspectFit" />
- </u-col>
- <u-col span="4">
- </u-col>
- </u-row>
- </view>
- <view class="theme-text">
- <image src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/text.png"
- class="textImage"></image>
- </view>
- <!-- 公司简介内容卡片 -->
- <view class="intro-card">
- <view class="intro-view">
- <view class="intro-label">
- <view class="label-title">
- 扫码错误
- </view>
- </view>
- <view class="intro-content">
- <view class="winning-picture">
- <image class="center-image" src="../../static/images/common/qrcode-scan.png" mode="heightFix"></image>
- <view class="">
- {{msg}}
- </view>
- </view>
- </view>
-
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- msg: "未知错误"
- }
- },
- onLoad: function(options) {
- if (options.msg){
- this.msg = options.msg;
- }
- },
- methods: {
-
- }
- }
- </script>
- <style lang="scss" scoped>
- @import url('../../static/scss/common.css');
- .row-class {
- height: 80rpx;
- }
- .logo-img {
- background-size: cover;
- /* 确保背景图片自适应填充整个容器 */
- background-position: center;
- /* 背景图片居中显示 */
- background-repeat: no-repeat;
- /* 防止背景图重复 */
- height: 42rpx;
- width: 62%;
- }
- .commodity-img {
- background-size: cover;
- /* 确保背景图片自适应填充整个容器 */
- background-position: center;
- /* 背景图片居中显示 */
- background-repeat: no-repeat;
- /* 防止背景图重复 */
- height: 35rpx;
- width: 100%;
-
- }
- .theme-text {
- height: 10vh;
- text-align: center;
- line-height: 11vh;
- .textImage {
- height: 80rpx;
- width: 400rpx;
- }
- }
- .intro-card {
- margin: 0 32rpx;
- padding: 32rpx 24rpx 24rpx 24rpx;
- background: rgba(131, 100, 71, 0.5);
- border-radius: 10rpx;
- .intro-view {
- border: 1px solid #341B10;
- padding: 10px;
- margin: 10px;
- position: relative;
-
- .intro-label {
- background-image:
- url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/label.png");
- /* 使用绝对路径 */
- background-size: contain;
- background-repeat: no-repeat;
- width: 220rpx;
- height: 120rpx;
- position: absolute;
- margin-top: -70rpx;
- align-content: center;
- .label-title {
- font-weight: bold;
- font-size: 30rpx;
- color: #341B10;
- text-align: center;
- margin-left: 10px;
- height: 120rpx;
- line-height: 110rpx;
- }
- }
- .intro-content {
- font-size: 28rpx;
- color: #5c4322;
- line-height: 1.8;
- margin: 20rpx 0px;
- text-align: justify;
- height: 50vh;
- align-content: center;
- }
- .company-img {
- width: 100%;
- height: 260rpx;
- border-radius: 12rpx;
- object-fit: cover;
- margin-top: 10rpx;
- background: #eee;
- }
- }
- }
- .winning-picture{
- height: 480rpx;
- background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
- background-size: contain;
- background-position: center;
- background-repeat: no-repeat;
- align-content: center;
- text-align: center;
- }
-
- .center-image {
- height: 100rpx;
- object-fit: contain; /* 保持图片的宽高比,确保不会被拉伸或裁切 */
- padding-top: 140rpx;
- }
-
- </style>
|