21335b63 by zhangmeng

化妆拍照

1 parent d9a84b21
...@@ -30,61 +30,6 @@ ...@@ -30,61 +30,6 @@
30 {{form.rearks}} 30 {{form.rearks}}
31 </el-row> 31 </el-row>
32 </el-card> 32 </el-card>
33 <br>
34 <!-- <el-row justify='space-between'>-->
35 <!-- <div class="img-header" style="width: 40%">-->
36 <!-- <div class="card">-->
37 <!-- <el-image style="width: 100%" :src="fillImgUrl(form.photos)?.split(',')[0]" fit="none" :preview-src-list="form?.photos?.split(',')"/>-->
38 <!-- </div>-->
39 <!-- </div>-->
40 <!-- <div class="img-header" style="width: 20%">-->
41 <!-- <el-row style="height: 50%;">-->
42 <!-- <el-col :span="12">-->
43 <!-- <div class="card">-->
44 <!-- <el-image :src="fillImgUrl(form.photos)?.split(',')[0] " fit="cover" :preview-src-list="form?.photos?.split(',')"/>-->
45 <!-- </div>-->
46 <!-- </el-col>-->
47 <!-- <el-col :span="12">-->
48 <!-- <div class="card">-->
49 <!-- <el-image :src="fillImgUrl(form.photos)?.split(',')[0] " fit="cover" :preview-src-list="form?.photos?.split(',')"/>-->
50 <!-- </div>-->
51 <!-- </el-col>-->
52 <!-- </el-row>-->
53 <!-- <div style="height: 50%;">-->
54 <!-- <div class="card">-->
55 <!-- <el-image :src="fillImgUrl(form.photos)?.split(',')[0] " fit="cover" :preview-src-list="form?.photos?.split(',')"/>-->
56 <!-- </div>-->
57 <!-- </div>-->
58
59 <!-- </div>-->
60 <!-- <div class="img-header" style="width: 20%">-->
61 <!-- <div class="card">-->
62 <!-- <el-image :src="fillImgUrl(form.photos)?.split(',')[0] " fit="cover" :preview-src-list="form?.photos?.split(',')"/>-->
63 <!-- </div>-->
64 <!-- </div>-->
65 <!-- <div class="img-header" style="width: 20%">-->
66 <!-- <el-row style="height: 50%">-->
67 <!-- <el-col :lg="12" :md="8" :sm="12" :xs="24" >-->
68 <!-- <div class="card">-->
69 <!-- <el-image :src="fillImgUrl(form.photos)?.split(',')[0] " fit="cover" :preview-src-list="form?.photos?.split(',')"/>-->
70 <!-- </div>-->
71 <!-- </el-col>-->
72 <!-- <el-col :span="12">-->
73 <!-- <div class="card">-->
74 <!-- <el-image :src="fillImgUrl(form.photos)?.split(',')[0] " fit="cover" :preview-src-list="form?.photos?.split(',')"/>-->
75 <!-- </div>-->
76 <!-- </el-col>-->
77 <!-- </el-row>-->
78 <!-- <div style="height: 50%;">-->
79 <!-- <div class="card">-->
80 <!-- <el-image :src="fillImgUrl(form.photos)?.split(',')[0] " fit="cover" :preview-src-list="form?.photos?.split(',')"/>-->
81 <!--&lt;!&ndash; <div class="img-hover">&ndash;&gt;-->
82 <!--&lt;!&ndash; 查看相册 (12) >&ndash;&gt;-->
83 <!--&lt;!&ndash; </div>&ndash;&gt;-->
84 <!-- </div>-->
85 <!-- </div>-->
86 <!-- </div>-->
87 <!-- </el-row>-->
88 33
89 <div class="mt30"> 34 <div class="mt30">
90 <el-row :gutter="20"> 35 <el-row :gutter="20">
...@@ -116,7 +61,6 @@ ...@@ -116,7 +61,6 @@
116 import {useRouter} from "vue-router"; 61 import {useRouter} from "vue-router";
117 import {ref, reactive, onMounted} from "vue"; 62 import {ref, reactive, onMounted} from "vue";
118 import {useRoute} from "vue-router"; 63 import {useRoute} from "vue-router";
119 import {getHotelById, getHotelRooms} from "@/apiPc/booking"
120 import * as booking from "@/apiPc/booking" 64 import * as booking from "@/apiPc/booking"
121 import {useStorage} from "@vueuse/core/index"; 65 import {useStorage} from "@vueuse/core/index";
122 import useUserStore from "@/store/modules/user"; 66 import useUserStore from "@/store/modules/user";
...@@ -132,7 +76,6 @@ const query = ref({ ...@@ -132,7 +76,6 @@ const query = ref({
132 studioId:route.params.id 76 studioId:route.params.id
133 }) 77 })
134 const loading = ref(false) 78 const loading = ref(false)
135 const roomList = ref([])
136 const map = ref(null) 79 const map = ref(null)
137 onMounted(() => { 80 onMounted(() => {
138 getData() 81 getData()
...@@ -147,76 +90,12 @@ function getData() { ...@@ -147,76 +90,12 @@ function getData() {
147 form.value.photos?.split(',')?.forEach(v=>{ 90 form.value.photos?.split(',')?.forEach(v=>{
148 form.value.photosList.push(fillImgUrl(v)) 91 form.value.photosList.push(fillImgUrl(v))
149 }) 92 })
150 console.log(form.value)
151 // console.log(res) 93 // console.log(res)
152 }).catch(err => { 94 }).catch(err => {
153 console.log(err) 95 console.log(err)
154 }) 96 })
155 // query.value.hotelId = route.query.id
156 // getHotelRooms(query.value).then(res => {
157 // roomList.value = res.rows
158 // })
159 } 97 }
160 98
161 // function initMap() {
162 // const TMap = null
163 // var center = new TMap.LatLng(form.value.latitude, form.value.longitude);//设置中心点坐标'
164 // var map = new TMap.Map("map", {
165 // center: center,//设置地图中心点坐标
166 // zoom: 17, //设置地图缩放级别
167 // });
168 // var infoWindowLocation = new TMap.LatLng(form.value.latitude, form.value.longitude);//创建一个坐标
169 // //创建InfoWindow实例,并进行初始化
170 // var infowindow = new TMap.InfoWindow({
171 // content: form.value.address, //信息窗口内容
172 // position: infoWindowLocation,//显示信息窗口的坐标
173 // map: map,
174 // offset: {x: 0, y: -32}
175 // });
176 // infowindow.close();
177 // var marker = new TMap.MultiMarker({
178 // map: map,
179 // //样式定义
180 // styles: {
181 // "myStyle": new TMap.MarkerStyle({
182 // "anchor": {x: 16, y: 32}
183 // })
184 // },
185 // //点标记数据数组
186 // geometries: [{
187 // "id": "1", //点标记唯一标识,后续如果有删除、修改位置等操作,都需要此id
188 // // "styleId": 'myStyle', //指定样式id
189 // "position": new TMap.LatLng(form.value.latitude, form.value.longitude), //点标记坐标位置
190 // "properties": {//自定义属性
191 // "title": form.value.name
192 // }
193 // }
194 // ]
195 // })
196 // marker.on("click", function (evt) {
197 // //设置infoWindow
198 // infowindow.open(); //打开信息窗
199 // infowindow.setPosition(evt.geometry.position);//设置信息窗位置
200 // })
201 // }
202
203 // function goOrder(room) {
204 // if (!user) {
205 // useUserStore().setReLogin()
206 // return
207 // }
208 // router.push({
209 // name: 'hotelOrder',
210 // params: {
211 // roomId: room.id
212 // },
213 // query: {
214 // room: encodeURIComponent(JSON.stringify(room)),
215 // hotelName: form.value.name,
216 // checkInTime: form.value.checkInTime
217 // }
218 // })
219 // }
220 </script> 99 </script>
221 100
222 <style scoped lang="scss"> 101 <style scoped lang="scss">
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
30 {{form.rearks}} 30 {{form.rearks}}
31 </el-row> 31 </el-row>
32 </el-card> 32 </el-card>
33 <br>
34 <!-- <el-row justify='space-between'>--> 33 <!-- <el-row justify='space-between'>-->
35 <!-- <div class="img-header" style="width: 40%">--> 34 <!-- <div class="img-header" style="width: 40%">-->
36 <!-- <div class="card">--> 35 <!-- <div class="card">-->
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!