Browse Source

bug修复

master
jiazhipeng 11 months ago
parent
commit
bf0a51a337
  1. 2
      pages.json
  2. 6
      pages/user/user.vue
  3. 10
      static/js/CommonFunction.js
  4. 1
      subPackages/service/service.vue
  5. 4
      subPackages/user/collect.vue
  6. 2
      subPackages/user/myAddressAdd.vue
  7. 2
      subPackages/user/myContactsAdd.vue
  8. 2
      subPackages/user/travelerList.vue

2
pages.json

@ -202,7 +202,7 @@
{ {
"path": "user/myContactsAdd", "path": "user/myContactsAdd",
"style": { "style": {
"navigationBarTitleText": "联系人信息" "navigationBarTitleText": "出行人信息"
} }
}, },
{ {

6
pages/user/user.vue

@ -350,11 +350,13 @@
height: 120rpx; height: 120rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 50%; border-radius: 50%;
overflow: hidden;
} }
.headImg { .headImg {
width: 60rpx; width: 100%;
height: 66rpx; height: 100%;
border-radius: 50%;
} }
.username { .username {

10
static/js/CommonFunction.js

@ -248,20 +248,22 @@ Vue.prototype.goOtherDetail = (item,type) => {
uni.navigateToMiniProgram({ uni.navigateToMiniProgram({
shortLink: item.ext_link shortLink: item.ext_link
}) })
return return true
}else if(item.link_type == 2){ }else if(item.link_type == 2){
// 外部H5 // 外部H5
uni.navigateTo({ uni.navigateTo({
url: '/subPackages/webPage/webPage?url=' + item.ext_link url: '/subPackages/webPage/webPage?url=' + item.ext_link
}); });
return return true
} }
} }
// 根据类型判断详情页 // 根据类型判断详情页
Vue.prototype.goDetailByType= function(item){ Vue.prototype.goDetailByType= function(item){
this.goOtherDetail(item) let res = this.goOtherDetail(item)
if (res) {
return
}
let urlData = [ let urlData = [
{name:'景区门票', url: '/subPackages/ticketBooking/detail',genre:'ticket'}, {name:'景区门票', url: '/subPackages/ticketBooking/detail',genre:'ticket'},
{name:'酒店民宿',url:'/subPackages/hotelHomestay/detail',genre:'hotel'}, {name:'酒店民宿',url:'/subPackages/hotelHomestay/detail',genre:'hotel'},

1
subPackages/service/service.vue

@ -182,5 +182,6 @@
.actBtn { .actBtn {
background: linear-gradient(90deg, #9EE4FE, #7FD491); background: linear-gradient(90deg, #9EE4FE, #7FD491);
color: black;
} }
</style> </style>

4
subPackages/user/collect.vue

@ -31,6 +31,10 @@
}, },
// type // type
gotoDetail(item) { gotoDetail(item) {
let res = this.goOtherDetail(item.arr)
if (res) {
return
}
// 1 2 3 4 5 6线 7 // 1 2 3 4 5 6线 7
let url = '' let url = ''
switch (item.type){ switch (item.type){

2
subPackages/user/myAddressAdd.vue

@ -373,7 +373,7 @@
.list-item-post { .list-item-post {
display: flex; display: flex;
color: #FFFFFF; color: #000;
font-size: 36rpx; font-size: 36rpx;
width: 697rpx; width: 697rpx;
height: 73rpx; height: 73rpx;

2
subPackages/user/myContactsAdd.vue

@ -239,7 +239,7 @@
font-size: 36rpx; font-size: 36rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: black;
position: absolute; position: absolute;
bottom: 53rpx; bottom: 53rpx;
left: 27rpx; left: 27rpx;

2
subPackages/user/travelerList.vue

@ -89,7 +89,7 @@
<view class="btn-box"> <view class="btn-box">
<navigator :url="showType ? '/subPackages/user/myAddressAdd' : '/subPackages/user/myContactsAdd'" class="btn"> <navigator :url="showType ? '/subPackages/user/myAddressAdd' : '/subPackages/user/myContactsAdd'" class="btn">
{{showType ? '添加联系人' : '添加出行人'}} {{showType ? '添加收货地址' : '添加出行人'}}
</navigator> </navigator>
</view> </view>
</view> </view>

Loading…
Cancel
Save