cxc-szcx-uniapp/component/processCom.vue
2024-09-14 10:26:50 +08:00

62 lines
1.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>