|
|
@@ -1,167 +1,151 @@
|
|
|
<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="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png" mode="aspectFit" />
|
|
|
- </u-col>
|
|
|
- <u-col span="4">
|
|
|
- <image class="commodity-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png" mode="aspectFit" />
|
|
|
- </u-col>
|
|
|
- <u-col span="4">
|
|
|
- <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png" />
|
|
|
- </u-col>
|
|
|
- </u-row>
|
|
|
- </view>
|
|
|
- <view class="topImg">
|
|
|
- <image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png" mode="heightFix" />
|
|
|
- </view>
|
|
|
- <view class="topImg">
|
|
|
- <image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg_2.png" mode="heightFix" />
|
|
|
- </view>
|
|
|
- <!-- 公司简介内容卡片 -->
|
|
|
- <view class="content">
|
|
|
- <view class="title-1">
|
|
|
-
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="detail">
|
|
|
- <view class="" style="color: #fff;">
|
|
|
- {{msg}}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- </view>
|
|
|
+ <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="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/logo.png" mode="aspectFit" />
|
|
|
+ </u-col>
|
|
|
+ <u-col span="4">
|
|
|
+ <image class="commodity-img" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/commodity.png" mode="aspectFit" />
|
|
|
+ </u-col>
|
|
|
+ <u-col span="4">
|
|
|
+ <image class="logo-rules" @click="openDetail" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/rules.png" />
|
|
|
+ </u-col>
|
|
|
+ </u-row>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="topImg">
|
|
|
+ <image class="img_1" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg.png" mode="heightFix" />
|
|
|
+ </view>
|
|
|
+ <view class="topImg">
|
|
|
+ <image class="img_2" src="https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/topImg_2.png" mode="heightFix" />
|
|
|
+ </view>
|
|
|
+ <view class="content">
|
|
|
+ <view class="title-1">
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="detail">
|
|
|
+ <view class="text-detail">
|
|
|
+ 您所查询的是超吉炫“新型低纤”精致槟榔,是正牌产品,感谢您的购买!
|
|
|
+ </view>
|
|
|
+ <view class="text-one">
|
|
|
+ </view>
|
|
|
+ <view class="text-one">
|
|
|
+ {{msg}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <CustomTabbar />
|
|
|
+
|
|
|
+ </view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-
|
|
|
- export default {
|
|
|
- data() {
|
|
|
- return {
|
|
|
- msg: "未知错误"
|
|
|
- }
|
|
|
- },
|
|
|
- onLoad: function(options) {
|
|
|
- if (options.msg){
|
|
|
- this.msg = options.msg;
|
|
|
- }
|
|
|
- },
|
|
|
- methods: {
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
+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_cjx.css');
|
|
|
|
|
|
-
|
|
|
- .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;
|
|
|
- }
|
|
|
-
|
|
|
- .content {
|
|
|
- height: 52vh;
|
|
|
- border-radius: 10rpx;
|
|
|
- margin: 20rpx 40rpx;
|
|
|
- padding: 10rpx 24rpx;
|
|
|
- overflow: auto;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- background-image:
|
|
|
- url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
|
|
|
- background-size: cover;
|
|
|
- background-position: center;
|
|
|
- background-repeat: no-repeat;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
+.row-class {
|
|
|
+ height: 80rpx;
|
|
|
+}
|
|
|
+
|
|
|
+.theme-text {
|
|
|
+ height: 10vh;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 11vh;
|
|
|
+
|
|
|
+ .textImage {
|
|
|
+ height: 80rpx;
|
|
|
+ width: 400rpx;
|
|
|
+ }
|
|
|
+}
|
|
|
+.title-1{
|
|
|
+ text-align: center;
|
|
|
+ color: #A7001C;
|
|
|
+ font-size: 18px;
|
|
|
+ letter-spacing: 4px;
|
|
|
+ font-weight: 600;
|
|
|
+}
|
|
|
+
|
|
|
+.winning-picture{
|
|
|
+ height: 460rpx;
|
|
|
+ background-image: url(https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiZj.png);
|
|
|
+ background-size: contain;
|
|
|
+ background-position: center;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center; /* 水平居中 */
|
|
|
+ // align-items: center; /* 垂直居中 */
|
|
|
+}
|
|
|
+.detail{
|
|
|
+ margin: 20rpx 40rpx;
|
|
|
+ border-radius: 10rpx;
|
|
|
+ padding: 10rpx;
|
|
|
+ margin-top: 30vh;
|
|
|
+ background-image:
|
|
|
+ url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png");
|
|
|
+ background-size: cover;
|
|
|
+ background-position: center;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+}
|
|
|
+.text-detail{
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #F6F6F9;
|
|
|
+ margin-bottom: 10rpx;
|
|
|
+ padding: 20rpx;
|
|
|
+}
|
|
|
+
|
|
|
+.text-one{
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #FF31C2 ;
|
|
|
+ margin-bottom: 10rpx;
|
|
|
+ padding: 20rpx;
|
|
|
+
|
|
|
+}
|
|
|
+.detail-btn{
|
|
|
+ text-align: center;
|
|
|
+ color: #F9D395;
|
|
|
+ height: 60rpx;
|
|
|
+ line-height: 60rpx;
|
|
|
+ margin-right: 20rpx;
|
|
|
+ font-size: 13px;
|
|
|
+ background-color: #901710;
|
|
|
+ padding: 3px;
|
|
|
+ border-radius: 5px;
|
|
|
+
|
|
|
+}
|
|
|
+.center-image {
|
|
|
+ height: 280rpx;
|
|
|
+ object-fit: contain; /* 保持图片的宽高比,确保不会被拉伸或裁切 */
|
|
|
+}
|
|
|
+::v-deep .detail-btn span {
|
|
|
+ background-color: #8E1813;
|
|
|
+ padding: 4rpx;
|
|
|
+ border-radius: 8rpx;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 26rpx;
|
|
|
+}
|
|
|
</style>
|