feat: 合并aster
This commit is contained in:
commit
ea5311be5b
@ -2,4 +2,5 @@ export const apiArr = {
|
|||||||
login: '/api/v1/wechat/multi-login', // 小程序登录
|
login: '/api/v1/wechat/multi-login', // 小程序登录
|
||||||
loginInfo: '/api/v1/wechat/mpusers/login-info', // 获取用户信息
|
loginInfo: '/api/v1/wechat/mpusers/login-info', // 获取用户信息
|
||||||
loginGetPhone: '/api/v1/wechat/mpusers/get-phone', // 获取用户手机号
|
loginGetPhone: '/api/v1/wechat/mpusers/get-phone', // 获取用户手机号
|
||||||
|
loginGetUserPhone:"/api/v2/wechat/mpusers/get-phone"
|
||||||
}
|
}
|
||||||
@ -7,4 +7,11 @@ export const apiArr = {
|
|||||||
merChantCommentUnlike:"/api/v2/wechat/merchant-evaluation-like-crud/del",//取消点赞
|
merChantCommentUnlike:"/api/v2/wechat/merchant-evaluation-like-crud/del",//取消点赞
|
||||||
userCommentInfo:"/api/v2/wechat/merchant-evaluation-crud/info",//用户评论详情
|
userCommentInfo:"/api/v2/wechat/merchant-evaluation-crud/info",//用户评论详情
|
||||||
createUserReply:"/api/v2/wechat/merchant-evaluation-reply-crud/creat",//发送评论
|
createUserReply:"/api/v2/wechat/merchant-evaluation-reply-crud/creat",//发送评论
|
||||||
|
deleteMerChantComment:"/api/v2/wechat/merchant-evaluation-crud/del",//删除用户评价
|
||||||
|
getUserCommentReply:"/api/v2/wechat/merchant-evaluation-reply-crud/page", //获取用户评价的回复列表
|
||||||
|
getUserCommunityList:'/api/v2/wechat/community-room/list',//查询用户房源信息
|
||||||
|
getPayList:"/api/v2/wechat/quick-payment-record-crud/page", //支付记录
|
||||||
|
getUserPoints:"/api/v2/wechat/member-points-flow-crud/main",//获取用户积分
|
||||||
|
getPointsList:"/api/v2/wechat/member-points-flow-crud/page", //积分记录
|
||||||
|
createPay:"/api/v2/wechat/quick-payment-record-crud/creat",//创建支付信息
|
||||||
};
|
};
|
||||||
|
|||||||
@ -35,26 +35,24 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="Msg_iconList_right">
|
<div class="Msg_iconList_right">
|
||||||
<div class="Msg_iconList_leftIcon">
|
<div class="Msg_iconList_leftIcon" @click="deletes" v-if="isDelte">
|
||||||
<image src="http://192.168.0.172:5500/com_shareIcon.png" mode="widthFix"></image>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="Msg_iconList_leftIcon" @click="deletes">
|
|
||||||
<image src="http://192.168.0.172:5500/local_del.png" mode="widthFix"></image>
|
<image src="http://192.168.0.172:5500/local_del.png" mode="widthFix"></image>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 回复列表 -->
|
<!-- 回复列表 -->
|
||||||
<div class="reply" v-for="item in info.merchant_evaluation_reply_list">
|
<div class="reply" v-for="item in replyList">
|
||||||
<div class="reply_tit">
|
<div class="reply_tit">
|
||||||
<div class="reply_tit_left">
|
<div class="reply_tit_left">
|
||||||
<image src="http://192.168.0.172:5500/test.png" mode="aspectFill"></image>
|
<image src="http://192.168.0.172:5500/user_ava.png" v-if="!item.user.avatar" mode="aspectFill">
|
||||||
哇偶
|
</image>
|
||||||
|
<image :src="picUrl + item.user.avatar" v-if="item.user.avatar" mode="aspectFill"></image>
|
||||||
|
{{ item.user.nick_name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="reply_tit_right">2025-06-12 12:23:46</div>
|
<div class="reply_tit_right">{{ item.reply_time }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="reply_con">真好啊呵呵呵</div>
|
<div class="reply_con">{{ item.reply_content }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -91,7 +89,12 @@ export default {
|
|||||||
localHeight: "",
|
localHeight: "",
|
||||||
info: "",
|
info: "",
|
||||||
id: "",
|
id: "",
|
||||||
reply_content:""
|
reply_content: "",
|
||||||
|
isDelte: false,
|
||||||
|
page_num: 1,
|
||||||
|
page_size: 20,
|
||||||
|
flag: false,
|
||||||
|
replyList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@ -101,9 +104,14 @@ export default {
|
|||||||
this.localHeight = meun.height;
|
this.localHeight = meun.height;
|
||||||
this.id = options.id
|
this.id = options.id
|
||||||
this.getCommentInfo()
|
this.getCommentInfo()
|
||||||
|
this.getUserCommentReply()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onReachBottom() {
|
||||||
|
if (this.flag) {
|
||||||
|
this.getUserCommentReply()
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
sendComment() {
|
sendComment() {
|
||||||
// 这里添加发送评论的逻辑
|
// 这里添加发送评论的逻辑
|
||||||
@ -121,18 +129,32 @@ export default {
|
|||||||
})
|
})
|
||||||
this.reply_content = ""
|
this.reply_content = ""
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.getCommentInfo()
|
that.page_size = 1
|
||||||
|
this.getUserCommentReply()
|
||||||
}, 1000);
|
}, 1000);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//删除
|
||||||
deletes() {
|
deletes() {
|
||||||
|
let that = this
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
content: '确定删除?',
|
content: '确定删除?',
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
console.log('用户点击确定');
|
console.log('用户点击确定');
|
||||||
|
request(apiArr.deleteMerChantComment, "POST", {
|
||||||
|
id: that.id,
|
||||||
|
}).then(res => {
|
||||||
|
uni.showToast({
|
||||||
|
title: '删除成功',
|
||||||
|
icon: "none",
|
||||||
|
duration: 2000
|
||||||
|
})
|
||||||
|
setTimeout(() => {
|
||||||
|
NavgateTo("1")
|
||||||
|
}, 2000)
|
||||||
|
})
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
console.log('用户点击取消');
|
console.log('用户点击取消');
|
||||||
}
|
}
|
||||||
@ -146,7 +168,13 @@ export default {
|
|||||||
id: that.id
|
id: that.id
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
this.info = res
|
that.info = res
|
||||||
|
if (res.user_id == uni.getStorageSync('userId')) {
|
||||||
|
that.isDelte = true
|
||||||
|
} else {
|
||||||
|
that.isDelte = false
|
||||||
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -182,6 +210,23 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getUserCommentReply() {
|
||||||
|
let that = this
|
||||||
|
request(apiArr.getUserCommentReply, "POST", {
|
||||||
|
evaluation_id: that.id,
|
||||||
|
page_num: that.page_num,
|
||||||
|
page_size: that.page_size,
|
||||||
|
}).then(res => {
|
||||||
|
if (res.rows.length == that.page_size) {
|
||||||
|
that.flag = true
|
||||||
|
} else {
|
||||||
|
that.flag = false
|
||||||
|
}
|
||||||
|
that.page_num++
|
||||||
|
that.replyList = that.replyList.concat(res.rows)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -82,6 +82,7 @@ page {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
box-shadow: 3rpx -3rpx 15rpx 0rpx rgba(255,27,27,0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
@ -115,6 +116,7 @@ page {
|
|||||||
/* padding: 10rpx 44rpx; */
|
/* padding: 10rpx 44rpx; */
|
||||||
background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%);
|
background: linear-gradient(91deg, #FF7658 0%, #FF370B 100%);
|
||||||
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||||
|
margin-right: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.startList {
|
.startList {
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<div class="text1">物业费公积金</div>
|
<div class="text1">物业费公积金</div>
|
||||||
<div class="text2">¥53.1</div>
|
<div class="text2">¥{{banlance}}</div>
|
||||||
<div class="total">全部房源合计</div>
|
<div class="total">全部房源合计</div>
|
||||||
<div class="text3">
|
<div class="text3">
|
||||||
<span>全部房源</span>
|
<span>全部房源</span>
|
||||||
@ -68,19 +68,50 @@ export default {
|
|||||||
picUrl,
|
picUrl,
|
||||||
top: "",
|
top: "",
|
||||||
localHeight: "",
|
localHeight: "",
|
||||||
|
page_num:1,
|
||||||
|
page_size:10,
|
||||||
|
flag:false,
|
||||||
|
banlance:"0.00",
|
||||||
|
pointList:[]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
const meun = menuButtonInfo();
|
const meun = menuButtonInfo();
|
||||||
this.top = meun.top;
|
this.top = meun.top;
|
||||||
this.localHeight = meun.height;
|
this.localHeight = meun.height;
|
||||||
|
this.getUserPoint()
|
||||||
|
this.getPointList()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
|
back() {
|
||||||
|
NavgateTo("1")
|
||||||
|
},
|
||||||
|
|
||||||
|
async getUserPoint() {
|
||||||
|
let that = this
|
||||||
|
await request(apiArr.getUserPoints, "POST").then(res => {
|
||||||
|
that.banlance = res.balance_after
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
async getPointList(){
|
||||||
|
let that = this
|
||||||
|
await request(apiArr.getPointsList,"POST",{
|
||||||
|
page_num:that.page_num,
|
||||||
|
page_size:that.page_size
|
||||||
|
}).then(res=>{
|
||||||
|
if(res.rows.length == that.page_size){
|
||||||
|
that.flag = true
|
||||||
|
}else{
|
||||||
|
that.flag = false
|
||||||
|
}
|
||||||
|
that.pointList = that.pointList.concat(res.rows)
|
||||||
|
that.page_num++
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -16,9 +16,31 @@ image {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
background: url(http://192.168.0.172:5500/local_payImg.png);
|
position: relative;
|
||||||
|
/* background: url(http://192.168.0.172:5500/local_payImg.png);
|
||||||
background-size: 750rpx 302rpx;
|
background-size: 750rpx 302rpx;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat; */
|
||||||
|
}
|
||||||
|
.swiper{
|
||||||
|
height: 358rpx;
|
||||||
|
width: 750rpx;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
.swiper image{
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
.swiper_boxshadow{
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
z-index: 2;
|
||||||
|
/* 从上至下 透明至白色 */
|
||||||
|
width: 750rpx;
|
||||||
|
height: 358rpx;
|
||||||
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.Tit {
|
.Tit {
|
||||||
@ -27,6 +49,8 @@ image {
|
|||||||
color: #222222;
|
color: #222222;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin-left: 20rpx;
|
margin-left: 20rpx;
|
||||||
|
position: relative;
|
||||||
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Tit span {
|
.Tit span {
|
||||||
@ -186,3 +210,28 @@ image {
|
|||||||
height: 34rpx;
|
height: 34rpx;
|
||||||
margin-right: 10rpx;
|
margin-right: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.boxshadow{
|
||||||
|
position: fixed;
|
||||||
|
z-index: 9999;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
top: 0;
|
||||||
|
background-color: rgba(0,0,0,0.5);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.boxshadow_con{
|
||||||
|
margin-top: -40rpx;
|
||||||
|
padding: 30rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: 500rpx;
|
||||||
|
height: 500rpx;
|
||||||
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
||||||
|
z-index: 99999;
|
||||||
|
position: relative;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
@ -3,23 +3,32 @@
|
|||||||
<div class="header" :style="{ paddingTop: top + 'px', height: localHeight + 'px' }">
|
<div class="header" :style="{ paddingTop: top + 'px', height: localHeight + 'px' }">
|
||||||
<u-icon bold color="#000" size="40" name="arrow-left" @click="back"></u-icon>
|
<u-icon bold color="#000" size="40" name="arrow-left" @click="back"></u-icon>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<swiper class="swiper" autoplay>
|
||||||
|
<swiper-item v-for="(item, pageIndex) in info.bigImg" :key="pageIndex">
|
||||||
|
<image class="pic" :src="picUrl + item" mode="aspectFill" />
|
||||||
|
</swiper-item>
|
||||||
|
</swiper>
|
||||||
|
|
||||||
|
<div class="swiper_boxshadow"></div>
|
||||||
|
|
||||||
<div class="Tit">
|
<div class="Tit">
|
||||||
向 <span>七个2锁城</span> 付款
|
向 <span>{{ info.merchant_name }}</span> 付款
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="Msg">
|
<div class="Msg">
|
||||||
<div class="payMony">
|
<div class="payMony">
|
||||||
¥<input type="text" placeholder="付款金额" placeholder-style="font-size: 50rpx;">
|
¥<input type="text" v-model="Money" placeholder="付款金额" placeholder-style="font-size: 50rpx;">
|
||||||
</div>
|
</div>
|
||||||
<div class="payRemark">
|
<div class="payRemark">
|
||||||
<input type="text" placeholder="付款备注">
|
<input type="text" v-model="remarks" placeholder="付款备注">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="Msg2">
|
<div class="Msg2">
|
||||||
<div class="Msg2_tit">
|
<div class="Msg2_tit">
|
||||||
<div class="Msg2_tit_left">获得物业公积金</div>
|
<div class="Msg2_tit_left">获得物业公积金</div>
|
||||||
<div class="Msg2_tit_right">
|
<div class="Msg2_tit_right" @click="choseComminty">
|
||||||
绑定房源
|
绑定房源
|
||||||
<u-icon name="arrow-right" color="#999999" size="28"></u-icon>
|
<u-icon name="arrow-right" color="#999999" size="28"></u-icon>
|
||||||
</div>
|
</div>
|
||||||
@ -27,7 +36,9 @@
|
|||||||
|
|
||||||
<div class="Msg2_con">
|
<div class="Msg2_con">
|
||||||
<div class="Msg2_con_left">
|
<div class="Msg2_con_left">
|
||||||
¥ <span>53.1</span>
|
¥ <span>
|
||||||
|
{{ homeMoney }}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="Msg2_con_right">
|
<div class="Msg2_con_right">
|
||||||
惠生活42#2单元2层202号
|
惠生活42#2单元2层202号
|
||||||
@ -37,22 +48,35 @@
|
|||||||
|
|
||||||
<div class="Msg3">
|
<div class="Msg3">
|
||||||
<div class="Msg3_tit">获得积分</div>
|
<div class="Msg3_tit">获得积分</div>
|
||||||
<div class="Msg3_con">966</div>
|
<div class="Msg3_con">
|
||||||
|
{{ integral }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="btn">确认支付</div>
|
<div class="btn" @click="pay">确认支付</div>
|
||||||
|
|
||||||
<div class="btnList">
|
<div class="btnList">
|
||||||
<div class="btnItem">付款记录</div>
|
<div class="btnItem" @click="payList">付款记录</div>
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
<div class="btnItem">物业费公积金</div>
|
<div class="btnItem" @click="homeMoneList">物业费公积金</div>
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
<div class="btnItem">首页</div>
|
<div class="btnItem" @click="home">首页</div>
|
||||||
<div class="btnItem2">
|
<div class="btnItem2" @click="changeBoxshadow">
|
||||||
<image src="http://192.168.0.172:5500/local_qrcode.png" mode="aspectFill"></image>
|
<image src="http://192.168.0.172:5500/local_qrcode.png" mode="aspectFill"></image>
|
||||||
本页二维码
|
本页二维码
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<u-picker :show="show" :columns="columns" keyName="text" @confirm='confirm' @close='onClose' @cancel='onClose'
|
||||||
|
closeOnClickOverlay></u-picker>
|
||||||
|
|
||||||
|
<div class="boxshadow" @click="changeBoxshadow" v-if="boxShow">
|
||||||
|
<div class="boxshadow_con">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -76,18 +100,83 @@ export default {
|
|||||||
picUrl,
|
picUrl,
|
||||||
top: "",
|
top: "",
|
||||||
localHeight: "",
|
localHeight: "",
|
||||||
|
info: "",
|
||||||
|
integral: 0,
|
||||||
|
homeMoney: 0,
|
||||||
|
commintyList: [],
|
||||||
|
Money: "",
|
||||||
|
show: false,
|
||||||
|
remarks:"",
|
||||||
|
room_id:"",
|
||||||
|
boxShow:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
Money(newVal) {
|
||||||
|
this.homeMoney = Math.round(newVal * (this.info.refund_property_fee_ratio || 0));
|
||||||
|
this.integral = Math.round(newVal * (this.info.refund_user_points_ratio || 0));
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
const meun = menuButtonInfo();
|
const meun = menuButtonInfo();
|
||||||
this.top = meun.top;
|
this.top = meun.top;
|
||||||
this.localHeight = meun.height;
|
this.localHeight = meun.height;
|
||||||
|
this.info = uni.getStorageSync("merchantInfo")
|
||||||
|
this.getUserCommunityList()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
//
|
||||||
|
changeBoxshadow(){
|
||||||
|
this.boxShow = !this.boxShow
|
||||||
|
},
|
||||||
|
//选择房源
|
||||||
|
choseComminty() {
|
||||||
|
|
||||||
|
},
|
||||||
|
back() {
|
||||||
|
NavgateTo("1")
|
||||||
|
},
|
||||||
|
getUserCommunityList() {
|
||||||
|
request(apiArr.getUserCommunityList, "POST", {
|
||||||
|
page_num: 1,
|
||||||
|
page_size: 30,
|
||||||
|
}).then(res => {
|
||||||
|
this.commintyList = res.rows
|
||||||
|
})
|
||||||
|
},
|
||||||
|
pay() {
|
||||||
|
let that = this
|
||||||
|
if(!that.Money){
|
||||||
|
return uni.showToast({
|
||||||
|
title:"请输入金额",
|
||||||
|
icon:"none"
|
||||||
|
})
|
||||||
|
}
|
||||||
|
request(apiArr.createPay, "POST", {
|
||||||
|
merchant_id:that.info.id,
|
||||||
|
order_amount:that.Money, //金额
|
||||||
|
refund_property_fee:that.homeMoney, //物业费
|
||||||
|
refund_member_points:that.integral, //积分
|
||||||
|
remark:that.remarks,
|
||||||
|
room_id:that.room_id
|
||||||
|
}).then(res=>{
|
||||||
|
console.log(res);
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
payList(){
|
||||||
|
NavgateTo("../payInfo/index")
|
||||||
|
},
|
||||||
|
homeMoneList(){
|
||||||
|
NavgateTo("../houseProvident/index")
|
||||||
|
},
|
||||||
|
home(){
|
||||||
|
NavgateTo("/pages/index/index")
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -68,13 +68,16 @@ export default {
|
|||||||
picUrl,
|
picUrl,
|
||||||
top: "",
|
top: "",
|
||||||
localHeight: "",
|
localHeight: "",
|
||||||
|
page_num: 1,
|
||||||
|
page_size: 10,
|
||||||
|
flag:false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
const meun = menuButtonInfo();
|
const meun = menuButtonInfo();
|
||||||
this.top = meun.top;
|
this.top = meun.top;
|
||||||
this.localHeight = meun.height;
|
this.localHeight = meun.height;
|
||||||
|
this.getPayList()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
@ -85,6 +88,16 @@ export default {
|
|||||||
points() {
|
points() {
|
||||||
NavgateTo("../points/index")
|
NavgateTo("../points/index")
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getPayList() {
|
||||||
|
let that = this
|
||||||
|
request(apiArr.getPayList, "POST", {
|
||||||
|
page_num:that.page_num,
|
||||||
|
page_size:that.page_size
|
||||||
|
}).then(res=>{
|
||||||
|
console.log(res);
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -108,12 +108,11 @@
|
|||||||
getPhoneNumber(event) {
|
getPhoneNumber(event) {
|
||||||
console.log('小程序登录获取手机号', event);
|
console.log('小程序登录获取手机号', event);
|
||||||
const { isLogin } = this;
|
const { isLogin } = this;
|
||||||
uni.setStorageSync('phone', '15933112204');
|
// uni.setStorageSync('phone', '18332119617');
|
||||||
|
// this.tohome();
|
||||||
this.tohome();
|
// return
|
||||||
return
|
|
||||||
if (event.detail.errMsg === "getPhoneNumber:ok") {
|
if (event.detail.errMsg === "getPhoneNumber:ok") {
|
||||||
request(apiArr.loginGetPhone, 'POST', {
|
request(apiArr.loginGetUserPhone, 'POST', {
|
||||||
code: event.detail.code
|
code: event.detail.code
|
||||||
}, { silent: false }).then((res) => {
|
}, { silent: false }).then((res) => {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
20
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
20
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
@ -19852,7 +19852,9 @@ var apiArr = {
|
|||||||
// 小程序登录
|
// 小程序登录
|
||||||
loginInfo: '/api/v1/wechat/mpusers/login-info',
|
loginInfo: '/api/v1/wechat/mpusers/login-info',
|
||||||
// 获取用户信息
|
// 获取用户信息
|
||||||
loginGetPhone: '/api/v1/wechat/mpusers/get-phone' // 获取用户手机号
|
loginGetPhone: '/api/v1/wechat/mpusers/get-phone',
|
||||||
|
// 获取用户手机号
|
||||||
|
loginGetUserPhone: "/api/v2/wechat/mpusers/get-phone"
|
||||||
};
|
};
|
||||||
exports.apiArr = apiArr;
|
exports.apiArr = apiArr;
|
||||||
|
|
||||||
@ -20910,7 +20912,21 @@ var apiArr = {
|
|||||||
//取消点赞
|
//取消点赞
|
||||||
userCommentInfo: "/api/v2/wechat/merchant-evaluation-crud/info",
|
userCommentInfo: "/api/v2/wechat/merchant-evaluation-crud/info",
|
||||||
//用户评论详情
|
//用户评论详情
|
||||||
createUserReply: "/api/v2/wechat/merchant-evaluation-reply-crud/creat" //发送评论
|
createUserReply: "/api/v2/wechat/merchant-evaluation-reply-crud/creat",
|
||||||
|
//发送评论
|
||||||
|
deleteMerChantComment: "/api/v2/wechat/merchant-evaluation-crud/del",
|
||||||
|
//删除用户评价
|
||||||
|
getUserCommentReply: "/api/v2/wechat/merchant-evaluation-reply-crud/page",
|
||||||
|
//获取用户评价的回复列表
|
||||||
|
getUserCommunityList: '/api/v2/wechat/community-room/list',
|
||||||
|
//查询用户房源信息
|
||||||
|
getPayList: "/api/v2/wechat/quick-payment-record-crud/page",
|
||||||
|
//支付记录
|
||||||
|
getUserPoints: "/api/v2/wechat/member-points-flow-crud/main",
|
||||||
|
//获取用户积分
|
||||||
|
getPointsList: "/api/v2/wechat/member-points-flow-crud/page",
|
||||||
|
//积分记录
|
||||||
|
createPay: "/api/v2/wechat/quick-payment-record-crud/creat" //创建支付信息
|
||||||
};
|
};
|
||||||
exports.apiArr = apiArr;
|
exports.apiArr = apiArr;
|
||||||
|
|
||||||
|
|||||||
@ -101,10 +101,10 @@ var components
|
|||||||
try {
|
try {
|
||||||
components = {
|
components = {
|
||||||
uGrid: function () {
|
uGrid: function () {
|
||||||
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-grid/u-grid */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-grid/u-grid")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-grid/u-grid.vue */ 680))
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-grid/u-grid */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-grid/u-grid")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-grid/u-grid.vue */ 811))
|
||||||
},
|
},
|
||||||
uGridItem: function () {
|
uGridItem: function () {
|
||||||
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-grid-item/u-grid-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-grid-item/u-grid-item")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-grid-item/u-grid-item.vue */ 688))
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-grid-item/u-grid-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-grid-item/u-grid-item")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-grid-item/u-grid-item.vue */ 819))
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@ -181,7 +181,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|||||||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
||||||
var nav = function nav() {
|
var nav = function nav() {
|
||||||
__webpack_require__.e(/*! require.ensure | components/nav/nav */ "components/nav/nav").then((function () {
|
__webpack_require__.e(/*! require.ensure | components/nav/nav */ "components/nav/nav").then((function () {
|
||||||
return resolve(__webpack_require__(/*! ../../components/nav/nav */ 696));
|
return resolve(__webpack_require__(/*! ../../components/nav/nav */ 827));
|
||||||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||||||
};
|
};
|
||||||
//1.导入组件
|
//1.导入组件
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
"miniprogram": {
|
"miniprogram": {
|
||||||
"list": [
|
"list": [
|
||||||
{
|
{
|
||||||
|
<<<<<<< HEAD
|
||||||
"name": "packages/user/replenishInfo/index",
|
"name": "packages/user/replenishInfo/index",
|
||||||
"pathName": "packages/user/replenishInfo/index",
|
"pathName": "packages/user/replenishInfo/index",
|
||||||
"query": "",
|
"query": "",
|
||||||
@ -26,6 +27,10 @@
|
|||||||
{
|
{
|
||||||
"name": "pages/user/index",
|
"name": "pages/user/index",
|
||||||
"pathName": "pages/user/index",
|
"pathName": "pages/user/index",
|
||||||
|
=======
|
||||||
|
"name": "packages/localLife/pay/index",
|
||||||
|
"pathName": "packages/localLife/pay/index",
|
||||||
|
>>>>>>> 1d53d4c5cbe85927ed45a3f295ad2fa0c801fc0f
|
||||||
"query": "",
|
"query": "",
|
||||||
"launchMode": "default",
|
"launchMode": "default",
|
||||||
"scene": null
|
"scene": null
|
||||||
|
|||||||
@ -101,13 +101,20 @@ var components
|
|||||||
try {
|
try {
|
||||||
components = {
|
components = {
|
||||||
uEmpty: function () {
|
uEmpty: function () {
|
||||||
|
<<<<<<< HEAD
|
||||||
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-empty/u-empty */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-empty/u-empty.vue */ 744))
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-empty/u-empty */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-empty/u-empty.vue */ 744))
|
||||||
},
|
},
|
||||||
dropdown: function () {
|
dropdown: function () {
|
||||||
return __webpack_require__.e(/*! import() | components/dropdown/dropdown */ "components/dropdown/dropdown").then(__webpack_require__.bind(null, /*! @/components/dropdown/dropdown.vue */ 752))
|
return __webpack_require__.e(/*! import() | components/dropdown/dropdown */ "components/dropdown/dropdown").then(__webpack_require__.bind(null, /*! @/components/dropdown/dropdown.vue */ 752))
|
||||||
|
=======
|
||||||
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-empty/u-empty */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-empty/u-empty.vue */ 867))
|
||||||
|
},
|
||||||
|
dropdown: function () {
|
||||||
|
return __webpack_require__.e(/*! import() | components/dropdown/dropdown */ "components/dropdown/dropdown").then(__webpack_require__.bind(null, /*! @/components/dropdown/dropdown.vue */ 875))
|
||||||
|
>>>>>>> 1d53d4c5cbe85927ed45a3f295ad2fa0c801fc0f
|
||||||
},
|
},
|
||||||
uPopup: function () {
|
uPopup: function () {
|
||||||
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-popup/u-popup.vue */ 711))
|
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-popup/u-popup.vue */ 842))
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user