From a4b3ee325c7354579d495bc74a777e494e5ec38c Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Fri, 06 Feb 2026 18:18:44 +0800
Subject: [PATCH] 商品可以价格面议 选择走访时显示输入走访企业名 分会添加活动时要总会审核 分类添加人数限制,添加活动选择了填写人数限制的分类时活动名额下显示该分类人数限制为15 同一个企业30天内只能走访一次,在30天内走访同一个企业时提示该企业已被走访xx天后才可以从新走访
---
mobile/components/diy/hdzq/hdzq.vue | 121 ++++++++++++++++++++++++++++++++++------
1 files changed, 103 insertions(+), 18 deletions(-)
diff --git a/mobile/components/diy/hdzq/hdzq.vue b/mobile/components/diy/hdzq/hdzq.vue
index 2745749..78783c8 100644
--- a/mobile/components/diy/hdzq/hdzq.vue
+++ b/mobile/components/diy/hdzq/hdzq.vue
@@ -1,13 +1,32 @@
<template>
<view class="diy-article">
- <!--列表-->
- <view class="article-item" v-for="(item, index) in listData" :class="'show-type__'+ itemData.style.display"
- :key="index" @click="gotoPageFunc(item)">
- <template>
- <view class="f24 text-ellipsis-2 lh200">
- {{ item.name }}
- </view>
- </template>
+ <view class="hdzq-icon">
+ <image :src="itemData.style.image" mode="aspectFill"></image>
+ </view>
+ <view class="diy-bg" :style="'background-image:url('+itemData.style.background+');'">
+
+ <view class="marquee-container">
+ <view class="marquee-content">
+ <!--列表-->
+ <view class="article-item" v-for="(item, index) in listData" :class="'show-type__'+ itemData.style.display"
+ :key="index" @click="gotoPageFunc(item)">
+ <template>
+ <view class="f24 text-ellipsis-2 lh200" :style="'color:'+itemData.style.textColor+';'">
+ {{ item.name }}
+ </view>
+ </template>
+ </view>
+ <view class="article-item" v-for="(item, index) in listData" :class="'show-type__'+ itemData.style.display"
+ :key="index" @click="gotoPageFunc(item)">
+ <template>
+ <view class="f24 text-ellipsis-2 lh200" :style="'color:'+itemData.style.textColor+';'">
+ {{ item.name }}
+ </view>
+ </template>
+ </view>
+ <!--列表-->
+ </view>
+ </view>
</view>
</view>
</template>
@@ -17,7 +36,7 @@
data() {
return {
/*数据列表*/
- listData: []
+ listData: [],
};
},
props: ['itemData'],
@@ -25,7 +44,6 @@
this.listData = this.itemData.data;
},
methods: {
-
/*跳转页面*/
gotoPageFunc(e) {
if(e.is_check == 1){
@@ -59,16 +77,79 @@
}
.diy-article {
background: #ffffff;
- margin: 20rpx;
+ margin: 20rpx 0px;
+ padding:0px 10rpx;
border-radius: 6rpx;
- padding: 0 30rpx;
box-shadow: 0px 8rpx 3rpx 0px rgba(6, 0, 1, 0.03);
+ }
+
+ .marquee-container {
+ height: 100%;
+ overflow: hidden;
+ position: relative;
+ }
+
+ .marquee-content {
+ animation: scrollUp 20s linear infinite;
+ }
+
+ .marquee-content.paused {
+ animation-play-state: paused;
+ }
+
+ .marquee-item {
+ height: 80rpx;
+ line-height: 80rpx;
+ padding: 0 30rpx;
+ margin: 10rpx 20rpx;
+ background: rgba(255, 255, 255, 0.9);
+ border-radius: 40rpx;
+ font-size: 28rpx;
+ text-align: center;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ @keyframes scrollUp {
+ 0% {
+ transform: translateY(0);
+ }
+ 100% {
+ transform: translateY(-50%);
+ }
+ }
+
+ .marquee-control {
+ position: absolute;
+ bottom: 20rpx;
+ right: 20rpx;
+ width: 60rpx;
+ height: 60rpx;
+ background: rgba(0, 0, 0, 0.5);
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: white;
+ font-size: 24rpx;
+ z-index: 10;
+ }
+
+
+ .diy-bg{
+ width: 100%;
+ height: 350rpx;
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: cover;
+ overflow: hidden;
}
.diy-article .show-type__10,
.diy-article .show-type__20 {
display: flex;
- padding: 30rpx 0;
+ padding:20rpx;
border-bottom: 1rpx solid #eeeeee;
}
@@ -92,14 +173,18 @@
height: 36rpx;
}
- .diy-article image {
- width: 100%;
- height: 100%;
- border-radius: 12rpx;
- }
.diy-article .show-type__10 .icon.iconfont {
font-size: 18rpx;
color: #999999;
}
+
+ .diy-article .hdzq-icon {
+ width: 100%;
+ }
+
+ .diy-article .hdzq-icon image {
+ width: auto;
+ height: 80rpx;
+ }
</style>
--
Gitblit v1.9.2