detail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. <template>
  2. <view class="container">
  3. <!-- ① 固定返回按钮:适配状态栏,带阴影层确保白图标可见 -->
  4. <view class="custom-nav" :style="{ paddingTop: statusBarHeight + 'px' }">
  5. <view class="nav-back-wrap" @click="goBack">
  6. <image src="/static/icons/back_white.svg" class="back-icon" mode="aspectFit"></image>
  7. </view>
  8. </view>
  9. <!-- ② 核心滑动容器:显式关闭滚动条,设定 flex: 1 确保可滑动 -->
  10. <scroll-view
  11. class="scroll-body"
  12. scroll-y
  13. :show-scrollbar="false"
  14. :enhanced="true"
  15. >
  16. <!-- 轮播图区域 -->
  17. <view class="banner-section">
  18. <swiper class="banner-swiper" circular autoplay interval="3000" indicator-dots indicator-active-color="#FFFFFF">
  19. <swiper-item v-for="(img, index) in bannerImages" :key="index">
  20. <image :src="img" class="banner-img" mode="aspectFill"></image>
  21. </swiper-item>
  22. </swiper>
  23. </view>
  24. <!-- 内容主体:还原单一白底背板 -->
  25. <view class="content-panel">
  26. <view class="header-info" v-if="!loading">
  27. <text class="title">{{ assessmentData.evaluationName || '测评详情' }}</text>
  28. <view class="meta-list">
  29. <view class="meta-item" v-if="assessmentData.startTime && assessmentData.endTime">
  30. <text class="label">参与时间:</text>
  31. <text class="value">{{ formatDateRange(assessmentData.startTime, assessmentData.endTime) }}</text>
  32. </view>
  33. <view class="meta-item" v-if="assessmentData.questionTypes">
  34. <text class="label">考题题型:</text>
  35. <text class="value">{{ assessmentData.questionTypes }}</text>
  36. </view>
  37. <view class="meta-item" v-if="assessmentData.questionCount">
  38. <text class="label">考题数量:</text>
  39. <text class="value">{{ assessmentData.questionCount }}题</text>
  40. </view>
  41. <view class="meta-item" v-if="assessmentData.duration">
  42. <text class="label">考试时间:</text>
  43. <text class="value">{{ assessmentData.duration }}分钟</text>
  44. </view>
  45. </view>
  46. </view>
  47. <!-- 加载状态 -->
  48. <view class="loading-state" v-if="loading">
  49. <text class="loading-text">加载中...</text>
  50. </view>
  51. <view class="divider-line"></view>
  52. <view class="detail-section" v-if="!loading">
  53. <text class="section-title">测评详情</text>
  54. <view class="tag-cloud" v-if="tags.length > 0">
  55. <text class="detail-tag" v-for="tag in tags" :key="tag">{{ tag }}</text>
  56. </view>
  57. <view class="description" v-if="displayDescription">
  58. <text class="desc-label">测评描述:</text>
  59. <text class="desc-content">
  60. {{ displayDescription }}
  61. </text>
  62. </view>
  63. </view>
  64. <!-- 富文本内容 (严格控制侧边距) -->
  65. <view class="diagram-section" v-if="assessmentData.detail && assessmentData.detail.includes('<')">
  66. <rich-text :nodes="assessmentData.detail"></rich-text>
  67. </view>
  68. <!-- ③ 到底啦提示 -->
  69. <view class="end-of-page">
  70. <view class="line"></view>
  71. <text class="end-text">已到底啦~</text>
  72. <view class="line"></view>
  73. </view>
  74. <!-- 底部撑开,预留按钮位置 -->
  75. <view class="bottom-placeholder"></view>
  76. </view>
  77. </scroll-view>
  78. <!-- ④ 底部固定操作栏 -->
  79. <view class="bottom-bar">
  80. <view class="action-item" @click="toggleFavorite">
  81. <image :src="isFavorited ? '/static/icons/star_filled.svg' : '/static/icons/star_hollow.svg'" class="action-icon"></image>
  82. <text :class="['action-text', isFavorited ? 'active' : '']">{{ isFavorited ? '已收藏' : '收藏' }}</text>
  83. </view>
  84. <button v-if="!hasPaid && !hasRecord" class="small-consult-btn" @click="handleConsult">咨询</button>
  85. <button v-if="hasPaid && !hasRecord" class="start-exam-btn" @click="goToRemind">开始测评</button>
  86. <button
  87. v-if="hasRecord"
  88. class="report-btn"
  89. :class="{ disabled: !isAllCompleted }"
  90. @click="viewReport"
  91. >查看报告</button>
  92. <button v-if="hasRecord && !isPassed" class="start-exam-btn" @click="goToRemind">重新测评</button>
  93. <button v-if="isPassed && !isApplied" class="apply-btn" @click="handleApply">投递简历</button>
  94. <button v-if="isPassed && isApplied" class="applied-btn">已投递</button>
  95. </view>
  96. </view>
  97. </template>
  98. <script setup>
  99. import { ref, onMounted, computed } from 'vue';
  100. import { onLoad, onShow } from '@dcloudio/uni-app';
  101. import { addCollection, delCollection, checkCollection } from '../../api/collection.js';
  102. import { createOrGetSession } from '../../api/message.js';
  103. import { getAssessmentDetail, getAssessmentRecordList } from '../../api/assessment.js';
  104. import { listOrder } from '../../api/order.js';
  105. const statusBarHeight = ref(20);
  106. const isFavorited = ref(false);
  107. const collectionId = ref(null);
  108. const assessmentId = ref(null);
  109. const loading = ref(true);
  110. const assessmentData = ref({});
  111. const bannerImages = ref([
  112. '/static/images/assess_cover.svg',
  113. '/static/images/assess_cover.svg'
  114. ]);
  115. const tags = ref([]);
  116. // 测评记录相关
  117. const hasRecord = ref(false); // 是否有测评记录
  118. const isAllCompleted = ref(false); // 是否全部考完(finalResult 有值)
  119. const hasPaid = ref(false); // 是否已付款
  120. const isPassed = ref(false); // 是否测评通过
  121. const isApplied = ref(false); // 是否已投递简历
  122. const decodeBase64Utf8 = (value) => {
  123. if (!value || typeof value !== 'string') return '';
  124. try {
  125. const binary = atob(value);
  126. const bytes = Array.from(binary, char => char.charCodeAt(0));
  127. return decodeURIComponent(bytes.map(byte => `%${byte.toString(16).padStart(2, '0')}`).join(''));
  128. } catch (e) {
  129. return value;
  130. }
  131. };
  132. const displayDescription = computed(() => {
  133. const data = assessmentData.value || {};
  134. if (data.remark || data.description) {
  135. return data.remark || data.description;
  136. }
  137. if (data.detail) {
  138. return /^[A-Za-z0-9+/=]+$/.test(data.detail) ? decodeBase64Utf8(data.detail) : data.detail;
  139. }
  140. return '暂无描述';
  141. });
  142. onMounted(() => {
  143. // #ifdef MP-WEIXIN
  144. const sysInfo = uni.getSystemInfoSync();
  145. statusBarHeight.value = (sysInfo.statusBarHeight || 20);
  146. // #endif
  147. });
  148. onLoad((options) => {
  149. if (options.id) {
  150. assessmentId.value = options.id;
  151. loadAssessmentDetail(options.id);
  152. checkCollectionStatus(options.id);
  153. checkExamRecord(options.id);
  154. }
  155. });
  156. onShow(() => {
  157. if (assessmentId.value) {
  158. checkExamRecord(assessmentId.value);
  159. }
  160. });
  161. // 加载测评详情数据
  162. const loadAssessmentDetail = async (id) => {
  163. try {
  164. loading.value = true;
  165. const res = await getAssessmentDetail(id);
  166. if (res.code === 200 && res.data) {
  167. assessmentData.value = res.data;
  168. // 处理标签数据
  169. if (res.data.tags) {
  170. tags.value = res.data.tags.split(',').filter(tag => tag.trim());
  171. }
  172. // 处理轮播图
  173. if (res.data.imageAlbumUrls) {
  174. const urls = res.data.imageAlbumUrls.split(',');
  175. bannerImages.value = urls.length > 0 ? urls : ['/static/images/assess_cover.svg'];
  176. } else if (res.data.mainImageUrl) {
  177. bannerImages.value = [res.data.mainImageUrl];
  178. } else {
  179. bannerImages.value = ['/static/images/assess_cover.svg'];
  180. }
  181. // 检查是否已投递简历(基于关联的岗位ID)
  182. if (res.data.positionId) {
  183. isApplied.value = uni.getStorageSync(`candidate_applied_${res.data.positionId}`) === true;
  184. }
  185. } else {
  186. uni.showToast({ title: '获取测评详情失败', icon: 'none' });
  187. }
  188. } catch (err) {
  189. console.error('获取测评详情失败:', err);
  190. uni.showToast({ title: '网络错误,请重试', icon: 'none' });
  191. } finally {
  192. loading.value = false;
  193. }
  194. };
  195. // 检查收藏状态
  196. const checkCollectionStatus = async (id) => {
  197. const userInfo = uni.getStorageSync('userInfo');
  198. if (!userInfo || !userInfo.studentId) return;
  199. try {
  200. const res = await checkCollection(userInfo.studentId, id, 'assessment');
  201. if (res.code === 200 && res.data) {
  202. isFavorited.value = true;
  203. collectionId.value = res.data.id;
  204. } else {
  205. isFavorited.value = false;
  206. collectionId.value = null;
  207. }
  208. } catch (err) {
  209. console.error('检查收藏状态失败', err);
  210. }
  211. };
  212. // 格式化日期范围
  213. const formatDateRange = (startTime, endTime) => {
  214. if (!startTime || !endTime) return '';
  215. const formatDate = (dateStr) => {
  216. const date = new Date(dateStr);
  217. const year = date.getFullYear();
  218. const month = String(date.getMonth() + 1).padStart(2, '0');
  219. const day = String(date.getDate()).padStart(2, '0');
  220. const hours = String(date.getHours()).padStart(2, '0');
  221. const minutes = String(date.getMinutes()).padStart(2, '0');
  222. return `${year}.${month}.${day} ${hours}:${minutes}`;
  223. };
  224. return `${formatDate(startTime)}—${formatDate(endTime)}`;
  225. };
  226. const goBack = () => uni.navigateBack();
  227. // 跳转到测评提醒页面
  228. const goToRemind = () => {
  229. if (!assessmentId.value) {
  230. uni.showToast({ title: '测评信息加载中', icon: 'none' });
  231. return;
  232. }
  233. uni.navigateTo({
  234. url: `/pages/assessment/remind?id=${assessmentId.value}`
  235. });
  236. };
  237. // 查看考试报告
  238. const viewReport = () => {
  239. if (!assessmentId.value || !isAllCompleted.value) return;
  240. uni.navigateTo({
  241. url: `/pages/assessment/report?id=${assessmentId.value}`
  242. });
  243. };
  244. // 检查是否有测评记录
  245. const checkExamRecord = async (id) => {
  246. const userInfo = uni.getStorageSync('userInfo') || {};
  247. const studentId = userInfo.studentId;
  248. if (!studentId) return;
  249. // 1. 先查缓存
  250. hasPaid.value = uni.getStorageSync(`audit_paid_${id}`) === true;
  251. // 2. 缓存为 false,则调用后端订单列表,防止跨页面或换机丢失缓存
  252. if (!hasPaid.value) {
  253. try {
  254. const orderRes = await listOrder({
  255. orderStatus: 1,
  256. buyerId: studentId
  257. });
  258. if (orderRes.code === 200 && orderRes.rows) {
  259. const evalName = assessmentData.value?.evaluationName || '';
  260. hasPaid.value = orderRes.rows.some(order => {
  261. const remark = order.remark || '';
  262. return evalName && remark.includes(evalName);
  263. });
  264. }
  265. } catch (e) {
  266. console.error('[AssessmentDetail] 订单校验失败:', e);
  267. }
  268. }
  269. try {
  270. const res = await getAssessmentRecordList(studentId);
  271. if (res.code === 200 && res.data) {
  272. // 找到当前测评的记录
  273. const records = res.data.filter(r => String(r.evaluationId) === String(id));
  274. if (records.length > 0) {
  275. hasRecord.value = true;
  276. // 检查是否全部考完(finalResult 有值表示已完成评分)
  277. const completedRecords = records.filter(r => r.finalResult === '1' || r.finalResult === '2');
  278. isAllCompleted.value = completedRecords.length > 0;
  279. // 检查是否通过
  280. const passedRecords = records.filter(r => r.finalResult === '1');
  281. isPassed.value = passedRecords.length > 0;
  282. }
  283. }
  284. // 检查是否已投递(需要等 assessmentData 加载完成后才有 positionId)
  285. if (assessmentData.value.positionId) {
  286. isApplied.value = uni.getStorageSync(`candidate_applied_${assessmentData.value.positionId}`) === true;
  287. }
  288. } catch (err) {
  289. console.error('检查测评记录失败', err);
  290. }
  291. };
  292. const handleConsult = async () => {
  293. try {
  294. uni.showLoading({ title: '正在连接客服...' });
  295. const userInfo = uni.getStorageSync('userInfo') || {};
  296. const userId = userInfo.studentId || null;
  297. const userName = userInfo.name || '用户';
  298. const userAvatar = userInfo.avatarUrl || '/static/images/user_avatar.svg';
  299. console.log('创建会话参数:', {
  300. sessionType: 1,
  301. fromUserId: userId,
  302. fromUserName: userName,
  303. fromUserAvatar: userAvatar,
  304. sourceId: 'assessment_' + (assessmentData.value?.id || assessmentId.value)
  305. });
  306. const res = await createOrGetSession({
  307. sessionType: 1,
  308. fromUserId: userId,
  309. fromUserName: userName,
  310. fromUserAvatar: userAvatar,
  311. sourceId: 'assessment_' + (assessmentData.value?.id || assessmentId.value)
  312. });
  313. uni.hideLoading();
  314. if (res.data) {
  315. const session = res.data;
  316. const title = encodeURIComponent(assessmentData.value.evaluationName || '测评详情');
  317. const cover = encodeURIComponent(bannerImages.value[0] || '');
  318. const price = assessmentData.value.price || '0.00';
  319. uni.navigateTo({
  320. url: `/pages/chat/chat?sessionId=${session.sessionId}&sessionNo=${session.sessionNo || ''}&fromUserId=${userId || ''}&userName=${encodeURIComponent(userName)}&type=assessment&title=${title}&cover=${cover}&assessmentId=${assessmentId.value || ''}&price=${price}`
  321. });
  322. } else {
  323. uni.showToast({ title: '创建会话失败', icon: 'none' });
  324. }
  325. } catch (err) {
  326. uni.hideLoading();
  327. console.error('创建会话失败:', err);
  328. uni.showToast({ title: '连接失败,请重试', icon: 'none' });
  329. }
  330. };
  331. // 投递简历:跳转到选择简历页面
  332. const handleApply = () => {
  333. const postId = assessmentData.value.positionId;
  334. if (!postId) {
  335. uni.showToast({ title: '该测评未关联岗位,无法投递', icon: 'none' });
  336. return;
  337. }
  338. const userInfo = uni.getStorageSync('userInfo') || {};
  339. if (!userInfo.studentId) {
  340. uni.showToast({ title: '请先登录', icon: 'none' });
  341. return;
  342. }
  343. uni.navigateTo({
  344. url: `/pages/my/select-resume?postId=${postId}`
  345. });
  346. };
  347. const toggleFavorite = async () => {
  348. const userInfo = uni.getStorageSync('userInfo');
  349. if (!userInfo || !userInfo.studentId) {
  350. uni.showToast({ title: '请先登录', icon: 'none' });
  351. setTimeout(() => {
  352. uni.navigateTo({ url: '/pages/login/login' });
  353. }, 1000);
  354. return;
  355. }
  356. if (!assessmentId.value) return;
  357. uni.showLoading({ title: isFavorited.value ? '取消收藏中...' : '收藏中...' });
  358. try {
  359. if (isFavorited.value) {
  360. // 取消收藏
  361. if (collectionId.value) {
  362. const res = await delCollection(collectionId.value);
  363. if (res.code === 200) {
  364. isFavorited.value = false;
  365. collectionId.value = null;
  366. uni.showToast({ title: '已取消收藏', icon: 'none' });
  367. }
  368. }
  369. } else {
  370. // 添加收藏
  371. const res = await addCollection({
  372. studentId: userInfo.studentId,
  373. targetId: assessmentId.value,
  374. type: 'assessment'
  375. });
  376. if (res.code === 200) {
  377. isFavorited.value = true;
  378. checkCollectionStatus(assessmentId.value);
  379. uni.showToast({ title: '收藏成功', icon: 'success' });
  380. }
  381. }
  382. } catch (err) {
  383. console.error('操作收藏失败', err);
  384. uni.showToast({ title: '操作失败', icon: 'none' });
  385. } finally {
  386. uni.hideLoading();
  387. }
  388. };
  389. </script>
  390. <style lang="scss" scoped>
  391. .container {
  392. width: 100%;
  393. height: 100vh;
  394. background-color: #FFFFFF;
  395. display: flex;
  396. flex-direction: column;
  397. overflow: hidden; /* 防止页面整体滚动,交给 scroll-view */
  398. }
  399. /* 返回按钮 */
  400. .custom-nav {
  401. position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  402. padding-left: 30rpx;
  403. .nav-back-wrap {
  404. width: 64rpx; height: 64rpx; background: rgba(0,0,0,0.35); border-radius: 50%;
  405. display: flex; align-items: center; justify-content: center;
  406. margin-top: 10px;
  407. .back-icon { width: 44rpx; height: 44rpx; }
  408. }
  409. }
  410. /* 滑动主体 */
  411. .scroll-body {
  412. flex: 1; /* 撑满剩余空间 */
  413. height: 0; /* 触发 flex 计算 */
  414. }
  415. /* 轮播图 */
  416. .banner-section {
  417. width: 100%; height: 500rpx;
  418. .banner-swiper { width: 100%; height: 100%; }
  419. .banner-img { width: 100%; height: 100%; }
  420. }
  421. /* 内容板块 */
  422. .content-panel {
  423. background: #FFF;
  424. border-radius: 40rpx 40rpx 0 0;
  425. margin-top: -40rpx;
  426. position: relative;
  427. z-index: 10;
  428. padding: 50rpx 40rpx 0;
  429. .header-info {
  430. margin-bottom: 40rpx;
  431. .title { font-size: 44rpx; font-weight: bold; color: #1A1A1A; display: block; margin-bottom: 30rpx; }
  432. .meta-list {
  433. display: flex; flex-direction: column; gap: 16rpx;
  434. .meta-item {
  435. display: flex; font-size: 28rpx;
  436. .label { color: #666; width: 160rpx; flex-shrink: 0; }
  437. .value { color: #333; font-weight: 500; }
  438. }
  439. }
  440. }
  441. .divider-line {
  442. height: 1rpx; background: #F0F0F0; margin: 40rpx 0;
  443. }
  444. .detail-section {
  445. margin-bottom: 40rpx;
  446. .section-title { font-size: 34rpx; font-weight: bold; color: #1A1A1A; display: block; margin-bottom: 30rpx; }
  447. .tag-cloud {
  448. display: flex; flex-wrap: wrap; gap: 16rpx; margin-bottom: 32rpx;
  449. .detail-tag { font-size: 24rpx; color: #666; background: #F5F7FA; padding: 10rpx 24rpx; border-radius: 10rpx; }
  450. }
  451. .description {
  452. margin-bottom: 40rpx;
  453. .desc-label { font-size: 28rpx; color: #1A1A1A; font-weight: bold; display: block; margin-bottom: 12rpx; }
  454. .desc-content { font-size: 28rpx; color: #666; line-height: 1.6; }
  455. }
  456. }
  457. .diagram-section {
  458. width: 100%; margin-top: 20rpx;
  459. .diagram-img { width: 100%; border-radius: 12rpx; }
  460. }
  461. .loading-state {
  462. display: flex; justify-content: center; align-items: center;
  463. padding: 80rpx 0;
  464. .loading-text { font-size: 28rpx; color: #999; }
  465. }
  466. }
  467. .end-of-page {
  468. display: flex; align-items: center; justify-content: center; padding: 60rpx 0 40rpx;
  469. .line { width: 60rpx; height: 1rpx; background: #EEE; margin: 0 20rpx; }
  470. .end-text { font-size: 24rpx; color: #BBB; }
  471. }
  472. .bottom-placeholder {
  473. height: calc(140rpx + env(safe-area-inset-bottom));
  474. }
  475. .bottom-bar {
  476. position: fixed; bottom: 0; left: 0; right: 0; background: #FFF;
  477. padding: 20rpx 40rpx; padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  478. box-shadow: 0 -4rpx 20rpx rgba(0,0,0,0.05); z-index: 1000;
  479. display: flex; align-items: center; gap: 40rpx;
  480. .action-item {
  481. display: flex; flex-direction: column; align-items: center; min-width: 100rpx;
  482. .action-icon { width: 44rpx; height: 44rpx; margin-bottom: 4rpx; }
  483. .action-text { font-size: 22rpx; color: #666; &.active { color: #FFB700; } }
  484. }
  485. .small-consult-btn {
  486. flex: 1; height: 84rpx; line-height: 84rpx;
  487. background: #FFB700; color: #FFF; border-radius: 42rpx;
  488. font-size: 30rpx; font-weight: bold;
  489. box-shadow: 0 6rpx 12rpx rgba(255, 183, 0, 0.2);
  490. &::after { border: none; }
  491. &:active { opacity: 0.9; }
  492. }
  493. .report-btn {
  494. flex: 1; height: 84rpx; line-height: 84rpx;
  495. background: #E8F0FF; color: #2B5CFF; border-radius: 42rpx;
  496. font-size: 30rpx; font-weight: bold;
  497. &::after { border: none; }
  498. &:active { opacity: 0.9; }
  499. &.disabled {
  500. background: #F0F2F5; color: #C0C4CC; pointer-events: none;
  501. }
  502. }
  503. .start-exam-btn {
  504. flex: 1.5; height: 84rpx; line-height: 84rpx;
  505. background: linear-gradient(135deg, #1F6CFF 0%, #0056FF 100%); color: #FFF; border-radius: 42rpx;
  506. font-size: 30rpx; font-weight: bold;
  507. box-shadow: 0 6rpx 16rpx rgba(31, 108, 255, 0.3);
  508. &::after { border: none; }
  509. &:active { opacity: 0.9; transform: scale(0.98); }
  510. }
  511. .apply-btn {
  512. flex: 1.5; height: 84rpx; line-height: 84rpx;
  513. background: #1F6CFF; color: #FFF; border-radius: 42rpx;
  514. font-size: 30rpx; font-weight: bold;
  515. box-shadow: 0 6rpx 16rpx rgba(31, 108, 255, 0.3);
  516. &::after { border: none; }
  517. &:active { opacity: 0.9; transform: scale(0.98); }
  518. }
  519. .applied-btn {
  520. flex: 1.5; height: 84rpx; line-height: 84rpx;
  521. background: #E0E0E0; color: #999; border-radius: 42rpx;
  522. font-size: 30rpx; font-weight: bold;
  523. &::after { border: none; }
  524. }
  525. }
  526. </style>
  527. <style>
  528. /* 针对所有 scroll-view 隐藏滚动条 */
  529. ::-webkit-scrollbar {
  530. display: none !important;
  531. width: 0 !important;
  532. height: 0 !important;
  533. background: transparent;
  534. }
  535. </style>