<!-- 页面:网信信息详情 --> <template> <view class="message-detail"> <view class="title">{{title}}</view> <view class="time">{{time}}</view> <view class="time source">来源:{{ source}}</view> <view class="line"></view> <view class="content" v-for="(item, index) in content" :key="index"> <image src="../../static/share.png" style="width: 100%;height: 260rpx;flex-shrink: 0;" mode=""></image> <view class="text">{{item.value}}</view> </view> </view> </template> <script> export default { data() { return { title: '深刻的监控设备VS大V和SVis道具欧式是OSID剧哦SV', time: '2022-12-12 12:12:12', source: '某某某工作室', content: [ { img: '../../static/share.png', value: '阿萨斯多阿斯傻傻的澳双方奥安徽师范啊同时符合澳双方,' }, { img: '../../static/share.png', value: '阿萨斯多阿斯傻傻的澳双方奥安徽师范啊同时符合澳双方,阿萨斯多阿斯傻傻的澳双方奥安徽师范啊同时符合澳双方,阿萨斯多阿斯傻傻的澳双方奥安徽师范啊同时符合澳双方,阿萨斯多阿斯傻傻的澳双方奥安徽师范啊同时符合澳双方,阿萨斯多阿斯傻傻的澳双方奥安徽师范啊同时符合澳双方,' }, ] } }, methods: { } } </script> <style lang="scss" scoped> .message-detail { padding: 40rpx; background-color: #fff; height: 100%; // 标题 .title { font-size: 38rpx; color: #000; font-weight: 600; } // 时间 .time { font-size: 28rpx; color: #a4a4a4; margin-top: 44rpx; } // 来源 .source { margin-top: 8rpx; } // 分割线 .line { width: 100%; height: 1rpx; background-color: #eeeeee; margin: 46rpx 0; } // 内容 .content { .text { margin: 32rpx 0; font-weight: 32rpx; line-height: 58rpx; text-indent: 64rpx; //缩进 } } } </style>