Feat:订单流程调整

This commit is contained in:
linxi
2025-10-24 18:03:07 +08:00
parent db23fb32a4
commit 670c6385e5
8 changed files with 24 additions and 217 deletions
-1
View File
@@ -1432,7 +1432,6 @@ export default {
uni.navigateTo({ url: `/pkg_product/views/famousQianxianTheme?id=${item.id}` })
},
sujoumeClickHandle(item) {
console.log(item);
uni.navigateTo({ url: '/pkg_product/views/sojoumStore?id=' + item.id })
},
industryTabItemClick(index) {
-2
View File
@@ -153,12 +153,10 @@
<script>
import { getJiaLouProductDetail, getJiaLouCalendar,getJiaLouBookingRules } from '@/api/qianxian'
import {getGiftCardSendBackground} from "@/api/gift"
import Calendar from '../components/Calendar.vue'
import DateRangePicker from '@/components/DateRangePicker/DateRangePicker.vue'
export default {
name: 'GroupBuyDetails',
components: {
Calendar,
DateRangePicker
},
data() {
+21 -24
View File
@@ -17,10 +17,10 @@
</view>
<swiper v-if="traveItems.length > 0" class="v12-justify-between swap" autoplay circular next-margin="300rpx" duration="10000" interval="3000" >
<swiper-item v-for="(item, index) in traveItems" :key="index" >
<view class="trave-item v12-mr-3 v12-mt-3" @click="toStore(item.hotelId)">
<view class="trave-item v12-mr-3 v12-mt-3" @click="toStore(item)">
<view class="trave-item">
<image class="trave-item" :src="item.cover" v-if="item.coverType === 1"></image>
<video class="trave-item" :src="item.cover" :show-fullscreen-btn="false" :show-center-play-btn="flase" :show-play-btn="false" v-if="item.coverType === 2"></video>
<image class="trave-item" :src="item.cover"></image>
<!-- <video class="trave-item" :src="item.cover" :show-fullscreen-btn="false" :show-center-play-btn="flase" :show-play-btn="false" v-if="item.coverType === 2"></video> -->
</view>
<view class="trave-btn">
<text>旅居预约</text>
@@ -41,10 +41,10 @@
</view>
</view>
<view class="v12-justify-between sanctup-items v12-mt-3">
<view v-for="(item, index) in items" :key="index" class="v12-pa-1" @click="toStore(item.hotelId)">
<view v-for="(item, index) in items" :key="index" class="v12-pa-1" @click="toStore(item)">
<view class="img">
<image class="img" :src="item.cover" v-if="item.coverType === 1"></image>
<video
<image class="img" :src="item.cover"></image>
<!-- <video
class="img"
:src="item.cover"
:play-btn-position="center"
@@ -53,7 +53,7 @@
:show-play-btn="false"
:controls="false"
v-if="item.coverType === 2">
</video>
</video> -->
<view class="v12-white-text address">
<image
class="map-icon v12-mr-1"
@@ -62,12 +62,12 @@
<text class="v12-font-28">{{ item.areaName }}</text>
</view>
</view>
<view class="v12-font-bold v12-font-28 v12-mt-1 more-t desc-txt">{{ item.content }}</view>
<view class="v12-font-bold v12-font-28 v12-mt-1 more-t desc-txt">{{ item.intro }}</view>
<view class="v12-justify-start v12-align-center v12-my-1">
<view class="atr">
<image class="atr" :src="item.logo"></image>
<image class="atr" :src="item.avatar"></image>
</view>
<view class="v12-font-26 v12-ml-2 v12-dark-text one-t">{{ item.hotelName }}</view>
<view class="v12-font-26 v12-ml-2 v12-dark-text one-t">{{ item.name }}</view>
</view>
</view>
</view>
@@ -80,6 +80,7 @@
</template>
<script>
import { getCategory,getWellnessPlace } from '@/api/health'
import { getJiaLouList } from '@/api/qianxian'
export default {
data() {
return {
@@ -95,6 +96,8 @@ export default {
}
},
onLoad(opts) {
console.log(opts);
this.cityId = opts.city
this.cityName = decodeURIComponent(decodeURIComponent(opts.cityName))
getCategory().then(res => {
@@ -122,13 +125,13 @@ export default {
},
getList() {
const params = {
goodCityId: this.cityId,
categoryId: this.categoryId,
keyword: this.keyword,
// countyId: this.cityId,
wellnessPlaceCateId : this.categoryId,
shopType: 'wellness',
page: 1,
limit: 9999
}
getWellnessPlace(params).then(res => {
getJiaLouList(params).then(res => {
// console.log(res);
this.items = res.data.records
})
@@ -140,23 +143,17 @@ export default {
},
getTop() {
const params = {
goodCityId: this.cityId,
categoryId: 0,
shopType: 'wellness',
page: 1,
limit: 9999
}
getWellnessPlace(params).then(res => {
getJiaLouList(params).then(res => {
// console.log(res);
this.traveItems = res.data.records
})
},
toStore(id) {
this.$yrouter.push({
path: '/pagesInn/inn/innHome',
query: {
id: id
}
})
toStore(item) {
uni.navigateTo({ url: '/pkg_product/views/sojoumStore?id=' + item.id })
},
}
}
-2
View File
@@ -165,11 +165,9 @@
<script>
import { fetchSojoumOrderDetail,sojoumOrderCheckInTime, sojoumOrderCalendar } from "@/api/sojoumOrder";
import Calendar from "../components/Calendar.vue";
import DateRangePicker from '@/components/DateRangePicker/DateRangePicker.vue'
export default {
components: {
Calendar,
DateRangePicker
},
data() {
+1 -1
View File
@@ -114,7 +114,7 @@ export default {
title: '退款申请已提交',
icon: 'success'
})
uni.navigateBack({
uni.navigateTo({
url: '/pkg_product/views/sojoumOrderDetails?id=' + this.key
})
}
+1 -1
View File
@@ -352,7 +352,7 @@ export default {
{ text: '文化', value: 1, isShow: true },
{ text: '资质', value: 2, isShow: true }
],
activeIndex: 4,
activeIndex: 3,
isLoadInfoListSuccess: false,
picColumnWidth: '345rpx',
infoArray: [],