reportSearch.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <template>
  2. <view class="searchTarget-container container">
  3. <view class="searchTarget-header">
  4. <input type="text" placeholder="请输入关键字" placeholder-class="sea_ipt_placeholder" class="sea_ipt" v-model="searchTxt" focus="true" confirm-type="search" @confirm="searchHandle" />
  5. <icon type="search" size="15" class="sea_ico" />
  6. <view class="ipt-right">
  7. <icon type="clear" size="16" color="#E0E0E0" v-show="searchTxt" @click="clearIpt" />
  8. <text class="line">|</text>
  9. <text @click="searchHandle" style="color: #3385ff">搜索</text>
  10. </view>
  11. </view>
  12. <view class="radio-content">
  13. <van-radio-group :value="radioSelect" @change="onChangeRadio" direction="horizontal">
  14. <van-radio icon-size="16" name="1">搜报告</van-radio>
  15. <van-radio icon-size="16" name="2">搜资源包</van-radio>
  16. </van-radio-group>
  17. </view>
  18. <view class="search-cont">
  19. <template v-if="!isResult">
  20. <view class="search-cont-top">
  21. <view class="cont-tit">
  22. <text>热搜关键词:</text>
  23. </view>
  24. <view class="targetList">
  25. <view class="target-item" v-for="(item, index) in hotKeyWord" :key="index" @click="chooseTarget(item.KeyWord)"># {{ item.KeyWord }}</view>
  26. </view>
  27. </view>
  28. <view class="search-cont-top">
  29. <view class="cont-tit">
  30. <text>弘则推荐:</text>
  31. </view>
  32. <view class="targetList">
  33. <view class="target-item" v-for="(item, index) in keywordList" :key="index" @click="chooseTarget(item)"># {{ item }}</view>
  34. </view>
  35. </view>
  36. <view class="search-cont-top" v-if="historySearchList.length">
  37. <view class="cont-tit">
  38. <text>搜索历史:</text>
  39. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/empty_ico.png" class="empty_ico" @click="clearHistory"></image>
  40. </view>
  41. <view class="targetList">
  42. <block v-for="(item, index) in historySearchList" :key="index">
  43. <view v-if="index < 8" class="target-item" @click="chooseTarget(item)"># {{ item }}</view>
  44. </block>
  45. </view>
  46. </view>
  47. </template>
  48. <template v-else>
  49. <block v-if="haveResult">
  50. <view class="content-list" v-if="radioSelect == '2'">
  51. <block v-if="ListHz.length">
  52. <view class="resource">
  53. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/zybico.jpg"></image>
  54. <text>弘则资源包</text>
  55. </view>
  56. <text style="height: 1rpx; background: #ececec"></text>
  57. <view class="list-ui" v-for="item in ListHz" :key="item.IndustrialManagementId" @click="themeDetails(item)">
  58. <view class="item-title">
  59. <text>
  60. {{ item.IndustryName }}
  61. </text>
  62. <view class="publish">
  63. {{ item.PublishDate }}更新
  64. <u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
  65. </view>
  66. </view>
  67. <view class="read-more" v-if="item.IndustrialSubjectList">
  68. <text class="text-box text_oneLine" v-for="val in item.IndustrialSubjectList" :key="val.IndustrialSubjectId">
  69. {{ val.SubjectName }}
  70. </text>
  71. </view>
  72. </view>
  73. </block>
  74. <block v-if="ListYx.length">
  75. <view class="resource">
  76. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/zybico.jpg"></image>
  77. <text>研选主题</text>
  78. </view>
  79. <text style="height: 1rpx; background: #ececec"></text>
  80. <view class="list-ui" v-for="item in ListYx" :key="item.IndustrialManagementId" @click="themeDetails(item)">
  81. <view class="item-title">
  82. <text>
  83. {{ item.IndustryName }}
  84. </text>
  85. <view class="publish">
  86. {{ item.PublishDate }}更新
  87. <u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
  88. </view>
  89. </view>
  90. <view class="read-more" @click="themeDetails(item)" v-if="item.IndustrialSubjectList">
  91. <text class="text-box text_oneLine" v-for="val in item.IndustrialSubjectList" :key="val.IndustrialSubjectId">
  92. {{ val.SubjectName }}
  93. </text>
  94. </view>
  95. </view>
  96. </block>
  97. </view>
  98. <view class="content-report" v-if="radioSelect == '1'">
  99. <block v-if="ListYx.length">
  100. <view class="resource">
  101. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/report_Yx.png"></image>
  102. <text>研选报告</text>
  103. </view>
  104. <text style="height: 1rpx; background: #ececec"></text>
  105. <view class="content-item" v-for="item in ListYx" :key="item.ArticleId">
  106. <view class="item-user">
  107. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/user_report.png"></image>
  108. <text> {{ item.NickName }}</text>
  109. </view>
  110. <view class="item-title">
  111. <text style="display: inline" @click="goDetailReport(item)">
  112. {{ item.Title }}
  113. </text>
  114. <text class="item-industry" v-if="item.IndustryName" @click="themeDetails(item)">&nbsp;&nbsp;&nbsp;#{{ item.IndustryName }}</text>
  115. </view>
  116. <view class="item-more">
  117. <text>{{ item.PublishDate }}</text>
  118. <view class="pv-ollect">
  119. <view>
  120. <image class="pv" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/examine_icon.png"></image>
  121. {{ item.Pv }}
  122. </view>
  123. <view @click="collectClick(item)">
  124. <image v-if="item.IsCollect" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/collect_act.png"></image>
  125. <image v-else src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/collect_ico.png"></image>
  126. {{ item.CollectNum }}人收藏
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. </block>
  132. <block v-if="ListHz.length">
  133. <text style="height: 10rpx; background: #ececec"></text>
  134. <view class="resource">
  135. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/report_Hz.png"></image>
  136. <text>弘则报告</text>
  137. </view>
  138. <text style="height: 1rpx; background: #ececec"></text>
  139. <view class="content-item" v-for="item in ListHz" :key="item.ArticleId">
  140. <!-- <view class="item-user">
  141. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/user_report.png"></image>
  142. <text> {{ item.NickName }}</text>
  143. </view> -->
  144. <view class="item-title">
  145. <text style="display: inline" @click="goDetailReport(item)">
  146. {{ item.Title }}
  147. </text>
  148. <text class="item-industry" @click="themeDetails(item)" v-if="item.IndustryName">&nbsp;&nbsp;&nbsp;#{{ item.IndustryName }}</text>
  149. </view>
  150. <view class="item-more">
  151. <text>{{ item.PublishDate }}</text>
  152. <view class="pv-ollect">
  153. <view>
  154. <image class="pv" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/examine_icon.png"></image>
  155. {{ item.Pv }}
  156. </view>
  157. <view @click="collectClick(item)">
  158. <image v-if="item.IsCollect" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/collect_act.png"></image>
  159. <image v-else src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/collect_ico.png"></image>
  160. {{ item.CollectNum }}人收藏
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. </block>
  166. </view>
  167. </block>
  168. <view class="nodata" v-else>
  169. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/act_search.png" mode="" class="nodata_img"></image>
  170. <text>未找到您想搜索的内容</text>
  171. <text> 正式客户可联系销售免费发起新调研主题 </text>
  172. </view>
  173. </template>
  174. </view>
  175. <u-modal
  176. v-model="goFollowShow"
  177. :content-style="{ fontSize: '32rpx' }"
  178. @confirm="goFollowShowBtn"
  179. :show-cancel-button="isCancelBtn"
  180. :confirm-text="confirmText"
  181. @cancel="isCancelBtn = false"
  182. :show-title="false"
  183. :cancel-style="{ borderRight: '1rpx solid #EBEBEB' }"
  184. :confirm-style="{ fontWeight: '700' }"
  185. >
  186. <view class="slot-content">
  187. <rich-text :nodes="accounts"></rich-text>
  188. </view>
  189. </u-modal>
  190. <freeCharge class="free-charge" :isShowFreeBtn="isShowFree" />
  191. </view>
  192. </template>
  193. <script>
  194. import { Search, Reports, Research, Report } from "@/config/api.js";
  195. import { Debounce, Throttle } from "@/config/util.js";
  196. import freeCharge from "@/components/freeCharge";
  197. let app = getApp({ allowDefault: true });
  198. export default {
  199. data() {
  200. return {
  201. searchTxt: "", //搜索关键字
  202. isResult: false, //显示搜索结果
  203. haveResult: true, //是否有搜索数据
  204. // 历史搜索列表
  205. historySearchList: [],
  206. // 关键字列表
  207. keywordList: [],
  208. targetList: [], //所有指标列表
  209. // 搜索结果列表
  210. resultList: [],
  211. indList: [],
  212. hotKeyWord: [],
  213. radioSelect: "",
  214. ListHz: [],
  215. ListYx: [],
  216. goFollowShow: false,
  217. confirmText: "知道了",
  218. isCancelBtn: false,
  219. accounts: "",
  220. };
  221. },
  222. watch: {
  223. searchTxt(newVal) {
  224. if (newVal.length <= 0) {
  225. this.isResult = false;
  226. }
  227. },
  228. },
  229. components: {
  230. freeCharge,
  231. },
  232. methods: {
  233. async researchHotKeyWord() {
  234. const res = await Research.researchHotKeyWord();
  235. if (res.Ret === 200) {
  236. this.hotKeyWord = res.Data.List || [];
  237. }
  238. },
  239. onChangeRadio(value) {
  240. this.radioSelect = value.detail;
  241. let srt = this.searchTxt.replace(/^\s+|\s+$/g, "");
  242. if (!srt) return this.$util.toast("请输入关键字");
  243. this.dataInit();
  244. this.getDataList();
  245. },
  246. /* 获取关键词 */
  247. getKeyWord() {
  248. Search.getKeys().then((res) => {
  249. if (res.Ret === 200) {
  250. this.keywordList = res.Data.Item.ConfigValue ? res.Data.Item.ConfigValue.split(",") : [];
  251. }
  252. });
  253. },
  254. // 选择历史搜索
  255. chooseTarget(item) {
  256. this.searchTxt = item;
  257. this.SecName = item;
  258. this.resultList = [];
  259. this.indList = [];
  260. if (!this.historySearchList.includes(this.searchTxt)) {
  261. this.historySearchList.unshift(this.searchTxt);
  262. this.$db.set("historySearchListReport", JSON.stringify(this.historySearchList));
  263. }
  264. this.getDataList();
  265. },
  266. // 键盘输入过程中
  267. searchDoing() {
  268. this.isResult = false;
  269. //全部指标列表
  270. let arr = JSON.parse(JSON.stringify(this.targetList));
  271. let filterArr = [];
  272. // // 过滤出符合搜索条件的值
  273. arr.forEach((item, index) => {
  274. if (item.SecName.includes(this.searchTxt)) {
  275. item.SecName = this.join(item.SecName, this.searchTxt);
  276. filterArr.unshift(item);
  277. }
  278. });
  279. this.keywordList = filterArr;
  280. },
  281. // 拼接
  282. join(str, key) {
  283. return str.replace(new RegExp(`${key}`, "g"), `%%${key}%%`).split("%%");
  284. },
  285. // 搜索数据
  286. searchHandle: Debounce(function () {
  287. if (this.searchTxt) {
  288. //添加搜索记录
  289. if (!this.historySearchList.includes(this.searchTxt)) {
  290. this.historySearchList.unshift(this.searchTxt);
  291. this.$db.set("historySearchListReport", JSON.stringify(this.historySearchList));
  292. }
  293. this.resultList = [];
  294. this.indList = [];
  295. this.getDataList();
  296. } else {
  297. this.$util.toast("请输入关键字");
  298. }
  299. }),
  300. // 查找数据
  301. async getDataList() {
  302. this.isResult = true;
  303. const res =
  304. this.radioSelect == 2
  305. ? await Reports.getIndustryAndArticle({
  306. KeyWord: this.searchTxt.replace(/^\s+|\s+$/g, ""),
  307. })
  308. : await Reports.getReportSearchReport({
  309. KeyWord: this.searchTxt.replace(/^\s+|\s+$/g, ""),
  310. });
  311. if (res.Ret === 200) {
  312. this.ListHz = res.Data.ListHz || [];
  313. this.ListYx = res.Data.ListYx || [];
  314. console.log(this.ListHz, this.ListYx);
  315. this.haveResult = this.ListHz.length > 0 || this.ListYx.length > 0;
  316. }
  317. },
  318. // 点击数据列表修改数据
  319. itemClick(item) {
  320. let data = encodeURIComponent(JSON.stringify(item));
  321. uni.navigateTo({
  322. url: "/pages/recordData/recordData?data=" + data,
  323. });
  324. },
  325. /* 表单清空 */
  326. clearIpt() {
  327. this.searchTxt = "";
  328. this.isTabAct = false;
  329. },
  330. /* 历史搜索清空 */
  331. clearHistory() {
  332. this.historySearchList = [];
  333. this.$db.del("historySearchListReport");
  334. },
  335. //去往文章详情页面
  336. goDetailReport(item) {
  337. this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId);
  338. },
  339. /* 进入详情 校验是否有该品种权限 */
  340. goDetail(item) {
  341. uni.navigateTo({
  342. url: "/reportPages/IndustryReport/IndustryReport?id=" + item.IndustrialManagementId,
  343. });
  344. },
  345. goDetailIndust(id) {
  346. this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + id);
  347. },
  348. //去往主题详情
  349. themeDetails(item) {
  350. this.$store.dispatch("checkHandle", "/reportPages/IndustryReport/IndustryReport?id=" + item.IndustrialManagementId);
  351. },
  352. //收藏
  353. async collectClick(item) {
  354. const res = await Report.collectRpt({ ArticleId: item.ArticleId });
  355. if (res.Ret === 200) {
  356. item.IsCollect = !item.IsCollect;
  357. item.IsCollect
  358. ? (item.CollectNum += 1) &&
  359. uni.showToast({
  360. title: "收藏成功",
  361. icon: "none",
  362. duration: 2000,
  363. })
  364. : (item.CollectNum -= 1);
  365. !item.IsCollect &&
  366. uni.showToast({
  367. title: "已取消收藏",
  368. icon: "none",
  369. duration: 2000,
  370. });
  371. }
  372. },
  373. //获取数据的初始值
  374. dataInit() {
  375. this.ListHz = [];
  376. this.ListYx = [];
  377. uni.pageScrollTo({
  378. scrollTop: 0,
  379. duration: 0,
  380. });
  381. },
  382. //点击了去关注
  383. goFollowShowBtn() {
  384. if (this.confirmText == "去关注") {
  385. uni.navigateTo({
  386. url: "/activityPages/accountsOfficial/accountsOfficial",
  387. });
  388. }
  389. this.goFollowShow = false;
  390. },
  391. },
  392. onLoad(options) {
  393. this.radioSelect = options.id == 31 ? "1" : "2";
  394. if (options.text) {
  395. this.searchTxt = options.text;
  396. this.getDataList();
  397. }
  398. // 获取历史搜索记录
  399. if (this.$db.get("historySearchListReport")) {
  400. let historyList = JSON.parse(this.$db.get("historySearchListReport"));
  401. this.historySearchList = historyList;
  402. }
  403. },
  404. onShow() {
  405. this.$store.dispatch("statistics", { PageType: "ReportSearch" });
  406. this.getKeyWord();
  407. this.researchHotKeyWord();
  408. },
  409. /**
  410. * 用户点击分享
  411. */
  412. onShareAppMessage: function (res) {
  413. return {
  414. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : "报告",
  415. path: "/reportPages/reportSearch/reportSearch?text=" + this.searchTxt,
  416. success: (res) => {},
  417. fail: (err) => {},
  418. };
  419. },
  420. };
  421. </script>
  422. <style lang="scss">
  423. .searchTarget-container {
  424. background-color: #f7f7f7;
  425. padding-bottom: 30rpx;
  426. .searchTarget-header {
  427. padding: 0 34rpx;
  428. width: 100%;
  429. background-color: #fff;
  430. position: fixed;
  431. top: 0;
  432. left: 0;
  433. z-index: 99;
  434. padding: 30rpx 0;
  435. display: flex;
  436. justify-content: center;
  437. align-items: center;
  438. .sea_ipt_placeholder {
  439. color: #8d8d8d;
  440. }
  441. .sea_ipt {
  442. width: 682rpx;
  443. height: 70rpx;
  444. line-height: 70rpx;
  445. box-sizing: border-box;
  446. border: 1rpx solid #e5e5e5;
  447. background-color: rgba(245, 245, 245, 0.2);
  448. font-size: 26rpx;
  449. color: #4a4a4a;
  450. padding: 0 180rpx 0 78rpx;
  451. border-radius: 70rpx;
  452. }
  453. .sea_ico {
  454. width: 31rpx;
  455. height: 31rpx;
  456. position: absolute;
  457. left: 68rpx;
  458. top: 50%;
  459. transform: translateY(-50%);
  460. }
  461. .ipt-right {
  462. display: flex;
  463. align-items: center;
  464. position: absolute;
  465. right: 59rpx;
  466. top: 50%;
  467. transform: translateY(-50%);
  468. color: #3385ff;
  469. .line {
  470. margin: 0 21rpx;
  471. color: #e0e0e0;
  472. }
  473. }
  474. }
  475. .radio-content {
  476. width: 100%;
  477. padding-left: 58rpx;
  478. background-color: #fff;
  479. position: fixed;
  480. height: 70rpx;
  481. top: 128rpx;
  482. left: 0;
  483. z-index: 99;
  484. display: flex;
  485. }
  486. .resource {
  487. padding: 0 30rpx;
  488. background-color: #fff;
  489. margin-top: 4rpx;
  490. height: 91rpx;
  491. width: 100%;
  492. display: flex;
  493. align-items: center;
  494. justify-content: center;
  495. color: #333333;
  496. font-size: 30rpx;
  497. image {
  498. width: 34rpx;
  499. height: 36rpx;
  500. margin-right: 10rpx;
  501. }
  502. }
  503. .content-list {
  504. .list-ui {
  505. background-color: #fff;
  506. margin-top: 2rpx;
  507. margin-bottom: 10rpx;
  508. }
  509. .item-title {
  510. display: flex;
  511. align-items: center;
  512. justify-content: space-between;
  513. height: 100rpx;
  514. border-bottom: 1px solid #f6f6f6;
  515. padding: 0 30rpx;
  516. background-color: #fff;
  517. .publish {
  518. display: flex;
  519. align-items: center;
  520. color: #999999;
  521. font-style: 26rpx;
  522. }
  523. }
  524. .read-more {
  525. margin-top: 20rpx;
  526. display: flex;
  527. flex-wrap: wrap;
  528. margin-left: 30rpx;
  529. .text-box {
  530. margin-bottom: 27rpx;
  531. margin-right: 15rpx;
  532. padding: 0;
  533. font-size: 24rpx;
  534. color: #408fff;
  535. width: 216rpx;
  536. height: 46rpx;
  537. line-height: 46rpx;
  538. text-align: center !important;
  539. background: url(~@/static/img/report_bg.png) no-repeat;
  540. background-size: 100% 100%;
  541. text-indent: 0em;
  542. }
  543. }
  544. }
  545. .search-cont {
  546. padding-top: 180rpx;
  547. .search-cont-top {
  548. padding: 0 34rpx 0;
  549. margin-bottom: 10rpx;
  550. padding-top: 20rpx;
  551. &:last-child {
  552. margin-bottom: 0;
  553. }
  554. .cont-tit {
  555. font-size: 32rpx;
  556. margin-bottom: 20rpx;
  557. font-weight: 500;
  558. display: flex;
  559. justify-content: space-between;
  560. .empty_ico {
  561. width: 32rpx;
  562. height: 33rpx;
  563. }
  564. }
  565. .targetList {
  566. display: flex;
  567. flex-wrap: wrap;
  568. font-size: 28rpx;
  569. .target-item {
  570. width: 50%;
  571. margin-bottom: 20rpx;
  572. }
  573. }
  574. }
  575. .result-cont {
  576. padding: 0 34rpx 0;
  577. padding-left: 21rpx;
  578. .result-list {
  579. display: flex;
  580. align-items: center;
  581. color: #333;
  582. padding-bottom: 30rpx;
  583. border-bottom: 1rpx solid #ebedf0;
  584. margin-bottom: 30rpx;
  585. .result_ico {
  586. width: 28rpx;
  587. height: 28rpx;
  588. margin-right: 20rpx;
  589. }
  590. text {
  591. display: inline;
  592. }
  593. .highlight {
  594. color: #3385ff;
  595. }
  596. }
  597. }
  598. .result-data {
  599. // margin-top: 80rpx;
  600. min-height: calc(100vh - 130rpx);
  601. padding: 20rpx 34rpx 40rpx;
  602. display: flex;
  603. background-color: #f7f7f7;
  604. }
  605. }
  606. .content-report {
  607. .content-item {
  608. background-color: #fff;
  609. padding: 35rpx 20rpx 0;
  610. .item-title {
  611. font-weight: 500;
  612. .item-industry {
  613. margin-left: 10rpx;
  614. color: #3385ff;
  615. display: inline-block;
  616. }
  617. }
  618. .item-user {
  619. display: flex;
  620. align-items: center;
  621. color: #999999;
  622. font-size: 28rpx;
  623. margin-bottom: 20rpx;
  624. image {
  625. width: 23rpx;
  626. height: 26rpx;
  627. margin-right: 20rpx;
  628. }
  629. }
  630. .item-more {
  631. display: flex;
  632. justify-content: space-between;
  633. color: #cecece;
  634. margin: 20rpx 0 0;
  635. padding-bottom: 30rpx;
  636. border-bottom: 1rpx solid #ececec;
  637. .pv-ollect {
  638. display: flex;
  639. align-items: center;
  640. width: 40%;
  641. justify-content: space-between;
  642. image {
  643. width: 22rpx;
  644. height: 21rpx;
  645. margin-right: 10rpx;
  646. }
  647. .pv {
  648. height: 16rpx;
  649. }
  650. }
  651. }
  652. }
  653. }
  654. }
  655. </style>