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="native-header-nav">
<view class="nav-left" @click="goBack"> <view class="nav-left" @click="goBack">
<text></text> <text>
<image src="@/static/img/index/pog.png" :style="styliepog"></image>
</text>
</view> </view>
<view class="nav-title" @click="toggleDropdown"> <view class="nav-title" @click="toggleDropdown">
<text>{{ currentTitle || "选择分类" }}</text> <text>{{ currentTitle || "选择分类" }}</text>
@ -25,12 +27,12 @@
<text>{{ item.name }}</text> <text>{{ item.name }}</text>
</view> </view>
</view> </view>
<flog v-if="currentTitle=='房地产'"></flog> <flog v-if="currentTitle == '房地产'"></flog>
<ylog v-if="currentTitle=='医疗'"></ylog> <ylog v-if="currentTitle == '医疗'"></ylog>
<jlog v-if="currentTitle=='教育'"></jlog> <jlog v-if="currentTitle == '教育'"></jlog>
<slog v-if="currentTitle=='商贸'"></slog> <slog v-if="currentTitle == '商贸'"></slog>
<sclog v-if="currentTitle=='商超'"></sclog> <sclog v-if="currentTitle == '商超'"></sclog>
<tlog v-if="currentTitle=='特色'"></tlog> <tlog v-if="currentTitle == '特色'"></tlog>
</view> </view>
</template> </template>
@ -41,6 +43,7 @@ import ylog from "./log/ylog.vue"; // 房地产
import slog from "./log/slog.vue"; // import slog from "./log/slog.vue"; //
import sclog from "./log/sclog.vue"; // import sclog from "./log/sclog.vue"; //
import tlog from "./log/tlog.vue"; // import tlog from "./log/tlog.vue"; //
export default { export default {
components: { components: {
flog, // flog, //
@ -48,7 +51,7 @@ export default {
jlog, // jlog, //
slog, slog,
sclog, sclog,
tlog tlog,
}, },
data() { data() {
return { return {
@ -57,6 +60,11 @@ export default {
height: "20px", // 20px height: "20px", // 20px
marginRight: "10px", // 10px marginRight: "10px", // 10px
}, },
styliepog: {
width: "17px", // 20px
height: "17px", // 20px
marginRight: "10px", // 10px
},
showCommentModal: false, // showCommentModal: false, //
commentContent: "", // commentContent: "", //
currentCommentIndex: -1, currentCommentIndex: -1,
@ -74,7 +82,6 @@ export default {
showDropdown: false, showDropdown: false,
currentTitle: "", currentTitle: "",
istae: true, istae: true,
}; };
}, },
onLoad(options) { onLoad(options) {

BIN
static/img/index/pog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B