Commit 62412aac by yancanhua Committed by 章家宝

fix: 收车偏好自测问题优化

1 parent 29906e51
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
class="top-icon-image"></image> class="top-icon-image"></image>
</view> </view>
<view class="top-title"> <view class="top-title">
<image src="https://img02.glsx.com.cn/aus/images/preference/head-txt.png" <image src="https://img02.glsx.com.cn/aus/images/preference/head-txt.png?v=20260209"
class="top-icon-title"></image> class="top-icon-title"></image>
</view> </view>
<view class="popup-content">只需1分钟,我们将为您智能推荐最符合您需求的车辆,节省90%的找车时间!</view> <view class="popup-content">只需1分钟,我们将为您智能推荐最符合您需求的车辆,节省90%的找车时间!</view>
......
...@@ -199,7 +199,7 @@ export default class ProfilePage extends Vue { ...@@ -199,7 +199,7 @@ export default class ProfilePage extends Vue {
backgroundImageUrl = BACKGROUND_IMAGE_1; backgroundImageUrl = BACKGROUND_IMAGE_1;
showPreference: boolean = true; //是否显示收车偏好 showPreference: boolean = false; //是否显示收车偏好
created(): void { created(): void {
...@@ -252,16 +252,10 @@ export default class ProfilePage extends Vue { ...@@ -252,16 +252,10 @@ export default class ProfilePage extends Vue {
} }
} }
//获取是否显示收车偏好 //获取是否显示收车偏好
getPreference() { getPreference() {
// const authService: AuthService = this.$auth; const authService: AuthService = this.$auth;
// const accountInfo = authService.getAuthentication(); if (authService.isLogin()) {
// if (accountInfo && accountInfo.accountType) {
// this.showPreference = false;
// } else {
// }
PreferenceController.getPreferenceDetails(this.axios, { isIndexPage: false }).then((response: any) => { PreferenceController.getPreferenceDetails(this.axios, { isIndexPage: false }).then((response: any) => {
const data = response.data || {}; const data = response.data || {};
if (data.success) { if (data.success) {
...@@ -270,6 +264,7 @@ export default class ProfilePage extends Vue { ...@@ -270,6 +264,7 @@ export default class ProfilePage extends Vue {
} }
}).finally(() => { }); }).finally(() => { });
} }
}
navigateTo(url: string): void { navigateTo(url: string): void {
const authService: AuthService = this.$auth; const authService: AuthService = this.$auth;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!