869b0c62 by zhangmeng

拍照修改

1 parent a52f048a
......@@ -51,7 +51,7 @@
<div class="calendarList">
<ul v-loading="loading">
<li v-for="n in schList" :key="n.id" @click="goMatch(n)">
<li v-for="n in schList" :key="n.id" >
<el-row style="width: 100%">
<div style="margin-right: 25px">
<el-image style="width: 90px;height: 115px" :src="fillImgUrl(n.photos?.split(',')[0]) " fit="cover" />
......@@ -163,13 +163,15 @@ function dateChange(){
}
function goMatch(n) {
console.log(11)
if (!user) {
useUserStore().setVisitor()
return
}
ElMessageBox.confirm(language.value==0?`你当前所预约的时间为${query.value.currentDate}是否确定?`:`Your current appointment is ${query.value.currentDate}. Are you sure?`,{type:'warning'})
.then(() => {
.then((rr) => {
console.log(rr)
router.push({
name: 'photographyOrder',
params: {
......@@ -180,8 +182,9 @@ function goMatch(n) {
}
})
})
.catch(() => {
.catch((e) => {
// catch error
console.log(e)
})
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!