2024-05-09 18:01:57 +08:00
|
|
|
|
<template>
|
2024-05-10 09:45:35 +08:00
|
|
|
|
<view class="content">
|
|
|
|
|
<view class="card">
|
|
|
|
|
<view class="card-li">
|
|
|
|
|
<text>姓名</text>
|
2024-05-14 15:18:50 +08:00
|
|
|
|
<text style="color: #737373 ;">{{datas.name}}</text>
|
2024-05-10 09:45:35 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="card-li">
|
|
|
|
|
<text>电话邮箱</text>
|
2024-05-14 15:18:50 +08:00
|
|
|
|
<text style="color: #737373 ;">{{datas.contact}}</text>
|
2024-05-10 09:45:35 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="card">
|
|
|
|
|
<view class="">
|
2024-05-14 15:18:50 +08:00
|
|
|
|
<!-- 反馈的具体内容,可能很长 -->
|
|
|
|
|
{{datas.content}}
|
2024-05-10 09:45:35 +08:00
|
|
|
|
</view>
|
2024-05-14 15:18:50 +08:00
|
|
|
|
<view style="margin-top: 20rpx;display: flex;">
|
|
|
|
|
<up-image v-for="item in datas.images" :show-loading="true" :src="item" @click="previewImg(item)"
|
|
|
|
|
width="100rpx" height="100rpx" style="margin-right: 20rpx;"></up-image>
|
2024-05-10 09:45:35 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-05-09 18:01:57 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
2024-05-10 09:45:35 +08:00
|
|
|
|
<script setup>
|
2024-05-14 15:18:50 +08:00
|
|
|
|
import {
|
|
|
|
|
ref
|
|
|
|
|
} from 'vue';
|
|
|
|
|
import {
|
|
|
|
|
onLoad
|
|
|
|
|
} from "@dcloudio/uni-app"
|
|
|
|
|
|
2024-05-10 09:45:35 +08:00
|
|
|
|
const previewImg = (url) => {
|
|
|
|
|
uni.previewImage({
|
|
|
|
|
urls: [url],
|
2024-05-14 15:18:50 +08:00
|
|
|
|
longPressActions: {}
|
2024-05-10 09:45:35 +08:00
|
|
|
|
});
|
|
|
|
|
}
|
2024-05-14 15:18:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const datas = ref({})
|
|
|
|
|
|
|
|
|
|
onLoad((option) => {
|
|
|
|
|
console.log(option.item)
|
|
|
|
|
datas.value = JSON.parse(option.item)
|
|
|
|
|
|
|
|
|
|
})
|
2024-05-09 18:01:57 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
2024-05-10 09:45:35 +08:00
|
|
|
|
<style lang="scss">
|
|
|
|
|
.content {
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
|
|
|
|
|
.card {
|
|
|
|
|
background-color: white;
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
border-radius: 16rpx;
|
|
|
|
|
margin-bottom: 30rpx;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.card-li {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2024-05-09 18:01:57 +08:00
|
|
|
|
</style>
|