activity.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689
  1. <template>
  2. <view class="container activity-content">
  3. <!-- 活动、日程 -->
  4. <view class="top-content" id="idtop">
  5. <view class="tab">
  6. <view class="tab-item" v-for="(item, index) in tabs" :key="item.id">
  7. <view class="scroll-tab-item" :class="{ active: tabsActive == index }" @click="toggleTab(item, index)">
  8. {{ item.name }}
  9. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/border_act.png" class="border_act" v-if="tabsActive == index" mode=""> </image>
  10. </view>
  11. </view>
  12. </view>
  13. </view>
  14. <!-- 筛选状态 -->
  15. <view class="screen-item" v-if="tabsActive == 0">
  16. <text :class="isShowJurisdiction ? 'active' : ''" @click="permissioActivity">有权限行业</text>
  17. <!-- 各种状态选择 -->
  18. <view class="select-conyent">
  19. <van-dropdown-menu active-color="#333333">
  20. <van-dropdown-item id="industry" :title="chartPermissionName">
  21. <view class="menu-items">
  22. <view class="menu-items-box" v-for="item in listChartPermission" :key="item.ChartPermissionId" @click="overallClick(item)">
  23. <view class="items-box">
  24. <u-icon v-if="item.IsChoose" name="checkbox-mark" :color="isShowJurisdiction ? '#ccc' : '#2C83FF'" size="24"></u-icon>
  25. </view>
  26. <text>{{ item.PermissionName }}</text>
  27. </view>
  28. </view>
  29. <view class="replacement">
  30. <text @click="replacementBtn" class="replacement-box">重置</text>
  31. <text @click="replacementConfirm">确定</text>
  32. </view>
  33. </van-dropdown-item>
  34. </van-dropdown-menu>
  35. </view>
  36. <text v-for="item in activityTimeList" :key="item.Id" :class="item.IsChoose ? 'active' : ''" @click="isActivityDate(item.Id)">{{ item.StatusName }}</text>
  37. </view>
  38. <!-- 活动列表 -->
  39. <view class="collect-activity" v-if="haveData && tabsActive == 0">
  40. <view class="content-list">
  41. <view class="half">
  42. <view class="activity-ltem" v-for="(item, index) in collectTypeList" :key="index" v-if="index % 2 == 0">
  43. <image class="zindex-one" :src="item.ImgUrl"></image>
  44. <image class="zindex-two" :src="item.ImgUrlBg"></image>
  45. <view class="content">
  46. <view class="item-img" @click="goDetails(item.ActivityTypeId,item.ActivityTypeName)">
  47. {{ item.ActivityTypeName }}
  48. </view>
  49. <view class="activity-li" v-for="val in item.List" :key="val.KeyWord" @click="goDetails(val.KeyWord)">
  50. <image class="item-image" lazy-load :src="val.ImgUrlBg"></image>
  51. <text class="text_oneLine"> {{ val.KeyWord }}</text>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="half">
  57. <view class="activity-ltem" v-for="(item, index) in collectTypeList" :key="index" v-if="index % 2 != 0">
  58. <image class="zindex-one" :src="item.ImgUrl"></image>
  59. <image class="zindex-two" :src="item.ImgUrlBg"></image>
  60. <view class="content">
  61. <view class="item-img" @click="goDetails(item.ActivityTypeId,item.ActivityTypeName)">
  62. {{ item.ActivityTypeName }}
  63. </view>
  64. <view class="activity-li" v-for="val in item.List" :key="val.KeyWord" @click="goDetails(val.KeyWord)">
  65. <image class="item-image" lazy-load :src="val.ImgUrlBg"></image>
  66. <text class="text_oneLine"> {{ val.KeyWord }}</text>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="totalPage > 1" />
  73. </view>
  74. <view class="collect-ul" v-else-if="haveData && tabsActive !== 0">
  75. <view class="collect-ltem" v-for="(item, index) in collectList" :key="index">
  76. <view class="title-date" @click="goDetail(item)">
  77. <text :class="item.ActivityType == 1 ? '' : 'xianxia'">{{ item.ActivityType == 1 ? "线上" : "线下" }}</text>
  78. {{ item.ActivityTimeText }}
  79. </view>
  80. <view class="item-li">
  81. <view class="item-img" @click="goDetail(item)">
  82. <image :src="item.ImgUrl">
  83. <text v-if="item.ActiveState == 1" class="img-status begin">未开始</text>
  84. <text v-else-if="item.ActiveState == 2" class="img-status proceed">进行中</text>
  85. <text v-else class="img-status">已结束</text>
  86. <view class="img-type">
  87. <image :src="item.ImgUrlText" mode=""></image>
  88. </view>
  89. </view>
  90. <view class="item">
  91. <view class="item-text" @click="goDetail(item)">
  92. <text class="activity-title"> {{ item.ActivityName }} </text>
  93. <text class="text_twoLine" v-if="item.ActivityTypeName == '专家电话会' || item.ActivityTypeName == '专家线下沙龙' || item.ActivityTypeName == '研选电话会'">专家背景:{{ item.Expert }} </text>
  94. <text class="text_twoLine" v-if="item.ActivityTypeName == '公司调研电话会' || item.ActivityTypeName == '公司线下调研'">嘉宾:{{ item.DistinguishedGuest }} </text>
  95. <text class="text_twoLine" v-if="item.ActivityTypeName == '分析师电话会' || item.ActivityTypeName == '分析师线下沙龙'">主讲人:{{ item.Speaker }}</text>
  96. </view>
  97. <block v-if="item.ActiveState == 1">
  98. <view class="bottom-box city" v-if="item.ActiveState == 1 && item.IsLimitPeople == 1 && item.ActivityTypeName == '公司调研电话会'">
  99. <view class="city-img">
  100. <image v-if="item.City" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/location.png" />
  101. {{ item.City }}
  102. </view>
  103. <text class="button" v-if="item.IsSignup !== 1" @click="wanttosignup(item.ActivityId)">我要报名</text>
  104. <text class="button" v-else @click="signupCancel(item.ActivityId, 2, item.ActivityTime)">{{ item.SignupType == 1 ? "取消外呼" : "取消报名" }}</text>
  105. </view>
  106. <view class="bottom-box" v-else-if="item.ActivityType == 1">
  107. <view class="" style="width: 130rpx">
  108. <text v-if="item.ActivityTypeId == 1" @click="askingGo(item)">帮我带问</text>
  109. </view>
  110. <text @click="meetingReminderAdd(item.ActivityId)" v-if="item.IsCancelMeetingReminder == 0">会议提醒</text>
  111. <text @click="meetingReminderCancel(item.ActivityId)" v-else>取消提醒</text>
  112. <text class="button" v-if="item.IsSignup !== 1" @click="signupAdd(item.ActivityId, 1)">预约外呼</text>
  113. <text class="button" @click="signupCancel(item.ActivityId, 1, item.ActivityTime)" v-else>取消外呼</text>
  114. </view>
  115. <view class="bottom-box city" v-else>
  116. <view class="city-img">
  117. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/location.png" />
  118. {{ item.City }}
  119. </view>
  120. <text class="button" v-if="item.IsSignup !== 1" @click="signupAdd(item.ActivityId, 3)">我要报名</text>
  121. <text class="button" v-else @click="signupCancel(item.ActivityId, 3, item.ActivityTime)">取消报名</text>
  122. </view>
  123. </block>
  124. <block v-else>
  125. <view class="bottom-box city" v-if="item.City">
  126. <view class="city-img">
  127. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/location.png" />
  128. {{ item.City }}
  129. </view>
  130. </view>
  131. <view class="bottom-box real-time" v-if="item.ActiveState == 2 && item.ActivityTypeId == 1">
  132. <text class="button" @click="askingGo(item,'提问')">实时提问</text>
  133. </view>
  134. </block>
  135. </view>
  136. </view>
  137. </view>
  138. <u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="totalPage > 1" />
  139. </view>
  140. <view class="nodata" v-if="!haveData">
  141. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/act_search.png" mode="" class="nodata_ico"></image>
  142. <text>{{ tabsActive == 0 ? "暂时没有符合条件的活动" : "暂无我的日程" }}</text>
  143. </view>
  144. <view class="more" v-if="tabsActive == 0" @click="goSearch">更多进行中和已结束的主题>></view>
  145. <!-- 所有自定义弹框 -->
  146. <modalDialog
  147. :isShow="isShow"
  148. :signupType="signupType"
  149. :goFollow="goFollow"
  150. :signupStatus="signupStatus"
  151. :hasPermission="hasPermission"
  152. :jurisdictionList="jurisdictionList"
  153. :editIsShow="editIsShow"
  154. :isCancelShow="isCancelShow"
  155. :idTypeCancel="idTypeCancel"
  156. @cancelShowBtn="cancelEnsure"
  157. :countryCode="countryCode"
  158. :mobileEdit="mobileEdit"
  159. :goOnNextStep="goOnNextStep"
  160. :isShowhasPermission="isShowhasPermission"
  161. :applyForIsShow="applyForIsShow"
  162. :mailboxBinding="mailboxBinding"
  163. />
  164. </view>
  165. </template>
  166. <script>
  167. import { activity } from "@/config/api.js";
  168. import { Throttle } from "@/config/util.js";
  169. import myActivityMixin from "@/activityPages/components/indexActivity.js";
  170. import modalDialog from "@/components/modalDialog.vue";
  171. let app = getApp();
  172. export default {
  173. mixins: [myActivityMixin],
  174. components: {
  175. modalDialog,
  176. },
  177. data() {
  178. return {
  179. tabs: [
  180. {
  181. name: "全部活动",
  182. id: 1,
  183. },
  184. {
  185. name: "我的日程",
  186. id: 2,
  187. },
  188. ],
  189. collectTypeList:[],
  190. chartPermissionName: "所有行业",
  191. haveData: true,
  192. activityTimeList: [
  193. { Id: 1, IsChoose: false, StatusName: "今日活动" },
  194. { Id: 2, IsChoose: false, StatusName: "明日活动" },
  195. ],
  196. whichDay: "",
  197. listChartPermission: [],
  198. listChartPermissionInit: [],
  199. chartPermissionIds: "",
  200. isShowJurisdiction: false, //
  201. isGetJurisdiction: 0,
  202. isrefresh: true,
  203. activityTypeId:''
  204. };
  205. },
  206. computed: {
  207. messageTitle() {
  208. let arr = this.whichDay ? this.whichDay.split(",") : [];
  209. let whichData = arr.length == 2 ? "今日活动,明日活动" : arr == "1" ? "今日活动" : arr == "2" ? "明日活动" : "";
  210. let title = whichData ? whichData + "," + this.chartPermissionName : this.chartPermissionName !== "所有行业" ? this.chartPermissionName : "";
  211. return title || "近期所有行业活动预告";
  212. },
  213. },
  214. methods: {
  215. async getUserSearchContent() {
  216. const res = await activity.getUserSearchContent({
  217. IsShowJurisdiction: this.isGetJurisdiction,
  218. });
  219. if (res.Ret === 200) {
  220. this.isShowJurisdiction = res.Data.IsShowJurisdiction;
  221. this.listChartPermission = res.Data.ListChartPermission;
  222. this.listChartPermissionInit = res.Data.ListChartPermission2;
  223. this.clickPermission()
  224. if (this.chartPermissionIds) {
  225. this.closeTheWindow();
  226. }
  227. }
  228. },
  229. async getActivityLabelTypeList() {
  230. const res = await activity.getActivityLabelTypeList({
  231. ChartPermissionIds: this.chartPermissionIds,
  232. IsShowJurisdiction: this.isGetJurisdiction,
  233. ActiveState: "1",
  234. WhichDay: this.whichDay,
  235. IsPower: this.isGetJurisdiction,
  236. });
  237. if (res.Ret === 200) {
  238. this.collectTypeList = res.Data.List || [];
  239. this.haveData= this.collectTypeList.length ? true : false;
  240. if (this.refresh) {
  241. uni.stopPullDownRefresh();
  242. this.refresh = false;
  243. }
  244. }
  245. },
  246. async getActivityList(){
  247. const res= await activity.getScheduleList({ PageSize: this.pageSize, CurrentIndex: this.page_no });
  248. if (res.Ret === 200) {
  249. this.contentImg = res.Data.ImgUrl;
  250. this.contentLabel = res.Data.Label;
  251. this.status = this.page_no < res.Data.Paging.Pages ? "loadmore" : "nomore";
  252. if (this.page_no === 1) {
  253. this.collectList = res.Data.List || [];
  254. this.haveData= this.collectList.length ? true : false;
  255. if (this.refresh) {
  256. uni.stopPullDownRefresh();
  257. this.refresh = false;
  258. }
  259. } else {
  260. this.collectList = this.collectList.concat(res.Data.List);
  261. }
  262. }
  263. },
  264. //头部tabs切换
  265. toggleTab(item, index) {
  266. if (!this.$store.state.isAuth && !this.$store.state.isBind) {
  267. //已授权已绑定
  268. if (index != this.tabsActive) {
  269. this.tabsActive = index;
  270. this.page_no = 1;
  271. this.collectTypeList = [];
  272. this.collectList=[]
  273. this.tabsActive==0 ? this.getActivityLabelTypeList() : this.getActivityList()
  274. if(this.tabsActive !==0 ){
  275. this.selectComponent("#industry").toggle(false);
  276. }
  277. }
  278. } else {
  279. //已授权未绑定
  280. uni.navigateTo({
  281. url: "/pageMy/login/login",
  282. });
  283. }
  284. },
  285. // 下拉的选择的关闭事件
  286. closeTheWindow() {
  287. const types = this.chartPermissionIds ? this.chartPermissionIds.split(",").map(Number) : [];
  288. if (types.length > 0) {
  289. const str = [];
  290. this.listChartPermission.forEach((item) => {
  291. if (types.includes(item.ChartPermissionId)) {
  292. item.IsChoose = true;
  293. str.push(item.PermissionName);
  294. } else {
  295. item.IsChoose = false;
  296. }
  297. });
  298. this.chartPermissionName = str.length==6?"所有行业" : str.join(",")
  299. }
  300. },
  301. // 下拉的选择的选中事件
  302. overallClick(item) {
  303. if (this.isShowJurisdiction) return;
  304. this.listChartPermission.forEach((key) => {
  305. if (key.ChartPermissionId == item.ChartPermissionId) {
  306. key.IsChoose = !key.IsChoose;
  307. }
  308. });
  309. },
  310. // 下拉的选择的重置事件
  311. replacementBtn() {
  312. this.listChartPermission = this.listChartPermissionInit;
  313. this.chartPermissionIds = "";
  314. this.isShowJurisdiction = false;
  315. this.listChartPermission.map((item) => (item.IsChoose = false));
  316. this.chartPermissionName = "所有行业";
  317. this.getActivityLabelTypeList()
  318. },
  319. //下拉选择的确定事件
  320. replacementConfirm() {
  321. const arr = [];
  322. const str = [];
  323. this.listChartPermission.forEach((key) => {
  324. if (key.IsChoose) {
  325. arr.push(key.ChartPermissionId);
  326. str.push(key.PermissionName);
  327. }
  328. });
  329. if ((str.length == 6 && this.listChartPermission.length == 6) || str.length <= 0) {
  330. this.chartPermissionName = "所有行业";
  331. } else {
  332. this.chartPermissionName = str.join(",");
  333. }
  334. this.chartPermissionIds = arr.join(",");
  335. this.getActivityLabelTypeList();
  336. this.selectComponent("#industry").toggle(false);
  337. },
  338. //今日明日的点击事件
  339. isActivityDate(id) {
  340. this.selectComponent("#industry").toggle(false);
  341. this.activityTimeList.forEach((item) => {
  342. if (item.Id == id) item.IsChoose = !item.IsChoose;
  343. });
  344. const arr = [];
  345. this.activityTimeList.forEach((item) => item.IsChoose && arr.push(item.Id));
  346. this.whichDay = arr.join(",");
  347. this.getActivityLabelTypeList()
  348. },
  349. //是否有权限的点击事件
  350. async permissioActivity() {
  351. if (!this.$store.state.isAuth && !this.$store.state.isBind) {
  352. this.selectComponent("#industry").toggle(false);
  353. this.isShowJurisdiction = !this.isShowJurisdiction;
  354. this.isGetJurisdiction = this.isShowJurisdiction ? 1 : 2;
  355. await this.getUserSearchContent();
  356. this.selectComponent("#industry").toggle(false);
  357. if(this.isShowJurisdiction){
  358. this.getActivityLabelTypeList()
  359. }else{
  360. this.replacementBtn()
  361. }
  362. }else {
  363. //已授权未绑定
  364. uni.navigateTo({
  365. url: "/pageMy/login/login",
  366. });
  367. }
  368. },
  369. //点击后有权限的
  370. clickPermission(){
  371. if(this.isShowJurisdiction){
  372. const arr = [];
  373. this.listChartPermission.forEach((key) => {
  374. if (key.IsChoose) {
  375. arr.push(key.ChartPermissionId);
  376. }
  377. });
  378. this.chartPermissionIds = arr.join(",");
  379. }
  380. },
  381. loadShare(option) {
  382. if (option && Object.keys(option).length !== 0) {
  383. this.whichDay = option.whichDay || "";
  384. this.chartPermissionIds = option.chartPermissionIds || "";
  385. this.isGetJurisdiction = option.isGetJurisdiction;
  386. this.$nextTick(() => {
  387. let day = this.whichDay ? this.whichDay.split(",").map(Number) : [];
  388. this.activityTimeList.forEach((item) => {
  389. if (day.includes(item.Id)) {
  390. item.IsChoose = true;
  391. }
  392. });
  393. });
  394. }
  395. },
  396. goDetails(key,type='') {
  397. this.$store.dispatch("checkHandle", "/activityPages/themeActivity/themeActivity?title=" + key + "&type=" + type + "&permissionIds=" + this.chartPermissionIds + "&whichDay="+ this.whichDay)
  398. },
  399. //去往搜索事件
  400. goSearch() {
  401. this.$store.dispatch("checkHandle", "/activityPages/activitySearch/activitySearch")
  402. },
  403. },
  404. //load
  405. onLoad(option) {
  406. this.loadShare(option);
  407. this.getUserSearchContent();
  408. this.getActivityLabelTypeList();
  409. },
  410. async onShow() {
  411. await this.$store.dispatch("checkHandle", "noGO");
  412. },
  413. /** 用户点击分享 */
  414. onShareAppMessage: function (res) {
  415. return {
  416. title: this.messageTitle,
  417. path: "/pages/activity/activity?whichDay=" + this.whichDay + "&chartPermissionIds=" + this.chartPermissionIds + "&isGetJurisdiction=" + this.isGetJurisdiction,
  418. };
  419. },
  420. /* 触底 */
  421. onReachBottom: Throttle(function () {
  422. if (this.status === "nomore") return;
  423. this.status = "loading";
  424. this.page_no++;
  425. this.getActivityList();
  426. }),
  427. /* 下拉刷新 */
  428. onPullDownRefresh: Throttle(function () {
  429. this.page_no = 1;
  430. this.refresh = true;
  431. this.tabsActive == 0 ? this.getActivityLabelTypeList() : this.getActivityList();
  432. }),
  433. // 页面滚动事件
  434. onPageScroll() {},
  435. };
  436. </script>
  437. <style scoped lang="scss">
  438. // image{will-change: transform}
  439. .activity-content {
  440. background-color: #f7f7f7;
  441. padding-bottom: 90rpx;
  442. position: relative;
  443. .top-content {
  444. position: sticky;
  445. top: 0;
  446. left: 0;
  447. z-index: 99;
  448. padding-bottom: 2rpx;
  449. background-color: #fff;
  450. .tab {
  451. display: flex;
  452. font-size: 32rpx;
  453. color: #707070;
  454. .tab-item {
  455. flex: 1;
  456. text-align: center;
  457. .scroll-tab-item {
  458. height: 78rpx;
  459. line-height: 48rpx;
  460. position: relative;
  461. .border_act {
  462. position: absolute;
  463. height: 6rpx;
  464. width: 340rpx;
  465. left: 0;
  466. bottom: 0rpx;
  467. }
  468. }
  469. .active {
  470. color: #3385ff;
  471. font-weight: bold;
  472. font-size: 34rpx;
  473. }
  474. }
  475. }
  476. .index-fixed {
  477. margin-top: 40rpx;
  478. width: 100%;
  479. display: flex;
  480. align-items: center;
  481. height: 70rpx;
  482. background: #f6f6f6;
  483. border: 1rpx solid #e5e5e5;
  484. opacity: 1;
  485. border-radius: 35rpx;
  486. padding-left: 34rpx;
  487. color: #8d8d8d;
  488. font-size: 28rpx;
  489. .search_ico {
  490. padding-right: 16rpx;
  491. }
  492. }
  493. }
  494. .screen-item {
  495. position: sticky;
  496. top: 78rpx;
  497. left: 0;
  498. z-index: 99;
  499. background-color: #fff;
  500. height: 111rpx;
  501. padding: 0 34rpx;
  502. font-size: 24rpx;
  503. color: #333;
  504. display: flex;
  505. justify-content: space-between;
  506. align-items: center;
  507. text {
  508. width: 150rpx;
  509. text-align: center;
  510. line-height: 51rpx;
  511. background-color: #f8f8fa;
  512. box-sizing: border-box;
  513. border-radius: 26rpx;
  514. }
  515. .active {
  516. background-color: #3385ff;
  517. color: #fff;
  518. }
  519. }
  520. .select-conyent {
  521. .decide {
  522. background-color: #f8f8fa;
  523. display: flex;
  524. align-items: center;
  525. margin: 0 auto;
  526. height: 110rpx;
  527. width: 100%;
  528. padding-left: 30rpx;
  529. }
  530. .items-box {
  531. width: 40rpx;
  532. }
  533. .menu-items {
  534. background-color: #f8f8fa;
  535. width: 100%;
  536. display: flex;
  537. flex-wrap: wrap;
  538. padding: 30rpx 30rpx 0;
  539. .menu-items-box {
  540. display: flex;
  541. width: 50%;
  542. font-size: 28rpx;
  543. font-weight: 400;
  544. margin-bottom: 40rpx;
  545. }
  546. text {
  547. text-align: left;
  548. }
  549. }
  550. .replacement {
  551. margin: 0rpx 30rpx 20rpx;
  552. display: flex;
  553. background-color: #2c83ff;
  554. height: 60rpx;
  555. font-size: 28rpx;
  556. font-weight: 400;
  557. color: #ffffff;
  558. border-radius: 30rpx;
  559. box-sizing: border-box;
  560. text {
  561. flex: 1;
  562. line-height: 58rpx;
  563. background-color: #2c83ff;
  564. }
  565. .replacement-box {
  566. border: 1rpx solid #2c83ff;
  567. color: #2c83ff;
  568. background: #ffffff;
  569. border-radius: 28rpx 0rpx 28rpx 28rpx;
  570. }
  571. }
  572. }
  573. .nodata_ico {
  574. width: 374rpx;
  575. height: 288rpx;
  576. }
  577. .content-list {
  578. display: flex;
  579. padding: 34rpx;
  580. }
  581. .half {
  582. width: 50%;
  583. }
  584. .activity-ltem {
  585. width: 331rpx;
  586. position: relative;
  587. margin-bottom: 30rpx;
  588. .zindex-one {
  589. position: absolute;
  590. top: 0;
  591. left: 0;
  592. height: 250rpx;
  593. width: 100%;
  594. z-index: 1;
  595. }
  596. .zindex-two {
  597. position: absolute;
  598. top: 0;
  599. left: 0;
  600. width: 100%;
  601. height: 100%;
  602. z-index: 2;
  603. }
  604. .content {
  605. position: sticky;
  606. top: 0;
  607. left: 0;
  608. width: 100%;
  609. padding-bottom: 30rpx;
  610. z-index: 3;
  611. }
  612. .item-img {
  613. width: 100%;
  614. height: 147rpx;
  615. margin-bottom: 30rpx;
  616. font-size: 34rpx;
  617. color: #fff;
  618. padding: 30rpx 0 0 20rpx;
  619. }
  620. .activity-li {
  621. width: 100%;
  622. height: 86rpx;
  623. position: relative;
  624. .item-image{
  625. width: 100%;
  626. height: 100%;
  627. }
  628. .text_oneLine {
  629. position:absolute;
  630. width: 100%;
  631. height: 50rpx;
  632. padding: 0 30rpx;
  633. text-align: center;
  634. font-size:28rpx;
  635. top: 15rpx;
  636. color: #fff;
  637. }
  638. // &::before {
  639. // content: "";
  640. // width: 0;
  641. // height: 0;
  642. // border-top: 8rpx solid transparent;
  643. // border-left: 17rpx solid #fff;
  644. // border-bottom: 8rpx solid transparent;
  645. // margin-right: 10rpx;
  646. // }
  647. }
  648. }
  649. .more {
  650. width: 100%;
  651. text-align: center;
  652. font-size: 34rpx;
  653. color: #3385ff;
  654. margin-top: 90rpx;
  655. }
  656. }
  657. /deep/.van-dropdown-menu {
  658. background-color: #fff;
  659. box-shadow: none !important;
  660. align-items: center !important;
  661. }
  662. /deep/.van-dropdown-menu__item {
  663. box-sizing: border-box;
  664. width: 166rpx;
  665. padding-right: 20rpx;
  666. height: 51rpx;
  667. border-radius: 26rpx;
  668. background: #f8f8fa;
  669. }
  670. /deep/.van-dropdown-item {
  671. margin-top: -10rpx;
  672. }
  673. /deep/[data-index="2"] {
  674. margin-right: 0rpx;
  675. }
  676. /deep/ .van-ellipsis {
  677. font-size: 24rpx;
  678. }
  679. @import "@/activityPages/components/indexActivity.scss";
  680. </style>