Commit 913b8e34 authored by 沈良进's avatar 沈良进

搜索页适配移动端

parent 87315ca7
<template> <template>
<div class="row items-start q-mt-lg"> <div class="items-start q-mt-lg" :class="$q.platform.is.desktop ? 'row' : 'colmuns'">
<div class="col-3 q-mr-lg"> <div class="col-3" :class="$q.platform.is.desktop ? 'q-mr-lg' : 'q-ma-md'">
<q-card flat class="rounded-borders q-py-md"> <q-card flat class="rounded-borders q-py-md">
<div class="text-subtitle1 text-weight-bold q-mx-md">篩選目的地</div> <div class="text-subtitle1 text-weight-bold q-mx-md">篩選目的地</div>
<q-input <q-input
...@@ -154,10 +154,10 @@ ...@@ -154,10 +154,10 @@
rounded-borders rounded-borders
cursor-pointer cursor-pointer
overflow-hidden overflow-hidden
q-mb-md
row
bg-white bg-white
" "
:class="$q.platform.is.desktop ? 'row q-mb-md' : 'colmuns q-ma-md'"
@click="GotoDetails(x)" @click="GotoDetails(x)"
v-for="(x, i) in DataList" v-for="(x, i) in DataList"
:key="i" :key="i"
...@@ -167,7 +167,8 @@ ...@@ -167,7 +167,8 @@
:ratio="1" :ratio="1"
spinner-color="grey" spinner-color="grey"
spinner-size="20px" spinner-size="20px"
width="272px" :width="$q.platform.is.desktop ? '272px' : ''"
:height="$q.platform.is.desktop ? '' : '200px'"
class="bg-grey-3" class="bg-grey-3"
/> />
<div class="q-pa-md col column"> <div class="q-pa-md col column">
......
...@@ -791,7 +791,7 @@ ...@@ -791,7 +791,7 @@
</div> </div>
<!-- 手机端 --> <!-- 手机端 -->
<div class="mobileSearch q-mt-md"> <!-- <div class="mobileSearch q-mt-md">
<div class="search-bar-m"> <div class="search-bar-m">
<i class="iconfont iconchazhao"></i> <i class="iconfont iconchazhao"></i>
<input <input
...@@ -815,7 +815,7 @@ ...@@ -815,7 +815,7 @@
/> />
<div class="sortShaixuan" @click="fullHeight = true">更多篩選條件</div> <div class="sortShaixuan" @click="fullHeight = true">更多篩選條件</div>
</div> </div>
</div> </div> -->
<template v-if="ShowType==0"> <template v-if="ShowType==0">
<!--豆腐格--> <!--豆腐格-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment