<template>
    <view class="page-css">
        <view class="page-header-txt">科研医疗建筑运维平台</view>
        <planList></planList>
        <betone-tabbar ref="tabbarRef" />
    </view>
</template>

<script>
import planList from './components/plan-list.vue'
export default {
    components: {
        planList,
    },
    props: {

    },
    data() {
        return {
            

        };
    },
    computed: {

    },
    onShow() {
        this.$nextTick(() => {
            this.$refs.tabbarRef.getPermission();
        });
    },
   
    methods: {

    },
};
</script>

<style lang="scss" scoped>
.page-css {
    padding: 0;
    padding-top: var(--status-bar-height);
    .page-search-top {
        height: 210rpx;
        background-color: rgba(248, 248, 248, 1);
        padding: 0 40rpx 0;
    }

    .order-box {
        margin-top: 20rpx;

        .order-item {
            min-height: 414rpx;
            margin: 0 24rpx 20rpx;
            border-radius: 20rpx;
            background: #fff;
            display: flex;
            flex-direction: column;

            .item-top {
                height: 114rpx;
                border-bottom: 1px solid rgba(239, 239, 239, 1);
                display: flex;
                flex-direction: row;
                width: 100%;

                .item-left {
                    flex: 1;

                    text {
                        display: block;
                    }

                    .item-orderNo {
                        color: rgba(51, 51, 51, 1);
                        font-size: 28rpx;
                        padding: 12rpx 0 0 26rpx;
                    }

                    .item-time {
                        color: rgba(190, 190, 190, 1);
                        font-size: 24rpx;
                        padding: 12rpx 0 0 26rpx;
                    }
                }

                .item-right {
                    width: 132rpx;
                    height: 48rpx;
                    margin: 36rpx 24rpx 0 0;
                }
            }

            .item-con {
                flex: 1;
                display: flex;
                flex-direction: row;
                margin-bottom: 24rpx;

                .con-left {
                    width: 150rpx;
                    height: 150rpx;
                    margin: 24rpx 28rpx 0 28rpx;

                    image {
                        width: 100%;
                        height: 100%;
                    }
                }

                .con-right {
                    flex: 1;
                    margin-right: 24rpx;
                    display: flex;
                    flex-direction: column;
                    margin-left: 32rpx;

                    text {
                        display: block;
                    }

                    .con-title {
                        margin-top: 12rpx;
                        line-height: 60rpx;
                        color: rgba(0, 0, 0, 1);
                        font-size: 28rpx;
                    }

                    .con-content {

                        color: rgba(108, 108, 108, 1);
                        font-size: 24rpx;
                        // line-height: 36rpx;
                        margin-top: 14rpx;
                        flex: 1;

                        text {
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 2;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            line-height: 1.5em;
                            /* 这个值根据你的需求调整，这里假设为1.5倍行高 */
                            max-height: 3em;
                            /* 3行的高度 */
                            width: 100%;
                            /* 根据需要设置宽度 */
                            word-wrap: break-word;
                            /* 允许在单词内换行 */
                            word-break: break-all;
                            /* 允许在任意字符处换行 */
                        }
                    }

                    .con-btn {
                        margin-top: 56rpx;
                        margin-bottom: 32rpx;
                        display: inline-block;
                        text-align: right;
                    }
                }
            }
        }
    }
}
</style>