activityDetailNew.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863
  1. <template>
  2. <!-- 教研室详情 -->
  3. <view class="activityDetailNew">
  4. <statusBar :item="navbar"></statusBar>
  5. <!-- 消息提示 -->
  6. <msgPop></msgPop>
  7. <view class="top">
  8. <image class="img1" src="https://teacherapi.cocorobo.cn/teaching-file/static/yym/Rectangle25.png"
  9. mode="widthFix">
  10. </image>
  11. <image class="img2" src="../../static/Dropdown.png" mode="widthFix"></image>
  12. </view>
  13. <view class="decontent">
  14. <view class="actit">
  15. {{actItemList.acName}}
  16. </view>
  17. <view class="footer">
  18. <view class="">
  19. {{actItemList.create_at}}
  20. </view>
  21. <view class="">
  22. 阅读量:{{actItemList.views}}
  23. </view>
  24. </view>
  25. <view class="avaList">
  26. <view class="ava" @click="gotoMorePer">
  27. <u-avatar-group :urls="applyUserlist" maxCount='6' showMore size="35" :extraValue='stuNum'
  28. gap="0.4"></u-avatar-group>
  29. <view style="font-size: 24rpx;
  30. font-weight: 400;
  31. width: 200rpx;
  32. color:rgba(0, 0, 0, 0.6);
  33. margin-left: 20rpx;">
  34. {{!applyUserlist.length?'暂无报名':'已报名'}}
  35. </view>
  36. </view>
  37. <view class="cost">
  38. <!-- ¥<text style="font-size: 48rpx;">{{actItemList.cost}}</text> -->
  39. </view>
  40. </view>
  41. <view class="acinfo">
  42. <view class="acinfoAddress">
  43. <view class="acinfoTit">
  44. <text>时</text>
  45. <text>间</text>
  46. </view>:
  47. <text class="inf">{{actItemList.begin_at}}</text>
  48. </view>
  49. <!-- <view class="acinfoAddress">
  50. 地点:<text class="inf">{{actItemList.address}}</text>
  51. </view> -->
  52. <!-- <view class="">
  53. 主办单位:<text class="inf">暂无字段</text>
  54. </view> -->
  55. <view class="acinfoAddress">
  56. <view class="acinfoTit">
  57. <text>活</text>
  58. <text>动</text>
  59. <text>形</text>
  60. <text>式</text>
  61. </view>: <text style="color:rgba(0, 86, 168, 1) ;">{{actItemList.acshape}}</text>
  62. </view>
  63. </view>
  64. <!-- 活动介绍 -->
  65. <view class="acbrief">
  66. <view class="britit">
  67. 活动介绍
  68. </view>
  69. <!-- <web-view :src="actItemList.link" webview-styles="{'height': '700rpx';}"></web-view> -->
  70. <!-- <br /> -->
  71. <!-- <view class="bricon" @longpress="scanCode"> -->
  72. <view class="bricon">
  73. <!-- <rich-text style="white-space:pre-wrap;" :nodes="actItemList.brief"></rich-text> -->
  74. <u-parse :content="actItemList.brief" :selectable="true" :lazyLoad="true" :loadingImg="imgLoading"></u-parse>
  75. </view>
  76. </view>
  77. </view>
  78. <!-- 按钮 -->
  79. <view class="btnBlock">
  80. <view class="icos">
  81. <view class="ico">
  82. <view class="imgBlock" @click="coll">
  83. <image class="icoimg"
  84. :src="collArr.includes(actItemList.acId) ? pic_coll2 : '../../static/Starhhh.png'"
  85. mode="aspectFill"></image>
  86. </view>
  87. <text class="icotxt">收藏</text>
  88. </view>
  89. <view class="ico" style="position: relative;">
  90. <view class="imgBlock">
  91. <image class="icoimg" style="height: 70%;width: 65%;" src="../../static/union.png"
  92. mode="aspectFill"></image>
  93. </view>
  94. <button open-type="share"
  95. style="background-color: aquamarine;opacity: 0; position: absolute;left: 0;width: 100%;height: 100%;"></button>
  96. <text class="icotxt">分享</text>
  97. </view>
  98. </view>
  99. <view class="rightBtn">
  100. <view class="btnt1" v-if="actItemList.openid==oid">本人创建,暂不支持加入</view>
  101. <view class="btnt" v-else-if="!isSign" @click="applyAdd">立即报名</view>
  102. <view class="btnt" v-else-if="isSign" @click="cancelAdd">取消报名</view>
  103. <!-- <view class="btnt1" v-else-if="actItemList.bnum>=actItemList.pers">人数已满</view> -->
  104. <!-- <view class="btnt1" v-else-if="isSign && actItemList.openid!=oid">已报名</view> -->
  105. </view>
  106. </view>
  107. <!-- 弹窗 -->
  108. <view>
  109. <view class="mask" v-show="showPopup" @click="showPopup = false"></view>
  110. <view class="popup-container" v-show="showPopup">
  111. <view class="popup">
  112. <view class="header">
  113. <text v-if="!isAdd">确认报名</text>
  114. <text v-else>是否取消报名</text>
  115. </view>
  116. <view class="footer">
  117. <view class="cancel-btn" @click="showPopup=false">取消</view>
  118. <view class="confirm-btn" v-if="!isAdd" @click="conf">确认</view>
  119. <view class="confirm-btn" v-else @click="canc">确认</view>
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. <view>
  125. <view class="popup-container2" style="height: 175px;" v-show="showPopupConfirm">
  126. <view class="popup">
  127. <view class="header" style="margin-top: 15px;">
  128. <view class="imgShade">
  129. <image src="../../static/mine/gou3.png" mode="aspectFill">
  130. </view>
  131. </image>
  132. <text style="margin-bottom: 24px;">报名成功</text>
  133. </view>
  134. </view>
  135. </view>
  136. </view>
  137. <view class="" style="height: 170rpx;width: 750rpx;">
  138. <!-- 占位的 -->
  139. </view>
  140. <u-loading-page :loading="uLoading"></u-loading-page>
  141. </view>
  142. </template>
  143. <script>
  144. export default {
  145. data() {
  146. return {
  147. navbar: {
  148. title: '活动详情',
  149. btn: 1
  150. },
  151. // 用户openid
  152. oid: '',
  153. // 活动id
  154. acId: '',
  155. stuNum: 0,
  156. // 页面数据
  157. actItemList: {},
  158. // 用户收藏列表
  159. collArr: [],
  160. //报名成功弹窗
  161. showPopupConfirm: false,
  162. // 用户订阅列表
  163. // subArr: [],
  164. uLoading: false,
  165. // 收藏按钮节流
  166. stopTimer: 0,
  167. //控制弹窗
  168. showPopup: false,
  169. // 是否已加入
  170. isSign: 0,
  171. // 判断显示报名弹窗还是取消报名弹窗
  172. isAdd: 0,
  173. // 报名列表
  174. applyUserlist: [],
  175. pic_coll2: 'https://teacherapi.cocorobo.cn/teaching-file/static/mine/Collect_yellow.png',
  176. imgLoading:'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/file-1712113517547.png'
  177. // nodes: [{
  178. // name: 'div',
  179. // attrs: {
  180. // class: 'div-class',
  181. // style: 'line-height: 60px; color: red; text-align:center;'
  182. // },
  183. // children: [{
  184. // type: 'text',
  185. // text: 'Hello&nbsp;uni-app!'
  186. // }]
  187. // }],
  188. // strings: '<div style="text-align:center;"><img src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png"/></div>'
  189. // pic_sub: 'https://teacherapi.cocorobo.cn/teaching-file/static/yym/Vector (Stroke) (1).png',
  190. // pic_sub2: 'https://teacherapi.cocorobo.cn/teaching-file/static/dingyue_blue.png',
  191. };
  192. },
  193. // 分享
  194. onShareAppMessage() {
  195. uni.share({
  196. provider: "weixin",
  197. scene: "WXSceneSession",
  198. type: 1,
  199. summary: "我正在使用丽湖双创小程序,赶紧跟我一起来体验!",
  200. success: function(res) {
  201. console.log("success:" + JSON.stringify(res));
  202. },
  203. fail: function(err) {
  204. console.log("fail:" + JSON.stringify(err));
  205. }
  206. });
  207. },
  208. onShareTimeline() {
  209. uni.share({
  210. provider: "weixin",
  211. scene: "WXSceneTimeline",
  212. type: 0,
  213. href: "http://uniapp.dcloud.io/",
  214. title: "uni-app分享",
  215. summary: "我正在使用丽湖双创小程序,赶紧跟我一起来体验!",
  216. imageUrl: "https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png",
  217. success: function(res) {
  218. console.log("success:" + JSON.stringify(res));
  219. },
  220. fail: function(err) {
  221. console.log("fail:" + JSON.stringify(err));
  222. }
  223. });
  224. },
  225. // onUnload() {
  226. // this.$store.dispatch('asyncDelAll')
  227. // },
  228. methods: {
  229. //跳转到第三方链接
  230. gotoLink(e) {
  231. let link = e.currentTarget.dataset.link;
  232. uni.navigateTo({
  233. url: "/pages/skipone/skipone?url=" + encodeURIComponent(link),
  234. });
  235. },
  236. // 获取页面数据
  237. getdata() {
  238. this.uLoading = true
  239. let data = {
  240. oid: this.$store.state.user.openid,
  241. acId: this.acId,
  242. }
  243. this.$request('/selectActivityID', "POST", data).then(res => {
  244. // console.log('页面数据', res[0][0]);
  245. let srrt = this.datejudge(res[0][0].begin_at)
  246. console.log('srrt', srrt);
  247. res[0][0].begin_at = srrt
  248. this.uLoading = false
  249. this.actItemList = res[0][0]
  250. this.actItemList.brief = this.actItemList.brief.replace(/<img/gi,
  251. '<img style="max-width:100%;height:auto;margin:0 auto;display:block"'
  252. )
  253. })
  254. },
  255. // 处理时间
  256. datejudge(e) {
  257. const dates = e.split(",");
  258. const date1 = new Date(dates[0]);
  259. const date2 = new Date(dates[1]);
  260. const year1 = date1.getFullYear();
  261. const month1 = date1.getMonth();
  262. const day1 = date1.getDate();
  263. const year2 = date2.getFullYear();
  264. const month2 = date2.getMonth();
  265. const day2 = date2.getDate();
  266. if (year1 === year2 && month1 === month2 && day1 === day2) {
  267. const modifiedDate = dates[1].substring(11); // 保留时间部分(小时和分钟)
  268. dates[1] = modifiedDate;
  269. }
  270. const result = dates.join("-");
  271. return result
  272. },
  273. // 申请加入弹窗
  274. applyAdd() {
  275. const value = this.$store.state.user.openid;
  276. if (!value) {
  277. uni.showToast({
  278. title: '未登录,请登录',
  279. icon: 'none'
  280. })
  281. setTimeout(() => {
  282. this.goLog()
  283. }, 1000)
  284. return
  285. }
  286. // console.log('报名');
  287. this.isAdd = 0
  288. this.showPopup = true
  289. },
  290. //显示取消报名弹窗
  291. cancelAdd() {
  292. this.isAdd = 1
  293. this.showPopup = true
  294. },
  295. // 确认取消报名操作
  296. canc() {
  297. let data = {
  298. oid: this.$store.state.user.openid, //用户id
  299. acid: this.acId,
  300. }
  301. this.$request('/deleteApply', "POST", data).then(res => {
  302. console.log('取消报名返回', res);
  303. this.btnEnroll()
  304. this.getUsers()
  305. // 弹窗关闭
  306. this.showPopup = false
  307. uni.showToast({
  308. title: '已取消报名',
  309. icon: 'none',
  310. })
  311. })
  312. },
  313. // 确认报名操作
  314. conf() {
  315. this.showPopup = false
  316. let data = {
  317. oid: this.$store.state.user.openid, //用户id
  318. acid: this.acId,
  319. ty: 2,
  320. }
  321. this.$request('/insertSignup', "POST", data).then(res => {
  322. console.log('报名返回', res);
  323. // 添加消息页面系统通知提示报名成功
  324. this.addMessage()
  325. this.showPopupConfirm = true
  326. this.btnEnroll()
  327. this.getUsers()
  328. setTimeout(() => {
  329. this.showPopupConfirm = false
  330. // this.getData()
  331. }, 1500)
  332. })
  333. },
  334. // 添加消息页面系统通知提示报名成功
  335. addMessage() {
  336. let data = {
  337. oid: this.$store.state.user.openid,
  338. acid: this.acId,
  339. type: 0,
  340. }
  341. this.$request('/insertMessage', "POST", data).then(res => {
  342. console.log('添加消息页面系统通知提示报名成功', res);
  343. })
  344. },
  345. // 查看更多报名同学
  346. gotoMorePer() {
  347. uni.navigateTo({
  348. url: `/pages/dy/dy?acId=${this.acId}`
  349. })
  350. },
  351. goLog() {
  352. uni.navigateTo({
  353. url: "/pages/login_Wechat/login_Wechat",
  354. });
  355. },
  356. //获取是否报名
  357. btnEnroll() {
  358. let data = {
  359. oid: this.$store.state.user.openid, //用户id
  360. aid: this.acId,
  361. type: 2
  362. }
  363. this.$request('/selectSignup', 'POST', data).then(res => {
  364. // console.log('获取报名', res[0][0]);
  365. this.isSign = res[0][0].num
  366. })
  367. },
  368. // 收藏事件
  369. coll() {
  370. const value = this.$store.state.user.openid;
  371. if (!value) {
  372. uni.showToast({
  373. title: '未登录,请登录',
  374. icon: 'none'
  375. })
  376. setTimeout(() => {
  377. this.goLog()
  378. }, 1000)
  379. return
  380. }
  381. // this.stopTimer=0
  382. if (this.stopTimer) return uni.showToast({
  383. icon: 'none',
  384. title: '点击过快'
  385. })
  386. this.stopTimer = 1
  387. setTimeout(() => {
  388. this.stopTimer = 0
  389. }, 500)
  390. //判断是否收藏
  391. let iscoll = null
  392. // 查询是否收藏过
  393. let data = {
  394. acid: this.acId,
  395. oid: this.$store.state.user.openid, //用户id
  396. ty: 0
  397. }
  398. this.$request('/selectOneOperator', 'POST', data).then(res => {
  399. // console.log('查询是否收藏过',res);
  400. res[0].length ? iscoll = true : iscoll = false;
  401. // iscoll为true表示已经收藏过,执行删除 为true则收藏
  402. if (iscoll) {
  403. this.$store.dispatch('asyncUpdatemsg', {
  404. collAoff: 0
  405. })
  406. console.log('执行删除');
  407. this.$request('/deleteOperator', 'POST', data).then(res => {
  408. // console.log(res);
  409. this.getColl()
  410. setTimeout(() => {
  411. this.$store.dispatch('asyncDelMsg')
  412. }, 1500)
  413. })
  414. } else {
  415. this.$store.dispatch('asyncUpdatemsg', {
  416. collAoff: 1
  417. })
  418. console.log('执行添加');
  419. this.$request('/insertOperator', 'POST', data).then(res => {
  420. // console.log(res);
  421. this.getColl()
  422. setTimeout(() => {
  423. this.$store.dispatch('asyncDelMsg')
  424. }, 1500)
  425. })
  426. }
  427. })
  428. },
  429. //获取是否收藏
  430. getColl() {
  431. let data = {
  432. oid: this.$store.state.user.openid, //用户id
  433. type: 0
  434. }
  435. this.$request('/selectOperator', 'POST', data).then(res => {
  436. // console.log('获取收藏', res);
  437. // 每次调用前清零,防止push叠加错误
  438. this.collArr = []
  439. // 将acid遍历到collArr中
  440. res[0].forEach(i => {
  441. this.collArr.push(i.acId)
  442. })
  443. })
  444. },
  445. // 获取报名用户
  446. getUsers() {
  447. let data = {
  448. oid: this.$store.state.user.openid, //用户id
  449. aid: this.acId,
  450. type: 2,
  451. page: 1, //下拉获取更多的备用字段
  452. lim: 6 //一次获取多少数据
  453. }
  454. this.$request('/selectApplyUser', 'POST', data).then(res => {
  455. console.log('获取报名用户列表', res[0]);
  456. if (res[0].length > 0) {
  457. this.stuNum = res[0][0].unum
  458. }
  459. // this.stuNum = res[0].length
  460. this.applyUserlist = []
  461. let arr = res[0]
  462. arr = arr.slice(0, 6)
  463. arr.forEach(e => {
  464. this.applyUserlist.push(e.avatar)
  465. })
  466. // this.applyUserlist = res[0]
  467. })
  468. }
  469. },
  470. onLoad(e) {
  471. // this.stopTimer=0
  472. // console.log('接收参数',e);
  473. this.acId = e.acId
  474. this.oid = this.$store.state.user.openid
  475. // 获取是否报名
  476. this.btnEnroll()
  477. // this.getActivity()
  478. // 获取页面数据
  479. this.getdata()
  480. // 获取是否收藏
  481. this.getColl()
  482. // 获取是否订阅
  483. // this.getSub()
  484. // 获取报名人名单
  485. this.getUsers()
  486. let curRoute = this.$mp.page.route //获取当前页面的路由信息
  487. let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
  488. console.log('routes', routes);
  489. if (routes.length == 1) {
  490. this.navbar.btn = 2
  491. } else {
  492. this.navbar.btn = 1
  493. }
  494. }
  495. }
  496. </script>
  497. <style lang="scss">
  498. .activityDetailNew {
  499. background-color: #fff;
  500. .popup-container2 {
  501. position: fixed;
  502. top: 50%;
  503. left: 50%;
  504. transform: translate(-50%, -50%);
  505. width: 520rpx;
  506. height: 260rpx;
  507. z-index: 1000;
  508. border-radius: 16rpx;
  509. // display: none;
  510. box-shadow: 0rpx 3rpx 10rpx 5rpx rgba(0, 0, 0, .1);
  511. overflow: hidden;
  512. .popup {
  513. width: 100%;
  514. height: 100%;
  515. display: flex;
  516. flex-direction: column;
  517. background-color: #fff;
  518. border-radius: 16rpx;
  519. overflow: hidden;
  520. .header {
  521. flex: 1;
  522. display: flex;
  523. justify-content: center;
  524. align-items: center;
  525. flex-direction: column;
  526. margin-top: 24px;
  527. font-size: 34rpx;
  528. font-weight: 600;
  529. .imgShade {
  530. width: 170rpx;
  531. height: 170rpx;
  532. display: flex;
  533. justify-content: center;
  534. align-items: center;
  535. border: 10rpx #0056A8 solid;
  536. border-radius: 50%;
  537. box-shadow: 0 0 10rpx #0056A8;
  538. margin-bottom: 10rpx;
  539. }
  540. image {
  541. width: 150rpx;
  542. height: 150rpx;
  543. margin-top: 15px;
  544. margin-bottom: 15px;
  545. }
  546. }
  547. .footer {
  548. width: 100%;
  549. display: flex;
  550. overflow: hidden;
  551. .cancel-btn {
  552. width: 50%;
  553. height: 100rpx;
  554. background-color: #F7F7F7;
  555. color: #000;
  556. font-size: 34rpx;
  557. text-align: center;
  558. border-bottom-left-radius: 16rpx;
  559. line-height: 50px;
  560. }
  561. .confirm-btn {
  562. width: 50%;
  563. height: 100rpx;
  564. background-color: #0081FE;
  565. color: #fff;
  566. font-size: 34rpx;
  567. text-align: center;
  568. line-height: 50px;
  569. }
  570. }
  571. }
  572. }
  573. .top {
  574. width: 750rpx;
  575. position: relative;
  576. .img1 {
  577. display: block;
  578. margin: auto;
  579. width: 750rpx;
  580. }
  581. .img2 {
  582. position: absolute;
  583. width: 100%;
  584. left: 0;
  585. bottom: 0;
  586. }
  587. }
  588. .decontent {
  589. width: 750rpx;
  590. border-top-right-radius: 30rpx;
  591. border-top-left-radius: 30rpx;
  592. background-color: #fff;
  593. padding: 32rpx;
  594. display: flex;
  595. flex-direction: column;
  596. justify-content: flex-start;
  597. border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
  598. .actit {
  599. font-weight: 600;
  600. font-size: 40rpx;
  601. color: rgba(0, 0, 0, 0.8);
  602. line-height: 56rpx;
  603. display: -webkit-box;
  604. word-break: break-all;
  605. text-overflow: ellipsis;
  606. overflow: hidden;
  607. -webkit-box-orient: vertical;
  608. -webkit-line-clamp: 2;
  609. }
  610. .footer {
  611. display: flex;
  612. justify-content: space-between;
  613. color: rgba(0, 0, 0, 0.4);
  614. font-size: 24rpx;
  615. // height: 32rpx;
  616. // line-height: 32rpx;
  617. font-weight: 400;
  618. padding: 20rpx 0;
  619. padding-bottom: 0;
  620. }
  621. .avaList {
  622. display: flex;
  623. justify-content: space-between;
  624. width: 100%;
  625. align-items: center;
  626. padding: 30rpx 0;
  627. border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
  628. margin-bottom: 20rpx;
  629. .ava {
  630. // width: 353rpx;
  631. display: flex;
  632. align-items: center;
  633. }
  634. .cost {
  635. flex: 1;
  636. text-align: right;
  637. font-weight: 700;
  638. font-size: 40rpx;
  639. color: rgba(246, 135, 23, 1);
  640. }
  641. }
  642. .acinfo {
  643. width: 100%;
  644. display: flex;
  645. flex-direction: column;
  646. justify-content: space-between;
  647. font-size: 28rpx;
  648. font-weight: 400;
  649. color: rgba(0, 0, 0, 0.6);
  650. border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
  651. // padding-bottom: 30rpx;
  652. .acinfoAddress {
  653. // padding: 20rpx 0;
  654. display: flex;
  655. padding-bottom: 20rpx;
  656. .acinfoTit {
  657. width: 150rpx;
  658. display: flex;
  659. justify-content: space-between;
  660. // text-align: justify;
  661. .justified-text {
  662. text-align: justify;
  663. text-justify: inter-word;
  664. /* 兼容性写法,用于处理中英文混排时的对齐效果 */
  665. }
  666. }
  667. }
  668. .inf {
  669. color: rgba(0, 0, 0, 0.8);
  670. }
  671. }
  672. .acbrief {
  673. width: 100%;
  674. .britit {
  675. width: 100%;
  676. height: 48rpx;
  677. font-weight: 600;
  678. line-height: 48rpx;
  679. font-size: 32rpx;
  680. color: rgba(0, 0, 0, 0.8);
  681. margin: 30rpx 0;
  682. }
  683. .bricon {
  684. font-weight: 400;
  685. font-size: 28rpx;
  686. line-height: 44rpx;
  687. color: (0, 0, 0, 0.8);
  688. margin-bottom: 30rpx;
  689. }
  690. .briImg {
  691. width: 100%;
  692. }
  693. }
  694. }
  695. .btnBlock {
  696. position: fixed;
  697. bottom: 0;
  698. left: 0;
  699. width: 750rpx;
  700. height: 175rpx;
  701. background-color: #fff;
  702. display: flex;
  703. justify-content: flex-start;
  704. align-items: center;
  705. padding: 30rpx 30rpx;
  706. padding-bottom: 40rpx;
  707. border-top: 1rpx rgba(231, 231, 231, 1) solid;
  708. // padding-bottom: 78rpx;
  709. .icos {
  710. width: 200rpx;
  711. height: 96rpx;
  712. flex-shrink: 0;
  713. margin-right: 30rpx;
  714. display: flex;
  715. justify-content: space-between;
  716. .ico {
  717. width: 100rpx;
  718. display: flex;
  719. flex-direction: column;
  720. justify-content: space-between;
  721. align-items: center;
  722. .imgBlock {
  723. width: 48rpx;
  724. height: 48rpx;
  725. display: flex;
  726. align-items: center;
  727. justify-content: center;
  728. .icoimg {
  729. width: 42rpx;
  730. height: 40rpx;
  731. }
  732. }
  733. .icotxt {
  734. font-size: 24rpx;
  735. height: 40rpx;
  736. line-height: 40rpx;
  737. color: rgba(4, 0, 0, 1);
  738. }
  739. }
  740. }
  741. .rightBtn {
  742. flex: 1;
  743. display: flex;
  744. justify-content: center;
  745. align-items: center;
  746. .btnt {
  747. width: 454rpx;
  748. color: #fff;
  749. // font-weight: 600;
  750. height: 96rpx;
  751. background-color: rgba(0, 86, 168, 1);
  752. display: flex;
  753. justify-content: center;
  754. align-items: center;
  755. border-radius: 10rpx;
  756. }
  757. .btnt1 {
  758. width: 454rpx;
  759. color: #fff;
  760. // font-weight: 600;
  761. height: 96rpx;
  762. background-color: rgba(139, 190, 255, 1);
  763. display: flex;
  764. justify-content: center;
  765. align-items: center;
  766. border-radius: 10rpx;
  767. }
  768. }
  769. }
  770. }
  771. </style>