This commit is contained in:
陈浩 2025-06-07 11:30:57 +08:00
parent 3f4d42674e
commit d35aa5f450
2 changed files with 24 additions and 17 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B