Browse Source

社区留言

dev
396316021 1 year ago
parent
commit
aae402fad1
  1. 22
      pages/Feed/index.vue
  2. 26
      pages/Feed/leave.vue
  3. 7
      pages/Index/components/HomePage/index.vue

22
pages/Feed/index.vue

@ -160,17 +160,17 @@
<!-- </view>-->
</u-col>
</u-row>
<view class="footer-content">
<view class="footer-contact">联系我们</view>
<view class="footer-wechat row">
<view class="foot-title">微信公众号</view>
<view class="foot-url">暖新家公众平台 <text @click="copyContent()">复制</text></view>
</view>
<view class="footer-email row">
<view class="foot-title">官方邮箱</view>
<view class="foot-url">1256896@qq.com <text @click="copyContent()">复制</text></view>
</view>
</view>
<!-- <view class="footer-content">-->
<!-- <view class="footer-contact">联系我们</view>-->
<!-- <view class="footer-wechat row">-->
<!-- <view class="foot-title">微信公众号</view>-->
<!-- <view class="foot-url">暖新家公众平台 <text @click="copyContent()">复制</text></view>-->
<!-- </view>-->
<!-- <view class="footer-email row">-->
<!-- <view class="foot-title">官方邮箱</view>-->
<!-- <view class="foot-url">1256896@qq.com <text @click="copyContent()">复制</text></view>-->
<!-- </view>-->
<!-- </view>-->
<uv-picker
ref="street"
:columns="[streetList]"

26
pages/Feed/leave.vue

@ -41,8 +41,11 @@
<view class="content">
<u-text line-height="50" :text="item.remark" size="28" color="#020b18"></u-text>
</view>
<view class="" v-if="item.path?.length > 0">
<u-album multipleSize="170rpx" space="16rpx" :urls="item.path" key-name="url" custom-style="border-radius:8rpx;"></u-album>
<view class="row" v-if="item.path?.length > 0 &&(typeof item.path === 'object')">
<!-- <u-album multipleSize="170rpx" space="16rpx" :urls="item.path" key-name="url" custom-style="border-radius:8rpx;"></u-album>-->
<view class="col-4" style="padding:8rpx" v-for="row in item.path">
<u-image @click="showBigImage(row.url)" radius="8rpx" :src="row.url" width="155rpx" height="155rpx" mode="aspectFill"></u-image>
</view>
</view>
</view>
</view>
@ -60,8 +63,11 @@
<!-- 状态1=未回答,2=已回答-->
<u-text v-if="item.status === 2" line-height="50" size="28" color="#020b18" :text="item.reply"></u-text>
<view class="" v-if="item.status === 2 && item.reply_path?.length > 0">
<u-album multipleSize="170rpx" space="16rpx" :urls="item.reply_path" key-name="url" custom-style="border-radius:8rpx;"></u-album>
<view class="row" v-if="item.status === 2 && item.reply_path?.length > 0">
<view class="col-4" style="padding:8rpx" v-for="row in item.reply_path">
<u-image @click="showBigImage(row.url)" radius="8rpx" :src="row.url" width="155rpx" height="155rpx" mode="aspectFill"></u-image>
</view>
<!-- <u-album multipleSize="170rpx" space="16rpx" :urls="item.reply_path" key-name="url" custom-style="border-radius:8rpx;"></u-album>-->
</view>
</view>
</view>
@ -71,7 +77,11 @@
<u-loadmore :custom-style="{display:'flex'}" :status="status" fontSize="28"
marginBottom="30" marginTop="30" @loadmore="getUserLeave()"/>
</view>
<u-overlay :show="imageShow" @click="imageShow = false">
<view class="" style="display:flex;align-items: center;justify-content:center;width:100%;height:100vh;">
<u-image mode="widthFix" :src="imageUrl" height="auto" width="100vw"></u-image>
</view>
</u-overlay>
</template>
<script>
@ -91,6 +101,8 @@ export default {
},
data() {
return {
imageUrl:'',
imageShow:false,
userInfo:{},
listItem:[
{name:'全部建议',id:''},
@ -134,6 +146,10 @@ export default {
},
methods: {
showBigImage(imgUrl) {
this.imageUrl = imgUrl;
this.imageShow = true;
},
tabsAdvisorChange(e){
this.pages.user_type = e.id;
this.getUserLeave(true);

7
pages/Index/components/HomePage/index.vue

@ -1,4 +1,7 @@
<template>
<viwe class="" style="position: fixed;right:24rpx;bottom:200rpx;z-index:99;">
<u-image mode="aspectFill" :src="staticImage.feedbackButton" width="135rpx" height="135rpx" @click="navTo('/pages/Feed/index',true)"></u-image>
</viwe>
<view class="wallpaper-body">
<view class="head-background">
<image mode="widthFix" :src="staticImage.bg" class="img" width="100%"/>
@ -283,6 +286,7 @@ export default {
title: '暖新人',
loading: true,
staticImage: {
feedbackButton:imghost + '/feedback-button.png',
hiImage: imghost + '/index-user-title-hi.png',
dogImage: imghost + '/index-user-title-dog.png',
couponsImage: imghost + '/index-user-coupons-background.png',
@ -341,6 +345,9 @@ export default {
},
methods: {
api() {
return api
},
bannerClick(e){
this.navTo(this.indexBanner[e].path);
// this.navTo('/pages/Pages/plan');

Loading…
Cancel
Save