问题处理

dev
Tuzki 2 years ago
parent fae5fa0789
commit 6d5ad91504
  1. 148
      pages/personcenter/personcenter.vue
  2. 4
      sunPackIndex/scenic/scenicdetial/scenicdetial.vue

@ -35,8 +35,6 @@
<view class="mode_com mode_com"> <view class="mode_com mode_com">
<text class="tit_com">我的应用</text> <text class="tit_com">我的应用</text>
<view class="dly_flex hd_pter mt_hb dzhi_bq2" style="background: #fff; padding-bottom: 40rpx; border-radius: 20rpx"> <view class="dly_flex hd_pter mt_hb dzhi_bq2" style="background: #fff; padding-bottom: 40rpx; border-radius: 20rpx">
<view class="w_33" @tap="jump('tousu')"> <view class="w_33" @tap="jump('tousu')">
<view class=""> <view class="">
<image class="kou_top3" mode="aspectFill" src="../../static/animg/p_lyts.png"></image> <image class="kou_top3" mode="aspectFill" src="../../static/animg/p_lyts.png"></image>
@ -44,13 +42,13 @@
<text class="ht_text">我的投诉</text> <text class="ht_text">我的投诉</text>
</view> </view>
<view class="w_33" @tap="jump('aboutus')"> <!-- <view class="w_33" @tap="jump('aboutus')">
<view class=""> <view class="">
<image class="kou_top3" mode="aspectFill" src="../../static/animg/p_gywm.png"></image> <image class="kou_top3" mode="aspectFill" src="../../static/animg/p_gywm.png"></image>
</view> </view>
<text class="ht_text">客服电话</text> <text class="ht_text">客服电话</text>
</view> </view>
-->
<view class="w_33" @tap="jump('delete')"> <view class="w_33" @tap="jump('delete')">
<view class=""> <view class="">
<image class="kou_top3" mode="aspectFill" src="../../static/animg/p_tc.png"></image> <image class="kou_top3" mode="aspectFill" src="../../static/animg/p_tc.png"></image>
@ -59,7 +57,30 @@
</view> </view>
</view> </view>
</view> </view>
<view></view> <view class="v-about">
<!-- <view class="v-about-top">
<view class="v-about-top-left">
<view class="v-about-top-text">客服服务中心</view>
<view class="v-about-top-eg">Customer Service Center</view>
</view>
<view class="v-about-top-right">
<image src="../../static/animg/v-server.svg" class="v-about-top-img" mode="widthFix"></image>
</view>
</view> -->
<view class="v-about-item" @click="getPhone('zixun')">
<text>咨询电话</text><text class="num">03193926666</text>
<image src="../../static/animg/v-phone.svg" class="v-about-top-tel" mode="widthFix"></image>
</view>
<view class="v-about-item" @click="getPhone('tousu')">
<text>投诉电话</text><text class="num">03193928888</text>
<image src="../../static/animg/v-phone.svg" class="v-about-top-tel" mode="widthFix"></image>
</view>
<view class="v-about-item" @click="getPhone('jiuyuan')">
<text>救援电话</text><text class="num">03193928888</text>
<image src="../../static/animg/v-phone.svg" class="v-about-top-tel" mode="widthFix"></image>
</view>
</view>
<!-- 兴趣定制 --> <!-- 兴趣定制 -->
<!-- 工具栏 --> <!-- 工具栏 -->
@ -74,6 +95,8 @@ export default {
data() { data() {
that = this; that = this;
return { return {
name: this.$param.cityName,
src: '../../static/images/' + this.$param.cityPy + '.png',
avatarUrl: '', avatarUrl: '',
url: '', url: '',
username: '', username: '',
@ -96,7 +119,7 @@ export default {
lineSelectStr: '', lineSelectStr: '',
imgBase64: '', imgBase64: '',
adminId: '', adminId: '',
isAdminLogin: false, isAdminLogin: false
}; };
}, },
onShow() { onShow() {
@ -117,8 +140,28 @@ export default {
uni.removeStorageSync('unionid'); uni.removeStorageSync('unionid');
uni.removeStorageSync('headimgurl'); uni.removeStorageSync('headimgurl');
} }
if (options.isRedirect == '1') {
uni.switchTab({
url: '/pages/personcenter/personcenter'
});
}
}, },
methods: { methods: {
getPhone: function(type) {
if (type == 'zixun') {
uni.makePhoneCall({
phoneNumber: '03193926666' //
})
} else if (type == 'tousu') {
uni.makePhoneCall({
phoneNumber: '03193928888' //
})
} else if (type == 'jiuyuan') {
uni.makePhoneCall({
phoneNumber: '03193928888' //
})
}
},
changean(type) { changean(type) {
let this_ = this; let this_ = this;
if (!uni.getStorageSync('unionid') || uni.getStorageSync('unionid') == '' || uni.getStorageSync('unionid') == null) { if (!uni.getStorageSync('unionid') || uni.getStorageSync('unionid') == '' || uni.getStorageSync('unionid') == null) {
@ -204,7 +247,7 @@ export default {
data: datas, data: datas,
method: 'post', method: 'post',
success: function (res) { success: function (res) {
console.log(res) console.log(res);
const obj = JSON.parse(res.data.msg); const obj = JSON.parse(res.data.msg);
this_.isLogin = true; this_.isLogin = true;
const da = { const da = {
@ -312,14 +355,20 @@ export default {
} else if (obj == 'tousu') { } else if (obj == 'tousu') {
if (!uni.getStorageSync('unionid') || uni.getStorageSync('unionid') == '' || uni.getStorageSync('unionid') == null) { if (!uni.getStorageSync('unionid') || uni.getStorageSync('unionid') == '' || uni.getStorageSync('unionid') == null) {
uni.showToast({ uni.showToast({
title: '请先授权', title: '请稍后...',
icon: 'none' icon: 'none'
}); });
return; this.oauthUser();
setTimeout(() => {
uni.navigateTo({
url: '/sunPackIndex/suggest/sug_list'
});
}, 4000);
} else {
uni.navigateTo({
url: '/sunPackIndex/suggest/sug_list'
});
} }
uni.navigateTo({
url: '/sunPackIndex/suggest/sug_list'
});
} else if (obj == 'myReserve') { } else if (obj == 'myReserve') {
console.log(uni.getStorageSync('unionid')); console.log(uni.getStorageSync('unionid'));
if (!uni.getStorageSync('unionid') || uni.getStorageSync('unionid') == '' || uni.getStorageSync('unionid') == null) { if (!uni.getStorageSync('unionid') || uni.getStorageSync('unionid') == '' || uni.getStorageSync('unionid') == null) {
@ -471,6 +520,77 @@ export default {
<style> <style>
@import url('../../static/css/common.css'); @import url('../../static/css/common.css');
@import url('../../static/css/hebei.css'); @import url('../../static/css/hebei.css');
@import url('../../static/css/common.css');
page {
background: #fff;
}
.v-about {
padding: 20rpx 40rpx;
}
.v-about-top {
display: flex;
align-items: center;
}
.v-about-top-left {
flex: auto;
padding-left: 20rpx;
}
.v-about-top-right {}
.v-about-top-img {
width: 200rpx;
}
.v-about-top-tel {
width: 50rpx;
}
.v-about-top-text {
color: #ae3523;
font-size: 50rpx;
font-weight: 600;
}
.v-about-top-eg {
color: #ae3523;
font-weight: 600;
}
.v-about-item {
display: flex;
margin: 40rpx 0;
align-items: center;
padding: 25rpx 40rpx;
border-radius: 10rpx;
color: #fff;
font-weight: 600;
font-size: 30rpx;
background-color: #ae3523;
}
.v-about-item .num {
position: relative;
flex: auto;
font-size: 36rpx;
}
.v-about-item .num::after {
content: "";
position: absolute;
right: 30rpx;
top: 50%;
transform: translate(0, -50%);
width: 2rpx;
height: 95%;
background-color: #fff;
}
.dzhi_top { .dzhi_top {
padding: 150rpx 0 40rpx; padding: 150rpx 0 40rpx;
border-radius: 0 0 50rpx 50rpx; border-radius: 0 0 50rpx 50rpx;
@ -518,11 +638,11 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.person_inf{ .person_inf {
width: 50%; width: 50%;
} }
.pes_inf { .pes_inf {
width: 99%; width: 99%;
} }
.t_nic { .t_nic {
width: 100%; width: 100%;

@ -13,9 +13,9 @@
<view class="cur-input"> <view class="cur-input">
<text>{{ info.sname }}</text> <text>{{ info.sname }}</text>
</view> </view>
<view class="dl_1"> <!-- <view class="dl_1">
<text>{{ info.slevel }}</text> <text>{{ info.slevel }}</text>
</view> </view> -->
</view> </view>
<!-- 天气--> <!-- 天气-->
<!-- <view class="sec_whe_unit agn_right mmd_dl mmd_whe"> <!-- <view class="sec_whe_unit agn_right mmd_dl mmd_whe">

Loading…
Cancel
Save