|
@ -171,7 +171,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view |
|
|
<view |
|
|
@click="openLocation(info.order_child[0].extract.lat,info.order_child[0].extract.lon)"> |
|
|
@click="openLocation(info.order_child[0].extract.lat,info.order_child[0].extract.lon)"> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/navigation.png" |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/navigations.png" |
|
|
mode=""></image> |
|
|
mode=""></image> |
|
|
导航 |
|
|
导航 |
|
|
</view> |
|
|
</view> |
|
@ -184,7 +184,7 @@ |
|
|
<view v-if="info.order_child[0].goods_genre == 'food'"> |
|
|
<view v-if="info.order_child[0].goods_genre == 'food'"> |
|
|
<view class="pgoods-detail"> |
|
|
<view class="pgoods-detail"> |
|
|
购买信息 |
|
|
购买信息 |
|
|
<view class="pgoods-product"> |
|
|
<view class="pgoods-product" style="border-bottom: none;"> |
|
|
<image :src="showImg(foodInfo.image)" mode="aspectFill" class="product-img"></image> |
|
|
<image :src="showImg(foodInfo.image)" mode="aspectFill" class="product-img"></image> |
|
|
<view class="product-content flex-column"> |
|
|
<view class="product-content flex-column"> |
|
|
<view class="product-title">{{foodInfo.title}}</view> |
|
|
<view class="product-title">{{foodInfo.title}}</view> |
|
@ -197,6 +197,10 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="food-name flex-between"> |
|
|
|
|
|
{{info.order_child[0].contact_name}} |
|
|
|
|
|
<span>{{info.order_child[0].phone}}</span> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
<!-- 商品价格 --> |
|
|
<!-- 商品价格 --> |
|
|
<view class="public-price"> |
|
|
<view class="public-price"> |
|
@ -272,14 +276,14 @@ |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="flex-between" style="margin-top: 30rpx;"> |
|
|
<view class="flex-between" style="margin-top: 30rpx;"> |
|
|
<view class="hotel-address flex-between" @click.stop="goMap(info.order_child[0])"> |
|
|
<view class="hotel-address flex-between"> |
|
|
<view class="address text-overflowRows">{{info.order_child[0].goods_data.address}}</view> |
|
|
<view class="address text-overflowRows">{{info.order_child[0].scenic_data.address}}</view> |
|
|
<view class="address-image"> |
|
|
<view class="address-image" @click="openLocation(info.order_child[0].scenic_data.lat,info.order_child[0].scenic_data.lon)"> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/navigation.png"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/navigation.png"></image> |
|
|
<view>地图</view> |
|
|
<view>地图</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="hotel-phone flex-center" @click.stop="callPhone(info.order_child[0].goods_data.tel)"> |
|
|
<view class="hotel-phone flex-center" @click="clickPhone(info.order_child[0].scenic_data.tel)"> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/hotelPhone.png"></image> |
|
|
<image src="https://static.ticket.sz-trip.com/yandu/images/order/hotelPhone.png"></image> |
|
|
<view>电话</view> |
|
|
<view>电话</view> |
|
|
</view> |
|
|
</view> |
|
@ -604,33 +608,6 @@ |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
callPhone (tel) { |
|
|
|
|
|
let _this = this |
|
|
|
|
|
uni.showActionSheet({ |
|
|
|
|
|
itemList: [tel,'呼叫'], |
|
|
|
|
|
success: function (res) { |
|
|
|
|
|
_this.clickPhone(tel) |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
goMap (info) { |
|
|
|
|
|
let param = { |
|
|
|
|
|
latitude: Number(info.goods_data.lat), |
|
|
|
|
|
longitude: Number(info.goods_data.lon), |
|
|
|
|
|
name: info.goods_title, |
|
|
|
|
|
address: info.goods_data.address, |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
uni.openLocation({ |
|
|
|
|
|
...param, |
|
|
|
|
|
success: function () { |
|
|
|
|
|
console.log('success'); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
@ -1037,6 +1014,13 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 美食 |
|
|
// 美食 |
|
|
|
|
|
.food-name { |
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
font-size: 31rpx; |
|
|
|
|
|
color: #000000; |
|
|
|
|
|
margin-bottom: 40rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.shop-detail { |
|
|
.shop-detail { |
|
|
width: 697rpx; |
|
|
width: 697rpx; |
|
|
height: auto; |
|
|
height: auto; |
|
|