diff --git a/components/customer-service-modal/customer-service-modal.vue b/components/customer-service-modal/customer-service-modal.vue new file mode 100644 index 0000000..1863e3f --- /dev/null +++ b/components/customer-service-modal/customer-service-modal.vue @@ -0,0 +1,372 @@ + + + + + diff --git a/pages/profile/profile.vue b/pages/profile/profile.vue index 5bfcbcb..fc423e8 100644 --- a/pages/profile/profile.vue +++ b/pages/profile/profile.vue @@ -104,7 +104,7 @@ 我的订单 - + + + @@ -128,6 +130,7 @@ export default { name: 'ProfilePage', data() { return { + serviceModalVisible: false, commonEnum, userInfo: { nickName: '昵称', @@ -303,6 +306,16 @@ export default { }) }, + // 显示弹窗 + showServiceModal() { + this.serviceModalVisible = true + }, + + // 关闭弹窗 + handleCloseModal() { + this.serviceModalVisible = false + }, + async goToUserList() { if (this.isAgent) { uni.navigateTo({