12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010 |
- <template>
- <!-- 教研室详情 -->
- <view class="activityDetailNew">
- <statusBar :item="navbar"></statusBar>
- <!-- 消息提示 -->
- <msgPop></msgPop>
- <view class="top">
- <image class="img1" src="https://teacherapi.cocorobo.cn/teaching-file/static/yym/Rectangle25.png"
- mode="widthFix">
- </image>
- <image class="img2" src="../../static/Dropdown.png" mode="widthFix"></image>
- </view>
- <view class="decontent">
- <view class="actit">
- {{actItemList.acName}}
- </view>
- <view class="footer">
- <view class="">
- {{actItemList.create_at}}
- </view>
- <view class="">
- 阅读量:{{actItemList.views}}
- </view>
- </view>
- <view class="avaList">
- <view class="ava" @click="gotoMorePer">
- <u-avatar-group :urls="applyUserlist" maxCount='6' showMore size="35" :extraValue='stuNum'
- gap="0.4"></u-avatar-group>
- <view style="font-size: 24rpx;
- font-weight: 400;
- width: 200rpx;
- color:rgba(0, 0, 0, 0.6);
- margin-left: 20rpx;">
- {{!applyUserlist.length?'暂无报名':'已报名'}}
- </view>
- </view>
- <view class="cost">
- <!-- ¥<text style="font-size: 48rpx;">{{actItemList.cost}}</text> -->
- </view>
- </view>
- <view class="acinfo">
- <view class="acinfoAddress">
- <view class="acinfoTit">
- <text>时</text>
- <text>间</text>
- </view>:
- <text class="inf">{{actItemList.begin_at}}</text>
- </view>
- <!-- <view class="acinfoAddress">
- 地点:<text class="inf">{{actItemList.address}}</text>
- </view> -->
- <!-- <view class="">
- 主办单位:<text class="inf">暂无字段</text>
- </view> -->
- <view class="acinfoAddress">
- <view class="acinfoTit">
- <text>活</text>
- <text>动</text>
- <text>形</text>
- <text>式</text>
- </view>: <text style="color:rgba(0, 86, 168, 1) ;">{{actItemList.acshape}}</text>
- </view>
- </view>
- <!-- 活动介绍 -->
- <view class="acbrief">
- <view class="britit">
- 活动介绍
- </view>
- <!-- <web-view :src="actItemList.link" webview-styles="{'height': '700rpx';}"></web-view> -->
- <!-- <br /> -->
- <!-- <view class="bricon" @longpress="scanCode"> -->
- <view class="bricon">
- <!-- <rich-text style="white-space:pre-wrap;" :nodes="actItemList.brief"></rich-text> -->
- <u-parse :content="actItemList.brief" :selectable="true" :lazyLoad="true"
- :loadingImg="imgLoading"></u-parse>
- </view>
- </view>
- </view>
- <!-- 按钮 -->
- <view class="btnBlock">
- <view class="icos">
- <view class="ico">
- <view class="imgBlock" @click="coll">
- <image class="icoimg"
- :src="collArr.includes(actItemList.acId) ? pic_coll2 : '../../static/Starhhh.png'"
- mode="aspectFill"></image>
- </view>
- <text class="icotxt">收藏</text>
- </view>
- <view class="ico" style="position: relative;">
- <view class="imgBlock">
- <image class="icoimg" style="height: 70%;width: 65%;" src="../../static/union.png"
- mode="aspectFill"></image>
- </view>
- <button open-type="share"
- style="background-color: aquamarine;opacity: 0; position: absolute;left: 0;width: 100%;height: 100%;"></button>
- <text class="icotxt">分享</text>
- </view>
- </view>
- <view class="rightBtn">
- <view class="btnt1" v-if="actItemList.openid==oid">本人创建,暂不支持加入</view>
- <view class="btnt" v-else-if="!isSign" @click="applyAdd">立即报名</view>
- <view class="btnt1" style="width:200rpx;" v-if="isSign && !isExpired" @click="cancelAdd">取消报名
- </view>
- <view class="btnt" style="width:200rpx;margin-left:15px" v-if="isSign && !isExpired"
- @click="Attend">参与活动</view>
- <view class="btnt" v-else-if="isSign && isExpired" @click="lookPlayback">查看回放</view>
- <!-- <view class="btnt" style="background-color: #ccc;" v-else-if="!isSign && isExpired">报名时间结束</view> -->
- <!-- <view class="btnt1" v-else-if="actItemList.bnum>=actItemList.pers">人数已满</view> -->
- <!-- <view class="btnt1" v-else-if="isSign && actItemList.openid!=oid">已报名</view> -->
- </view>
- </view>
- <!-- 查看回放弹框 -->
- <u-modal :showConfirmButton="false" :show="PlaybackDig" closeOnClickOverlay @close="PlaybackDig=false">
- <u--image :src="actItemList.playback"></u--image>
- </u-modal>
- <!-- 报名成功展示跳转二维码 -->
- <view class="ellone">
- <u-modal style="height: 600px !important;flex-direction: column !important;" :showConfirmButton="false"
- :show="DigenrollImg" closeOnClickOverlay @close="DigenrollImg=false">
- <view style="font-size: 15px;font-weight: 600;margin-top: 20px;">
- 报名成功!
- </view>
- <!-- <view style="font-size: 15px;font-weight: 600;margin-top: 5px;">
- {{ popupMessage }}
- </view> -->
- <u--image style="height: 400px !important;" :src="actItemList.qrlink"></u--image>
- </u-modal>
- </view>
- <view class="ellone">
- <u-modal style="height: 600px !important;flex-direction: column !important;" :showConfirmButton="false"
- :show="GetInvolved" closeOnClickOverlay @close="GetInvolved=false">
- <view style="font-size: 15px;font-weight: 600;margin-top: 20px;">
- 已报名!
- </view>
- <view style="font-size: 15px;font-weight: 600;margin-top: 5px;">
- 请扫码进入腾讯会议
- </view>
- <view style="font-size: 15px;font-weight: 600;margin-top: 5px;">
- 参与此次教研活动
- </view>
- <u--image style="height: 400px !important;" :src="actItemList.qrlink"></u--image>
- </u-modal>
- </view>
- <!-- @click="showBigImage" -->
- <!-- 弹窗 -->
- <view>
- <view class="mask" v-show="showPopup" @click="showPopup = false"></view>
- <view class="popup-container" v-show="showPopup">
- <view class="popup">
- <view class="header">
- <text v-if="!isAdd">确认报名</text>
- <text v-else>是否取消报名</text>
- </view>
- <view class="footer">
- <view class="cancel-btn" @click="showPopup=false">取消</view>
- <view class="confirm-btn" v-if="!isAdd" @click="conf">确认</view>
- <view class="confirm-btn" v-else @click="canc">确认</view>
- </view>
- </view>
- </view>
- </view>
- <view>
- <view class="popup-container2" style="height: 175px;" v-show="showPopupConfirm">
- <view class="popup">
- <view class="header" style="margin-top: 15px;">
- <view class="imgShade">
- <image src="../../static/mine/gou3.png" mode="aspectFill">
- </view>
- </image>
- <text style="margin-bottom: 24px;">报名成功</text>
- </view>
- </view>
- </view>
- </view>
- <view class="" style="height: 170rpx;width: 750rpx;">
- <!-- 占位的 -->
- </view>
- <u-loading-page :loading="uLoading"></u-loading-page>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- navbar: {
- title: '活动详情',
- btn: 1
- },
- // 用户openid
- oid: '',
- // 活动id
- acId: '',
- stuNum: 0,
- // 报名跳转链接
- // enrollImg: 'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/file-1719281192664.png',
- DigenrollImg: false,
- // 参与活动跳转链接
- GetInvolved: false,
- // 页面数据
- actItemList: {},
- // 用户收藏列表
- collArr: [],
- //报名成功弹窗
- showPopupConfirm: false,
- //过期日期
- dTime: '',
- // 查看回放弹框控制
- PlaybackDig: false,
- // 用户订阅列表
- // subArr: [],
- uLoading: false,
- //弹窗是否过期显示的内容
- popupMessage:'',
- // 收藏按钮节流
- stopTimer: 0,
- //控制弹窗
- showPopup: false,
- // 是否已加入
- isSign: 0,
- // 判断显示报名弹窗还是取消报名弹窗
- isAdd: 0,
- // 报名列表
- applyUserlist: [],
- pic_coll2: 'https://teacherapi.cocorobo.cn/teaching-file/static/mine/Collect_yellow.png',
- imgLoading: 'https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/file-1712113517547.png'
- // nodes: [{
- // name: 'div',
- // attrs: {
- // class: 'div-class',
- // style: 'line-height: 60px; color: red; text-align:center;'
- // },
- // children: [{
- // type: 'text',
- // text: 'Hello uni-app!'
- // }]
- // }],
- // strings: '<div style="text-align:center;"><img src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png"/></div>'
- // pic_sub: 'https://teacherapi.cocorobo.cn/teaching-file/static/yym/Vector (Stroke) (1).png',
- // pic_sub2: 'https://teacherapi.cocorobo.cn/teaching-file/static/dingyue_blue.png',
- };
- },
- // 分享
- onShareAppMessage() {
- uni.share({
- provider: "weixin",
- scene: "WXSceneSession",
- type: 1,
- summary: "我正在使用丽湖双创小程序,赶紧跟我一起来体验!",
- success: function(res) {
- console.log("success:" + JSON.stringify(res));
- },
- fail: function(err) {
- console.log("fail:" + JSON.stringify(err));
- }
- });
- },
- onShareTimeline() {
- uni.share({
- provider: "weixin",
- scene: "WXSceneTimeline",
- type: 0,
- href: "http://uniapp.dcloud.io/",
- title: "uni-app分享",
- summary: "我正在使用丽湖双创小程序,赶紧跟我一起来体验!",
- imageUrl: "https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/uni@2x.png",
- success: function(res) {
- console.log("success:" + JSON.stringify(res));
- },
- fail: function(err) {
- console.log("fail:" + JSON.stringify(err));
- }
- });
- },
- // onUnload() {
- // this.$store.dispatch('asyncDelAll')
- // },
- computed: {
- isExpired() {
- let dTime = this.dTime.split(',')
- let bint = new Date(dTime[0]).getTime()
- let now = new Date().getTime()
- // console.log("过期时间",bint);
- // console.log("当前日期",now);
- return bint < now
- }
- },
- methods: {
- // showBigImage() {
- // uni.previewImage({
- // current: this.actItemList.playback, // 当前显示的图片链接
- // urls: [this.actItemList.playback] // 需要预览的图片链接列表
- // });
- // },
- //跳转到第三方链接
- gotoLink(e) {
- let link = e.currentTarget.dataset.link;
- uni.navigateTo({
- url: "/pages/skipone/skipone?url=" + encodeURIComponent(link),
- });
- },
- // 查看回放
- lookPlayback() {
- if (!(!!this.actItemList.playback)) {
- uni.showToast({
- title: "暂无回放",
- icon: 'none'
- });
- return
- }
- this.PlaybackDig = true
- // uni.navigateTo({
- // // url: "/pages/skipone/skipone?item=" + encodeURIComponent(JSON.stringify('https://www.yuketang.cn/v2/web/forbidden'))
- // url: "/pages/skipone/skipone?item=" + encodeURIComponent(JSON.stringify(this.actItemList
- // .playback))
- // });
- },
- // 获取页面数据
- getdata() {
- this.uLoading = true
- let data = {
- oid: this.$store.state.user.openid,
- acId: this.acId,
- }
- this.$request('/selectActivityID', "POST", data).then(res => {
- console.log('页面数据', res[0][0]);
- this.dTime = res[0][0].begin_at;
- // console.log('this.dTime',this.dTime);
- let srrt = this.datejudge(res[0][0].begin_at)
- console.log('srrt', srrt);
- res[0][0].begin_at = srrt
- this.uLoading = false
- this.actItemList = res[0][0]
- this.actItemList.brief = this.actItemList.brief.replace(/<img/gi,
- '<img style="max-width:100%;height:auto;margin:0 auto;display:block"'
- )
- })
- },
- // 处理时间
- datejudge(e) {
- const dates = e.split(",");
- const date1 = new Date(dates[0]);
- const date2 = new Date(dates[1]);
- const year1 = date1.getFullYear();
- const month1 = date1.getMonth();
- const day1 = date1.getDate();
- const year2 = date2.getFullYear();
- const month2 = date2.getMonth();
- const day2 = date2.getDate();
- if (year1 === year2 && month1 === month2 && day1 === day2) {
- const modifiedDate = dates[1].substring(11); // 保留时间部分(小时和分钟)
- dates[1] = modifiedDate;
- }
- const result = dates.join("-");
- return result
- },
- // 申请加入弹窗
- applyAdd() {
- const value = this.$store.state.user.openid;
- if (!value) {
- uni.showToast({
- title: '未登录,请登录',
- icon: 'none'
- })
- setTimeout(() => {
- this.goLog()
- }, 1000)
- return
- }
- // console.log('报名');
- this.isAdd = 0
- this.showPopup = true
- },
- //显示取消报名弹窗
- cancelAdd() {
- this.isAdd = 1
- this.showPopup = true
- },
- // 确认取消报名操作
- canc() {
- let data = {
- oid: this.$store.state.user.openid, //用户id
- acid: this.acId,
- }
- this.$request('/deleteApply', "POST", data).then(res => {
- console.log('取消报名返回', res);
- this.btnEnroll()
- this.getUsers()
- // 弹窗关闭
- this.showPopup = false
- uni.showToast({
- title: '已取消报名',
- icon: 'none',
- })
- })
- },
- // 确认报名操作
- conf() {
- this.showPopup = false
- let data = {
- oid: this.$store.state.user.openid, //用户id
- acid: this.acId,
- ty: 2,
- }
- this.$request('/insertSignup', "POST", data).then(res => {
- console.log('报名返回', res);
- // 添加消息页面系统通知提示报名成功
- this.addMessage()
- this.showPopupConfirm = true
- this.btnEnroll()
- this.getUsers()
-
- this.showPopupConfirm = false
- if (this.actItemList.qrlink) {
- this.DigenrollImg = true
- }
- if(this.isExpired){
- this.lookPlayback()
- }
- // // 根据活动是否过期来设置不同的弹窗内容
- // if (this.isExpired) {
- // // 活动过期时的弹窗内容
- // this.popupMessage = "扫描后完成用户绑定,可查看活动回放";
- // } else {
- // // 活动未过期时的弹窗内容
- // this.popupMessage = "参与此次教研活动";
- // }
- // this.getData()
-
- })
- },
- // 参与活动操作
- Attend() {
- this.showPopup = false
-
- // 添加消息页面系统通知提示报名成功
- this.addMessage()
- this.btnEnroll()
- this.getUsers()
- this.showPopupConfirm = false
- if (this.actItemList.qrlink) {
- this.GetInvolved = true
- }
- // this.getData()
-
- },
- // 添加消息页面系统通知提示报名成功
- addMessage() {
- let data = {
- oid: this.$store.state.user.openid,
- acid: this.acId,
- type: 0,
- }
- this.$request('/insertMessage', "POST", data).then(res => {
- console.log('添加消息页面系统通知提示报名成功', res);
- })
- },
- // 查看更多报名同学
- gotoMorePer() {
- uni.navigateTo({
- url: `/pages/dy/dy?acId=${this.acId}`
- })
- },
- goLog() {
- uni.navigateTo({
- url: "/pages/login_Wechat/login_Wechat",
- });
- },
- //获取是否报名
- btnEnroll() {
- let data = {
- oid: this.$store.state.user.openid, //用户id
- aid: this.acId,
- type: 2
- }
- this.$request('/selectSignup', 'POST', data).then(res => {
- // console.log('获取报名', res[0][0]);
- this.isSign = res[0][0].num
- })
- },
- // 收藏事件
- coll() {
- const value = this.$store.state.user.openid;
- if (!value) {
- uni.showToast({
- title: '未登录,请登录',
- icon: 'none'
- })
- setTimeout(() => {
- this.goLog()
- }, 1000)
- return
- }
- // this.stopTimer=0
- if (this.stopTimer) return uni.showToast({
- icon: 'none',
- title: '点击过快'
- })
- this.stopTimer = 1
- setTimeout(() => {
- this.stopTimer = 0
- }, 500)
- //判断是否收藏
- let iscoll = null
- // 查询是否收藏过
- let data = {
- acid: this.acId,
- oid: this.$store.state.user.openid, //用户id
- ty: 0
- }
- this.$request('/selectOneOperator', 'POST', data).then(res => {
- // console.log('查询是否收藏过',res);
- res[0].length ? iscoll = true : iscoll = false;
- // iscoll为true表示已经收藏过,执行删除 为true则收藏
- if (iscoll) {
- this.$store.dispatch('asyncUpdatemsg', {
- collAoff: 0
- })
- console.log('执行删除');
- this.$request('/deleteOperator', 'POST', data).then(res => {
- // console.log(res);
- this.getColl()
- setTimeout(() => {
- this.$store.dispatch('asyncDelMsg')
- }, 1500)
- })
- } else {
- this.$store.dispatch('asyncUpdatemsg', {
- collAoff: 1
- })
- console.log('执行添加');
- this.$request('/insertOperator', 'POST', data).then(res => {
- // console.log(res);
- this.getColl()
- setTimeout(() => {
- this.$store.dispatch('asyncDelMsg')
- }, 1500)
- })
- }
- })
- },
- //获取是否收藏
- getColl() {
- let data = {
- oid: this.$store.state.user.openid, //用户id
- type: 0
- }
- this.$request('/selectOperator', 'POST', data).then(res => {
- // console.log('获取收藏', res);
- // 每次调用前清零,防止push叠加错误
- this.collArr = []
- // 将acid遍历到collArr中
- res[0].forEach(i => {
- this.collArr.push(i.acId)
- })
- })
- },
- // 获取报名用户
- getUsers() {
- let data = {
- oid: this.$store.state.user.openid, //用户id
- aid: this.acId,
- type: 2,
- page: 1, //下拉获取更多的备用字段
- lim: 6 //一次获取多少数据
- }
- this.$request('/selectApplyUser', 'POST', data).then(res => {
- console.log('获取报名用户列表', res[0]);
- if (res[0].length > 0) {
- this.stuNum = res[0][0].unum
- }
- // this.stuNum = res[0].length
- this.applyUserlist = []
- let arr = res[0]
- arr = arr.slice(0, 6)
- arr.forEach(e => {
- this.applyUserlist.push(e.avatar)
- })
- // this.applyUserlist = res[0]
- })
- }
- },
- onLoad(e) {
- // this.stopTimer=0
- // console.log('接收参数',e);
- this.acId = e.acId
- this.oid = this.$store.state.user.openid
- // 获取是否报名
- this.btnEnroll()
- // this.getActivity()
- // 获取页面数据
- this.getdata()
- // 获取是否收藏
- this.getColl()
- // 获取是否订阅
- // this.getSub()
- // 获取报名人名单
- this.getUsers()
- let curRoute = this.$mp.page.route //获取当前页面的路由信息
- let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
- console.log('routes', routes);
- if (routes.length == 1) {
- this.navbar.btn = 2
- } else {
- this.navbar.btn = 1
- }
- }
- }
- </script>
- <style lang="scss">
- .activityDetailNew {
- background-color: #fff;
- /deep/ .u-image {
- height: 300px !important;
- // align-items: center !important;
- }
- /deep/ .u-image__image {
- height: 300px !important;
- }
- .ellone {
- /deep/ .u-image {
- height: 400px !important;
- }
- /deep/ .u-image__image {
- height: 600px !important;
- }
- /deep/ .u-modal__content {
- flex-direction: column !important;
- align-items: center;
- height: 450px;
- }
- }
- .popup-container2 {
- position: fixed;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 520rpx;
- height: 260rpx;
- z-index: 1000;
- border-radius: 16rpx;
- // display: none;
- box-shadow: 0rpx 3rpx 10rpx 5rpx rgba(0, 0, 0, .1);
- overflow: hidden;
- .popup {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- background-color: #fff;
- border-radius: 16rpx;
- overflow: hidden;
- .header {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- margin-top: 24px;
- font-size: 34rpx;
- font-weight: 600;
- .imgShade {
- width: 170rpx;
- height: 170rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- border: 10rpx #0056A8 solid;
- border-radius: 50%;
- box-shadow: 0 0 10rpx #0056A8;
- margin-bottom: 10rpx;
- }
- image {
- width: 150rpx;
- height: 150rpx;
- margin-top: 15px;
- margin-bottom: 15px;
- }
- }
- .footer {
- width: 100%;
- display: flex;
- overflow: hidden;
- .cancel-btn {
- width: 50%;
- height: 100rpx;
- background-color: #F7F7F7;
- color: #000;
- font-size: 34rpx;
- text-align: center;
- border-bottom-left-radius: 16rpx;
- line-height: 50px;
- }
- .confirm-btn {
- width: 50%;
- height: 100rpx;
- background-color: #0081FE;
- color: #fff;
- font-size: 34rpx;
- text-align: center;
- line-height: 50px;
- }
- }
- }
- }
- .top {
- width: 750rpx;
- position: relative;
- .img1 {
- display: block;
- margin: auto;
- width: 750rpx;
- }
- .img2 {
- position: absolute;
- width: 100%;
- left: 0;
- bottom: 0;
- }
- }
- .decontent {
- width: 750rpx;
- border-top-right-radius: 30rpx;
- border-top-left-radius: 30rpx;
- background-color: #fff;
- padding: 32rpx;
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
- .actit {
- font-weight: 600;
- font-size: 40rpx;
- color: rgba(0, 0, 0, 0.8);
- line-height: 56rpx;
- display: -webkit-box;
- word-break: break-all;
- text-overflow: ellipsis;
- overflow: hidden;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- }
- .footer {
- display: flex;
- justify-content: space-between;
- color: rgba(0, 0, 0, 0.4);
- font-size: 24rpx;
- // height: 32rpx;
- // line-height: 32rpx;
- font-weight: 400;
- padding: 20rpx 0;
- padding-bottom: 0;
- }
- .avaList {
- display: flex;
- justify-content: space-between;
- width: 100%;
- align-items: center;
- padding: 30rpx 0;
- border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
- margin-bottom: 20rpx;
- .ava {
- // width: 353rpx;
- display: flex;
- align-items: center;
- }
- .cost {
- flex: 1;
- text-align: right;
- font-weight: 700;
- font-size: 40rpx;
- color: rgba(246, 135, 23, 1);
- }
- }
- .acinfo {
- width: 100%;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- font-size: 28rpx;
- font-weight: 400;
- color: rgba(0, 0, 0, 0.6);
- border-bottom: 1rpx rgba(231, 231, 231, 1) solid;
- // padding-bottom: 30rpx;
- .acinfoAddress {
- // padding: 20rpx 0;
- display: flex;
- padding-bottom: 20rpx;
- .acinfoTit {
- width: 150rpx;
- display: flex;
- justify-content: space-between;
- // text-align: justify;
- .justified-text {
- text-align: justify;
- text-justify: inter-word;
- /* 兼容性写法,用于处理中英文混排时的对齐效果 */
- }
- }
- }
- .inf {
- color: rgba(0, 0, 0, 0.8);
- }
- }
- .acbrief {
- width: 100%;
- .britit {
- width: 100%;
- height: 48rpx;
- font-weight: 600;
- line-height: 48rpx;
- font-size: 32rpx;
- color: rgba(0, 0, 0, 0.8);
- margin: 30rpx 0;
- }
- .bricon {
- font-weight: 400;
- font-size: 28rpx;
- line-height: 44rpx;
- color: (0, 0, 0, 0.8);
- margin-bottom: 30rpx;
- }
- .briImg {
- width: 100%;
- }
- }
- }
- .btnBlock {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 750rpx;
- height: 175rpx;
- background-color: #fff;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- padding: 30rpx 30rpx;
- padding-bottom: 40rpx;
- border-top: 1rpx rgba(231, 231, 231, 1) solid;
- // padding-bottom: 78rpx;
- .icos {
- width: 200rpx;
- height: 96rpx;
- flex-shrink: 0;
- margin-right: 30rpx;
- display: flex;
- justify-content: space-between;
- .ico {
- width: 100rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- .imgBlock {
- width: 48rpx;
- height: 48rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- .icoimg {
- width: 42rpx;
- height: 40rpx;
- }
- }
- .icotxt {
- font-size: 24rpx;
- height: 40rpx;
- line-height: 40rpx;
- color: rgba(4, 0, 0, 1);
- }
- }
- }
- .rightBtn {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- .btnt {
- width: 454rpx;
- color: #fff;
- font-weight: 400;
- font-size: 17px;
- height: 96rpx;
- background-color: rgba(0, 86, 168, 1);
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 10rpx;
- }
- .btnt1 {
- width: 454rpx;
- font-weight: 400;
- font-size: 17px;
- height: 96rpx;
- background-color: rgb(217, 217, 217);
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 10rpx;
- }
- }
- }
- }
- </style>
|