123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993 |
- <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="btnt" v-if="!isSign" @click="applyAdd">立即报名</view>
- <view class="btnt1" style="width:200rpx;font-size: 15px;height: 40px;" v-if="isSign && !isExpired"
- @click="cancelAdd">取消报名
- </view>
- <view class="btnt" style="width:200rpx;margin-left:15px;font-size: 15px;height: 40px;"
- v-if="isSign && !isExpired" @click="Attend">
- 参与活动</view>
- <view class="btnt" v-else-if="isSign && isExpired" @click="lookPlayback">查看回放</view>
- </view>
- </view>
- <!-- 查看回放弹框 -->
- <u-modal :showConfirmButton="false" :show="PlaybackDig" closeOnClickOverlay @close="PlaybackDig=false">
- <u--image showMenuByLongpress :src="actItemList.playback"></u--image>
- </u-modal>
- <!-- 报名成功展示跳转二维码 -->
- <view class="ellone">
- <u-modal style="flex-direction: column !important;" :showConfirmButton="false" :show="DigenrollImg"
- closeOnClickOverlay @close="DigenrollImg=false">
- <view class="ellTit">
- <u-icon label="报名成功!" size="18"
- name="https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/file-1720687091199.png"></u-icon>
- </view>
- <u--image style="height: 400px !important;" mode="aspectFit" :src="actItemList.qrlink"></u--image>
- </u-modal>
- </view>
- <!-- 参与活动展示 -->
- <view class="ellone">
- <u-modal style="flex-direction: column !important;" :showConfirmButton="false" :show="GetInvolved"
- closeOnClickOverlay @close="GetInvolved=false">
- <view class="ellTit">
- <u-icon label="已报名!" size="18"
- name="https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/file-1720687091199.png"></u-icon>
- </view>
- <u--image mode="aspectFit" :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"></image>
- </view>
- <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,
- // 收藏按钮节流
- 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'
- };
- },
- // 分享
- 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));
- }
- });
- },
- computed: {
- isExpired() {
- let dTime = this.dTime.split(',')
- let bint = new Date(dTime[1]).getTime()
- let now = new Date().getTime()
- console.log(dTime, bint, 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.videolink)) {
- uni.showToast({
- title: "暂无回放",
- icon: 'none'
- });
- return
- }
- uni.navigateTo({
- url: "/pages/playBack/playBack?acId=" + encodeURIComponent(this.acId)
- });
- // this.PlaybackDig = true
- },
- // 获取页面数据
- 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()
- setTimeout(() => {
- this.showPopupConfirm = false
- if (JSON.stringify(this.actItemList.qrlink).length > 40) {
- this.DigenrollImg = true
- }
- }, 1500)
- })
- },
- // 参与活动操作
- Attend() {
- if (this.actItemList.qrlink) {
- if (JSON.stringify(this.actItemList.qrlink).length > 40) {
- this.GetInvolved = true
- } else {
- this.attendMett(this.actItemList.qrlink)
- }
- } else {
- uni.showToast({
- title: '此活动无链接',
- icon: 'none'
- })
- }
- },
- attendMett(val) {
- // return console.log(val.cod,val.psd);
- let meetData = val.split(',')
- // return console.log(meetData);
- const meetingCode = meetData[0];
- const password = meetData[1];
- const channel = '腾讯会议';
- const nickname = encodeURIComponent(this.$store.state.user.username);
- let path = `pages/index/index?chn=${channel}&code=${meetingCode}&pwd=${password}&nm=${nickname}`;
- wx.navigateToMiniProgram({
- appId: 'wx33fd6cdc62520063',
- path: path, // 跳转到的页面路径
- extraData: {},
- envVersion: 'release', // 是指要打开的小程序的版本,默认为'release'
- success(res) {
- // 打开成功
- console.log('打开成功', res)
- },
- fail(err) {
- // 打开失败
- console.log('打开失败', err)
- console.error(`launch Tencent WeMeet Miniprogram failed: ${err.errMsg}`);
- },
- })
- },
- // 添加消息页面系统通知提示报名成功
- 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 {
- // max-height: 400px !important;
- // }
- // /deep/ .u-image__image {
- // max-height: 600px !important;
- // }
- /deep/ .u-modal__content {
- flex-direction: column !important;
- align-items: center;
- // height: 450px;
- }
- }
- .ellTit {
- margin-bottom: 10px;
- font-weight: bold;
- color: 000;
- }
- .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>
|