连云港陪玩陪聊
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chunwan/pages/users/feedback/detail.vue

90 lines
1.6 KiB

3 months ago
<template>
<view class="feed">
<view class="content">
<view class="item">
<view class="fl">姓名</view>
2 months ago
<view class="fr">{{info.name}}</view>
3 months ago
</view>
<view class="item">
2 months ago
<view class="fl">电话</view>
<view class="fr">{{info.phone}}</view>
3 months ago
</view>
<view class="items">
2 months ago
<view class="fl">{{info.content}}</view>
3 months ago
<view class="fr">
2 months ago
<image v-for="(a,i) in info.imgurls" mode="aspectFill" :key="i" :src="a" @click="perviewimage(i)"></image>
3 months ago
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
2 months ago
info: {}
3 months ago
};
2 months ago
},
onLoad() {
this.info=uni.getStorageSync("pcontent");
if(this.info.imgurl && this.info){
this.info.imgurls = this.info.imgurl.split(",")
}
},
methods: {
perviewimage(index) {
uni.previewImage({
urls: this.info.imgurls,
current: index
})
}
3 months ago
}
}
</script>
<style scoped lang="scss">
.feed{
padding: 0 25rpx;
overflow: hidden;
.content{
margin-top: 20rpx;
background: #FFFFFF;
border-radius: 20rpx;
padding: 20rpx 0;
.item{
display: flex;
align-items: center;
justify-content: space-between;
padding: 20rpx 30rpx;
.fl{
flex: 1;
font-weight: 500;
font-size: 28rpx;
color: #333333;
}
.fr{
font-weight: 500;
font-size: 28rpx;
color: #999999;
}
}
.items{
padding: 20rpx 30rpx;
border-top: 1px solid #EAEAEA;
margin-top: 20rpx;
.fr{
width: 110%;
image{
width: 200rpx;
height: 200rpx;
border-radius: 10rpx;
margin-top: 20rpx;
margin-right: 20rpx;
}
}
}
}
}
</style>