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",
"style": {
"navigationBarTitleText": "联系人信息"
"navigationBarTitleText": "出行人信息"
}
},
{

6
pages/user/user.vue

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

10
static/js/CommonFunction.js

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

1
subPackages/service/service.vue

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

4
subPackages/user/collect.vue

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

2
subPackages/user/myAddressAdd.vue

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

2
subPackages/user/myContactsAdd.vue

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

2
subPackages/user/travelerList.vue

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

Loading…
Cancel
Save