| | |
| | | <template>
|
| | | <page-meta :page-style="'overflow:'+(pageShow?'hidden':'visible')"></page-meta>
|
| | | <page-meta
|
| | | :page-style="'overflow:' + (pageShow ? 'hidden' : 'visible')"
|
| | | ></page-meta>
|
| | | <view class="yuyue">
|
| | | <view class="yuyue_head">
|
| | | <view class="yuyue_head_input">
|
| | |
| | | ></u--input>
|
| | | </view>
|
| | | <view class="yuyue_head_list">
|
| | | <view class="yuyue_head_list_item" v-for="(item, index) in cate" :key="index" @click="clickItem(index)">
|
| | | <text :class="i === index ? 'yuyue_head_list_item_active' : ''">{{item.name}}</text>
|
| | | <view
|
| | | class="yuyue_head_list_item"
|
| | | v-for="(item, index) in cate"
|
| | | :key="index"
|
| | | @click="clickItem(index)"
|
| | | >
|
| | | <text :class="i === index ? 'yuyue_head_list_item_active' : ''">{{
|
| | | item.name
|
| | | }}</text>
|
| | | <view class="yuyue_head_list_item_h" v-show="i === index"></view>
|
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | |
|
| | | <view class="yuyue_content" v-if="list && list.length > 0">
|
| | | <view class="yuyue_content_item" v-for="(item, index) in list" :key="index">
|
| | | <view
|
| | | class="yuyue_content_item"
|
| | | v-for="(item, index) in list"
|
| | | :key="index"
|
| | | >
|
| | | <view class="item_a" @click="jump(item.id)">
|
| | | <view class="item_a_title">{{item.meetingName}}</view>
|
| | | <view class="item_a_1 item_a_two" v-if="item.meetingStatus === 1">未开始</view>
|
| | | <view class="item_a_1 item_a_one" v-else-if="item.meetingStatus === 2">进行中</view>
|
| | | <view class="item_a_1 item_a_two" v-if="item.meetingStatus === 1"
|
| | | >未开始</view
|
| | | >
|
| | | <view class="item_a_1 item_a_one" v-else-if="item.meetingStatus === 2"
|
| | | >进行中</view
|
| | | >
|
| | | <view class="item_a_1 item_a_three" v-else>已结束</view>
|
| | | </view>
|
| | | <view class="item_b" @click="jump(item.id)"></view>
|
| | |
| | | </view>
|
| | | <view class="item_d" v-if="i === 0">
|
| | | <view class="item_d_left">
|
| | | <view class="item_d_left_item" @click.stop="copy(item)" v-if="item.meetingStatus !== 3">
|
| | | <image src="@/static/meeting/icon/ic_copy@2x.png" mode="widthFix"></image>
|
| | | <view
|
| | | class="item_d_left_item"
|
| | | @click.stop="copy(item)"
|
| | | v-if="item.meetingStatus !== 3"
|
| | | >
|
| | | <image
|
| | | src="@/static/meeting/icon/ic_copy@2x.png"
|
| | | mode="widthFix"
|
| | | ></image>
|
| | | <text>复制</text>
|
| | | </view>
|
| | | <view class="item_d_left_item" @click="fenxiang(item)" v-if="item.meetingStatus !== 3">
|
| | | <view
|
| | | class="item_d_left_item"
|
| | | @click="fenxiang(item)"
|
| | | v-if="item.meetingStatus !== 3"
|
| | | >
|
| | | <button open-type="share"></button>
|
| | | <image src="@/static/meeting/icon/ic_fenxiang@2x.png" mode="widthFix"></image>
|
| | | <image
|
| | | src="@/static/meeting/icon/ic_fenxiang@2x.png"
|
| | | mode="widthFix"
|
| | | ></image>
|
| | | <text>分享</text>
|
| | | </view>
|
| | | <view class="item_d_left_item" v-if="item.meetingStatus === 1" @click.stop="closeRoom(item.meetingStatus, item.id)">
|
| | | <image src="@/static/meeting/icon/ic_cancel@2x.png" mode="widthFix"></image>
|
| | | <view
|
| | | class="item_d_left_item"
|
| | | v-if="item.meetingStatus === 1"
|
| | | @click.stop="closeRoom(item.meetingStatus, item.id)"
|
| | | >
|
| | | <image
|
| | | src="@/static/meeting/icon/ic_cancel@2x.png"
|
| | | mode="widthFix"
|
| | | ></image>
|
| | | <text>取消</text>
|
| | | </view>
|
| | | </view>
|
| | | <view class="item_d_right" @click.stop="getQrCodes(item.id, item.roomName)">
|
| | | <view
|
| | | class="item_d_right"
|
| | | @click.stop="getQrCodes(item.id, item.roomName)"
|
| | | >
|
| | | 开门码
|
| | | </view>
|
| | | </view>
|
| | |
| | |
|
| | | <!-- 开门码 -->
|
| | | <view class="details_ma">
|
| | | <u-popup :show="show" :closeable="true" :safeAreaInsetBottom="false" :round="0" mode="center" @close="close">
|
| | | <u-popup
|
| | | :show="show"
|
| | | :closeable="true"
|
| | | :safeAreaInsetBottom="false"
|
| | | :round="0"
|
| | | mode="center"
|
| | | @close="close"
|
| | | >
|
| | | <view class="box">
|
| | | <text class="box_a">{{roomName || ''}}</text>
|
| | | <text class="box_a">{{ roomName || "" }}</text>
|
| | | <!-- <text class="box_b">二维码{{time}}秒内有效</text> -->
|
| | | <text class="box_b" v-if="time > 0">二维码{{time}}秒内有效</text>
|
| | | <text class="box_b" v-else>二维码已过期,请点击二维码刷新</text>
|
| | |
| | | <u-modal
|
| | | :show="show1"
|
| | | title="提示"
|
| | | content='是否确认取消当前会议'
|
| | | content="是否确认取消当前会议"
|
| | | @confirm="confirm"
|
| | | @cancel="close1"
|
| | | ref="uModal"
|
| | | :showCancelButton="true"
|
| | | asyncClose="true"></u-modal>
|
| | | asyncClose="true"
|
| | | ></u-modal>
|
| | | </view>
|
| | | </template>
|
| | |
|
| | |
| | | path: '',
|
| | | imageUrl: 'https://dmtest.ahapp.net/file/projects/20230511/13f256b832db4a4fadc5e6770f5727bf.png'
|
| | | }
|
| | | };
|
| | | }
|
| | | },
|
| | | computed: {
|
| | | ...mapState(['token'])
|
| | |
| | | uni.showLoading({
|
| | | title: '加载中',
|
| | | mask: true
|
| | | });
|
| | | })
|
| | | uni.request({
|
| | | url: `${this.$baseUrl}web/meeting/getQrCodeImg?id=${this.Id}&token=${this.token}`, //url地址
|
| | | method: 'GET',
|
| | |
| | | }
|
| | | },
|
| | | complete() {
|
| | | uni.hideLoading();
|
| | | uni.hideLoading()
|
| | | }
|
| | | });
|
| | | })
|
| | | },
|
| | | getTime() {
|
| | | this.timer = setInterval(() => {
|
| | |
| | | title: '会议信息复制成功,去分享给同事吧~',
|
| | | icon:'none',
|
| | | duration: 2000
|
| | | });
|
| | | })
|
| | | }
|
| | | });
|
| | | })
|
| | | },
|
| | | close1() {
|
| | | this.show1 = false
|
| | |
| | | title: '会议不可取消',
|
| | | icon: "none",
|
| | | duration: 2000
|
| | | });
|
| | | })
|
| | | return
|
| | | }
|
| | | this.id = id
|
| | | this.show1 = true;
|
| | | this.show1 = true
|
| | | },
|
| | | confirm() {
|
| | | this.$u.api.reservationCancel({
|
| | | id: this.id
|
| | | }).then(res => {
|
| | | this.show1 = false;
|
| | | this.show1 = false
|
| | | if (res.code === 200) {
|
| | | uni.showToast({
|
| | | title: '取消成功',
|
| | | icon: "none",
|
| | | duration: 2000
|
| | | });
|
| | | })
|
| | | this.list.forEach((item, index) => {
|
| | | if (item.id === this.id) {
|
| | | this.list.splice(index, 1)
|
| | |
| | | jump(id) {
|
| | | uni.navigateTo({
|
| | | url: `/packagesMine/meetingDetails/meetingDetails?id=${id}`
|
| | | });
|
| | | })
|
| | | },
|
| | | close() {
|
| | | this.time = 0
|
| | |
| | | uni.setScreenBrightness({
|
| | | value: 0.5,
|
| | | success: function () {
|
| | | console.log('success');
|
| | | console.log('success')
|
| | | }
|
| | | });
|
| | | })
|
| | | },
|
| | | getQrCodes(id, roomName) {
|
| | | this.Id = id
|
| | |
| | | uni.setScreenBrightness({
|
| | | value: 1,
|
| | | success: function () {
|
| | | console.log('success');
|
| | | console.log('success')
|
| | | }
|
| | | });
|
| | | })
|
| | | },
|
| | | clickItem(index) {
|
| | | this.i = index
|
| | |
| | | font-size: 28rpx;
|
| | | font-family: PingFangSC-Regular, PingFang SC;
|
| | | font-weight: 400;
|
| | | color: #0055FF;
|
| | | color: #0055ff;
|
| | | margin-top: 40rpx;
|
| | | }
|
| | | .qrcode {
|
| | |
| | | .yuyue_head_input /deep/ {
|
| | | width: 100%;
|
| | | height: 72rpx;
|
| | | background: #F7F7F7;
|
| | | background: #f7f7f7;
|
| | | border-radius: 4rpx;
|
| | | .u-border {
|
| | | border: none !important;
|
| | |
| | | .yuyue_head_list_item_active {
|
| | | font-size: 30rpx;
|
| | | font-family: PingFangSC-Medium, PingFang SC;
|
| | | font-weight: 500;
|
| | | font-weight: 600;
|
| | | color: #222222;
|
| | | }
|
| | | .yuyue_head_list_item_h {
|
| | | width: 60rpx;
|
| | | height: 4rpx;
|
| | | background: #0055FF;
|
| | | background: #0055ff;
|
| | | border-radius: 3rpx;
|
| | | position: absolute;
|
| | | bottom: -30rpx;
|
| | |
| | | color: #222222;
|
| | | }
|
| | | .item_a_one {
|
| | | border: 2rpx solid #F62710 !important;
|
| | | border: 2rpx solid #f62710 !important;
|
| | | font-size: 22rpx;
|
| | | font-family: PingFangSC-Regular, PingFang SC;
|
| | | font-weight: 400;
|
| | | color: #F62710;
|
| | | color: #f62710;
|
| | | }
|
| | | .item_a_two {
|
| | | border: 2rpx solid #0055FF !important;
|
| | | border: 2rpx solid #0055ff !important;
|
| | | font-size: 22rpx;
|
| | | font-family: PingFangSC-Regular, PingFang SC;
|
| | | font-weight: 400;
|
| | | color: #0055FF;
|
| | | color: #0055ff;
|
| | | }
|
| | | .item_a_three {
|
| | | border: 2rpx solid #999999 !important;
|
| | |
| | | .item_b {
|
| | | width: 100%;
|
| | | height: 1rpx;
|
| | | background-color: #E5E5E5;
|
| | | background-color: #e5e5e5;
|
| | | margin: 28rpx 0 30rpx 0;
|
| | | }
|
| | | .item_c {
|
| | |
| | | height: 56rpx;
|
| | | line-height: 56rpx;
|
| | | text-align: center;
|
| | | background: #0055FF;
|
| | | background: #0055ff;
|
| | | border-radius: 4rpx;
|
| | | font-size: 24rpx;
|
| | | font-family: PingFangSC-Regular, PingFang SC;
|
| | | font-weight: 400;
|
| | | color: #FFFFFF;
|
| | | color: #ffffff;
|
| | | }
|
| | | }
|
| | | }
|