You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
43 lines
1.2 KiB
<template>
|
|
<view>
|
|
<haiNaBaiXianSearch v-if="sign == 'haiNaBaiXian'"></haiNaBaiXianSearch>
|
|
<hongFuQiTianSearch v-else-if="sign == 'hongFuQiTian'"></hongFuQiTianSearch>
|
|
<chengXinRuYiSearch v-else-if="sign == 'chengXinRuYi'"></chengXinRuYiSearch>
|
|
<baiLiTiaoTiSearch v-else-if="sign == 'baiLiTiaoYi'"></baiLiTiaoTiSearch>
|
|
<Search v-else-if="sign == 'default'"></Search>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
var app = getApp();
|
|
import { mapState, mapActions } from "vuex";
|
|
import Search from "../themes/default/themes-search.vue";
|
|
import hongFuQiTianSearch from "../themes/hongFuQiTian/themes-search.vue";
|
|
import baiLiTiaoTiSearch from "../themes/baiLiTiaoTi/themes-search.vue";
|
|
import chengXinRuYiSearch from "../themes/chengXinRuYi/themes-search.vue";
|
|
import haiNaBaiXianSearch from "../themes/haiNaBaiXian/themes-search.vue";
|
|
export default {
|
|
components: {
|
|
Search,
|
|
chengXinRuYiSearch,
|
|
haiNaBaiXianSearch,
|
|
hongFuQiTianSearch,
|
|
baiLiTiaoTiSearch
|
|
},
|
|
computed: {
|
|
...mapState([
|
|
'opt','sign'
|
|
])
|
|
},
|
|
onLoad: function (opt) {
|
|
let vopt = app.getopts(opt);
|
|
console.log("打印vopt",vopt)
|
|
this.acOpt(vopt);
|
|
},
|
|
methods: {
|
|
...mapActions([
|
|
'acOpt'
|
|
]),
|
|
},
|
|
};
|
|
</script>
|