Compare commits

..

No commits in common. "59bf3fdb7ad4be8e96f4837b3c0b16d5e977e3e3" and "95ab7bee523c42685003e45a7a8e95ed5bb7cfbe" have entirely different histories.

9 changed files with 72 additions and 126 deletions

View File

@ -52,6 +52,4 @@ export const apiArr = {
tradeQuery: "/api/v2/wechat/community-order-pay/trade-query", //缴费查单
checkComm: "/api/v2/wechat/community/check-comm", //检查小区是否属于当前用户
delPay: "/api/v2/wechat/community-order-pay/del", //检查小区是否属于当前用户
};

View File

@ -401,7 +401,7 @@ export default {
}
});
});
this.currentMoney = money ? money.toFixed(2) : 0.00;
this.currentMoney = money;
},
//
itemsCheckChange(e, indes, index) {
@ -425,7 +425,7 @@ export default {
}
});
});
this.currentMoney = money ? money.toFixed(2) : 0.00;
this.currentMoney = money;
},
//
changePayType(e) {
@ -506,9 +506,9 @@ export default {
icon: 'none'
})
const params = {
order_pay_id: this.payInfoId,
order_ids: orderId,
}
request(apiArr.delPay, "POST", params).then(res => {
request(apiArr.cancelPay, "POST", params).then(res => {
})
},
complete: () => {

View File

@ -10,7 +10,7 @@
<view class="container_body" :style="{ paddingTop: top + 'px' }">
<view class="title">物业公积金</view>
<view class="title_bottom">
<view>{{ getTotal(list.owners) }}</view>
<view>{{ moeny }}</view>
<u-icon
name="info-circle"
size="30rpx"
@ -155,10 +155,6 @@ export default {
},
methods: {
//
getTotal(owners) {
return owners.reduce((total, owner) => total + owner.property_fund_balance, 0).toFixed(2);
},
headerConfirmClick(item) {
this.defaultName = {
...item,

View File

@ -8,7 +8,7 @@
<view v-else>
<view v-for="record in recordsList" :key="record.id">
<view class="record-item" @tap="goToChatPage(record)">
<image :src="getAvatarUrl(record)" class="record-avatar" mode="aspectFill"></image>
<image :src="record.avatar || '/static/logo.png'" class="record-avatar" mode="aspectFill"></image>
<view class="record-info">
<view class="record-title-row">
<text class="record-title">{{ record.contact_name }}</text>
@ -23,7 +23,7 @@
</template>
<script>
import { menuButtonInfo, picUrl, request } from '../../../utils'
import { request } from '../../../utils/index'
import { apiArr } from '../../../api/customerService'
export default {
@ -64,13 +64,6 @@ export default {
this.isLoading = false
}
},
getAvatarUrl(record){
if(record.client_id_one == uni.getStorageSync('openId')){
return record.two.avatar ? picUrl + record.two.avatar : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/defaultTx.png'
}else{
return record.one.avatar ? picUrl + record.one.avatar : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/defaultTx.png'
}
},
//
formatTime(time){
const date = new Date(time)
@ -105,6 +98,8 @@ export default {
//
goToChatPage(record){
console.log('🚀 ~ goToChatPage ~ record:', record)
console.log('🚀 ~ goToChatPage ~ itemObj:', this.itemObj)
this.$set(record, 'type', 2)
//

View File

@ -32,7 +32,7 @@ packages/customerService/index/index
'other': !message.isSelf,
'loading': message.isLoading
}" class="message-item">
<image :src="message.isSelf ? userAvatar : getAvatarUrl(message)" class="message-avatar"
<image :src="message.isSelf ? userAvatar : (chatTarget.employee_image)" class="message-avatar"
mode="aspectFill"></image>
<view class="message-content">
{{ message.content }}
@ -141,9 +141,6 @@ export default {
onShow(){
},
methods: {
getAvatarUrl(record){
return this.chatTarget.employee_image ? this.chatTarget.employee_image : 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/defaultTx.png'
},
async connect(){
this.client = null
const options = {
@ -345,13 +342,10 @@ export default {
},
//
loadMoreHistory(e){
//
if (!e || e.detail.direction === 'top') {
loadMoreHistory(){
if (!this.isLoadingHistory && this.hasMoreHistory) {
this.loadHistoryMessages()
}
}
},
//

View File

@ -103,7 +103,7 @@
到店服务券
</view> -->
<view class="line"></view>
<view class="btn_right" @click="toPayInfo">
<view class="btn_right">
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/lcoal_payIcon.png"
mode="aspectFill"></image>
快捷支付记录
@ -161,17 +161,12 @@ export default {
},
methods: {
//
toPayInfo(){
NavgateTo("/packages/localLife/payInfo/index")
},
swiperChange(e) {
this.currentIndex = e.detail.current;
},
changeNav(item) {
console.log("🚀 ~ changeNav ~ item:", item)
NavgateTo(`/packages/localLife/classify/index?item=${JSON.stringify(item)}`)
},

View File

@ -1,7 +1,7 @@
<template>
<view class="container">
<view class="payInfoList">
<view class="PayInfoItem" v-for="item in payList" :key="item.order_no">
<view class="PayInfoItem" v-for="item in payList">
<view class="row">
<view class="row_label">付款金额</view>
<view class="row_con">{{ item.order_amount }}</view>
@ -31,7 +31,7 @@
<view class="con3" v-else>未知</view>
</view>
<!-- <view class="line"></view>
<view class="line"></view>
<view class="row3">
<view class="label">返物业费</view>
@ -45,7 +45,7 @@
<view class="con3" @click="points">{{ item.refund_member_points }}
<u-icon name="arrow-right" color="#999999" size="40" style="max-lines: 10rpx;"></u-icon>
</view>
</view> -->
</view>
</view>
</view>

View File

@ -41,7 +41,7 @@
<view class="mainBox" ref="mainBox">
<view class="white_container">
<!-- 功能导航区 -->
<!-- <view class="function-nav" v-if="showNav">
<view class="function-nav" v-if="showNav">
<view class="function-item" @click="goToShop">
<view class="icon-box">
<image class="iconImg" src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/index_shop.png"
@ -63,7 +63,7 @@
</view>
<text>物业管理</text>
</view>
</view> -->
</view>
<!-- 轮播图 -->
<view class="swiper">
<swiper @animationfinish="swipers" autoplay circular>

View File

@ -1,7 +1,6 @@
page {
background: #F6F7FB;
}
.conatiner {
/* height: 100%; */
/* height: 578rpx; */
@ -23,7 +22,6 @@ page {
margin-bottom: 35rpx;
/* pointer-events: none; */
}
/* 头像 */
.avatar-container {
display: flex;
@ -37,7 +35,6 @@ page {
align-items: center;
pointer-events: auto;
}
/* 头像图片 */
.avatar {
width: 130rpx;
@ -46,27 +43,22 @@ page {
border-radius: 50%;
overflow: hidden;
}
.avatar_right {
flex: 1;
}
.avatar_title {
display: flex;
justify-content: space-between;
align-items: center;
}
.avatar_setting {
display: flex;
pointer-events: auto;
}
.avatar_setting > image {
width: 34rpx;
height: 34rpx;
}
.avatar_setting > image:first-child {
margin-right: 40rpx;
}
@ -76,11 +68,9 @@ page {
font-size: 36rpx;
pointer-events: auto;
}
.avater_mobile {
margin-top: 10rpx;
}
.center {
position: relative;
margin: 0 20rpx;
@ -96,20 +86,17 @@ page {
margin: 37rpx 0 0;
position: relative;
}
.gold_title {
display: flex;
align-items: center;
padding-top: 16rpx;
}
.gold {
margin-left: 37rpx;
font-weight: normal;
font-size: 34rpx;
color: #7F3907;
}
.monenyt {
margin-left: 17rpx;
margin-right: 37rpx;
@ -117,7 +104,6 @@ page {
font-size: 40rpx;
color: #7F3907;
}
.price {
margin-left: 37rpx;
font-weight: normal;
@ -125,7 +111,6 @@ page {
color: #7F3907;
margin-right: 20rpx;
}
.gold_pic {
width: 140rpx;
height: 113rpx;
@ -133,20 +118,17 @@ page {
top: 0;
right: 39rpx;
}
.main {
margin: 0 20rpx;
border-radius: 20rpx 20rpx 20rpx 20rpx;
background: #FFFFFF;
}
.main1 {
width: 100%;
margin: 0;
position: absolute;
top: 80rpx;
}
.main_title {
padding-top: 25rpx;
margin: 0 0 40rpx 30rpx;
@ -154,7 +136,6 @@ page {
font-size: 36rpx;
color: #222222;
}
.margin20 {
margin-top: 20rpx;
}
@ -167,11 +148,9 @@ page {
margin-right: 20rpx;
margin-bottom: 21rpx;
}
.section1 {
justify-content: space-around;
}
.section_label {
display: flex;
flex-direction: column;
@ -183,7 +162,6 @@ page {
height: 50rpx;
margin-bottom: 20rpx;
}
.grid-text {
font-size: 28rpx;
font-weight: bold;
@ -198,14 +176,6 @@ page {
border-radius: 20rpx;
padding-bottom: 25rpx;
}
.item2 {
display: grid;
place-items: center;
/* 同时实现水平和垂直居中 */
}
.padding_bottom0 {
padding-bottom: 0;
}
@ -245,7 +215,6 @@ page {
font-size: 28rpx;
color: #FFFFFF;
}
.customer > image {
width: 50rpx;
height: 55rpx;
@ -254,7 +223,6 @@ page {
.uicon-volume {
font-size: 28rpx !important;
}
.u-grid-item {
margin-bottom: 36rpx;
}