cxc-szcx-uniapp/bpm/processCom.vue

62 lines
1.1 KiB
Vue
Raw Normal View History

<template>
<view class="f-col aic">
<view class="info_box">
<view class="title">
申请信息
</view>
<view class="" v-for="item,i in info" :key="i">
<view class="info f-row aic jcb">
<view class="">
{{item.title}}
</view>
<rich-text :nodes="item.data" v-if="item.title=='事项内容'"></rich-text>
<text v-else>{{item.data}}</text>
</view>
</view>
</view>
</view>
</template>
<script setup>
const props = defineProps({
info: {
type: Array,
default: () => []
}
})
</script>
<style scoped lang="scss">
.info_box {
padding: 40rpx 30rpx 16rpx 30rpx;
width: 630rpx;
background: #FFFFFF;
box-shadow: 0rpx 2rpx 4rpx 0rpx rgba(0, 0, 0, 0.5);
border-radius: 16rpx;
margin-top: 30rpx;
.title {
font-size: 28rpx;
color: #333333;
background-image: url(../../static/index/line.png);
background-size: 44rpx 12rpx;
background-repeat: no-repeat;
background-position: left bottom;
margin-bottom: 30rpx;
}
.info {
font-size: 28rpx;
margin-bottom: 24rpx;
view {
color: #666666;
}
text {
color: #333333;
}
}
}
</style>