调整
This commit is contained in:
parent
3f4d42674e
commit
d35aa5f450
@ -3,7 +3,9 @@
|
||||
<!-- 头部原生导航栏 -->
|
||||
<view class="native-header-nav">
|
||||
<view class="nav-left" @click="goBack">
|
||||
<text>←</text>
|
||||
<text>
|
||||
<image src="@/static/img/index/pog.png" :style="styliepog"></image>
|
||||
</text>
|
||||
</view>
|
||||
<view class="nav-title" @click="toggleDropdown">
|
||||
<text>{{ currentTitle || "选择分类" }}</text>
|
||||
@ -25,12 +27,12 @@
|
||||
<text>{{ item.name }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<flog v-if="currentTitle=='房地产'"></flog>
|
||||
<ylog v-if="currentTitle=='医疗'"></ylog>
|
||||
<jlog v-if="currentTitle=='教育'"></jlog>
|
||||
<slog v-if="currentTitle=='商贸'"></slog>
|
||||
<sclog v-if="currentTitle=='商超'"></sclog>
|
||||
<tlog v-if="currentTitle=='特色'"></tlog>
|
||||
<flog v-if="currentTitle == '房地产'"></flog>
|
||||
<ylog v-if="currentTitle == '医疗'"></ylog>
|
||||
<jlog v-if="currentTitle == '教育'"></jlog>
|
||||
<slog v-if="currentTitle == '商贸'"></slog>
|
||||
<sclog v-if="currentTitle == '商超'"></sclog>
|
||||
<tlog v-if="currentTitle == '特色'"></tlog>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -41,15 +43,16 @@ import ylog from "./log/ylog.vue"; // 房地产
|
||||
import slog from "./log/slog.vue"; // 房地产
|
||||
import sclog from "./log/sclog.vue"; // 房地产
|
||||
import tlog from "./log/tlog.vue"; // 房地产
|
||||
|
||||
export default {
|
||||
components: {
|
||||
flog, // 注册组件
|
||||
ylog, // 注册组件
|
||||
jlog, // 注册组件
|
||||
slog,
|
||||
sclog,
|
||||
tlog
|
||||
},
|
||||
components: {
|
||||
flog, // 注册组件
|
||||
ylog, // 注册组件
|
||||
jlog, // 注册组件
|
||||
slog,
|
||||
sclog,
|
||||
tlog,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
stylie: {
|
||||
@ -57,6 +60,11 @@ export default {
|
||||
height: "20px", // 设置高度为 20px
|
||||
marginRight: "10px", // 设置右边距为 10px
|
||||
},
|
||||
styliepog: {
|
||||
width: "17px", // 设置宽度为 20px
|
||||
height: "17px", // 设置高度为 20px
|
||||
marginRight: "10px", // 设置右边距为 10px
|
||||
},
|
||||
showCommentModal: false, // 控制模态框的显示
|
||||
commentContent: "", // 评论内容
|
||||
currentCommentIndex: -1,
|
||||
@ -74,7 +82,6 @@ export default {
|
||||
showDropdown: false,
|
||||
currentTitle: "",
|
||||
istae: true,
|
||||
|
||||
};
|
||||
},
|
||||
onLoad(options) {
|
||||
@ -268,7 +275,7 @@ export default {
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 14px;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
display: block;
|
||||
// 新增样式控制两行显示
|
||||
|
BIN
static/img/index/pog.png
Normal file
BIN
static/img/index/pog.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 250 B |
Loading…
x
Reference in New Issue
Block a user