LiChengjin 2 недель назад
Родитель
Сommit
58cee8363b
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      subpkg/extend/extend.vue
  2. 2 2
      subpkg_checkin/confirmOrder/confirmOrder.vue

+ 2 - 2
subpkg/extend/extend.vue

@@ -96,7 +96,7 @@
 		getDay
 	} from '../../utils/commonUtils.js'
 	import {
-		IMG_BASE_URL
+		ROOM_TYPE_PIC_URL
 	} from "../../config.js"
 	import moment from 'moment'
 	import {
@@ -301,7 +301,7 @@
 					let checkinInfo = res.data.data
 					// console.log(checkinInfo)
 					if (checkinInfo) {
-						this.roomTypePicPath = IMG_BASE_URL + '/' + checkinInfo.roomPicPath
+						this.roomTypePicPath = ROOM_TYPE_PIC_URL + '/' + checkinInfo.roomPicPath
 						this.roomInfo = checkinInfo.roomTypeName + checkinInfo.room
 						this.unitPrice = checkinInfo.unitPrice
 						this.breakfastNum = checkinInfo.breakfastNum

+ 2 - 2
subpkg_checkin/confirmOrder/confirmOrder.vue

@@ -116,7 +116,7 @@
 		getDay
 	} from '../../utils/commonUtils.js'
 	import {
-		IMG_BASE_URL
+		ROOM_TYPE_PIC_URL
 	} from "../../config.js"
 	import {
 		mapState,
@@ -529,7 +529,7 @@
 				hotelId: this.currentHotel.hotelId,
 				roomType: this.order.roomType
 			})
-			this.roomPicPath = IMG_BASE_URL + '/' + res.data.data.roomPicPath
+			this.roomPicPath = ROOM_TYPE_PIC_URL + '/' + res.data.data.roomPicPath
 			this.roomTypeName = res.data.data.roomTypeName
 			this.unitPrice = res.data.data.unitPrice
 			this.startDate = moment(new Date(this.order.startTime)).format('MM月DD日')