Commit 49c9ac59 authored by zhengke's avatar zhengke

优化样式

parent d548f14c
...@@ -141,34 +141,13 @@ const datas = reactive({ ...@@ -141,34 +141,13 @@ const datas = reactive({
], ],
currentImg: 0,// 当前查看img currentImg: 0,// 当前查看img
}) })
let TemplateType = 0
if(router.currentRoute.value.path=='/market') model.value=1
if(router.currentRoute.value.path.includes('create')) {
model.value=2
if(router.currentRoute.value.fullPath.indexOf('/ad')!=-1) TemplateType = 2
else if(router.currentRoute.value.fullPath.indexOf('/trip')!=-1) TemplateType = 1
}else if(router.currentRoute.value.path.includes('op')) {
model.value=0
}
marketStore.setModel(model.value)
const queryObj = reactive({
pageIndex: 1,
pageSize: 20,
LineId: 0, //线路Id
Title: '', //模板名称
CountryName: '', //国家名称
SeasonName: '', //季节名称
ColorName: '', //颜色名称
CountryNames: [], //国家名称
SeasonNames: [], //季节名称
ColorNames: [], //颜色名称
pageCount: 0, //总页数
TempType: 0,
TemplateType: TemplateType,//0 不限 1模版 2广告
type: 0,
sort: 0,//排序方式
})
const setTemplateType = ref(1) const setTemplateType = ref(1)
if(router.currentRoute.value.path.includes('create')) {
if(router.currentRoute.value.fullPath.indexOf('/ad')!=-1) setTemplateType.value = 2
else if(router.currentRoute.value.fullPath.indexOf('/trip')!=-1) setTemplateType.value = 1
}
//类型 //类型
for(let i=0;i<3;i++){ for(let i=0;i<3;i++){
let text = '所有模版' let text = '所有模版'
......
...@@ -233,8 +233,8 @@ const { ...@@ -233,8 +233,8 @@ const {
} = storeToRefs(useUserStore()) } = storeToRefs(useUserStore())
const router = useRouter(); const router = useRouter();
const lines = ref([] as Array < any > ) //线路 const lines = ref([] as Array < any > ) //线路
const countriesOther = ref(['日本', '韩国', '老挝', '法国', '意大利'] as Array < any > ) //国家 const countriesOther = ref([] as Array < any > ) //国家
const countries = ref(['日本', '韩国', '老挝', '法国', '意大利'] as Array < any > ) //国家 const countries = ref([] as Array < any > ) //国家
const colorArrOther = ref([] as Array < any > ); //颜色 const colorArrOther = ref([] as Array < any > ); //颜色
const colorArr = ref([] as Array < any > ); //颜色 const colorArr = ref([] as Array < any > ); //颜色
const seasonArr = ref([] as Array < any > ); //季节 const seasonArr = ref([] as Array < any > ); //季节
......
...@@ -683,7 +683,7 @@ onMounted(()=>{ ...@@ -683,7 +683,7 @@ onMounted(()=>{
}) })
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
@font-face { @font-face {
font-family: "aliMarketfont"; font-family: "aliMarketfont";
font-weight: 400; font-weight: 400;
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
:close-on-click-modal="false" style="width: 373px;" :close-on-click-modal="false" style="width: 373px;"
class="small-padding" @close="close"> class="small-padding" @close="close">
<template #header> <template #header>
<div class="text-title text-center fz16 PingFangSC">{{datas.params.ID?'编辑':'新增'}}颜色</div> <div class="text-title text-center fz16 PingFangSC">{{datas.params.ID?'编辑':'新增'}}颜色{{datas.type==2?'分类':''}}</div>
</template> </template>
<div class="addTemplateBox q-mb-lg fz14"> <div class="addTemplateBox q-mb-lg fz14">
<div v-if="datas.type==1" class="addTemplateInput q-mt-xs q-mb-lg row items-center"> <div v-if="datas.type==1" class="addTemplateInput q-mt-xs q-mb-lg row items-center">
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<IconClose size="0.83vw"></IconClose> <IconClose size="0.83vw"></IconClose>
</div> </div>
<div class="tabs-version-box row"> <div class="tabs-version-box row">
<div class="item col" :class="{'active':activeVersion==1}" @click="changeVersionHandler(1)" v-if="showPerson">个人版</div> <div class="item col magrig" :class="{'active':activeVersion==1}" @click="changeVersionHandler(1)" v-if="showPerson">个人版</div>
<div class="item col" :class="{'active':activeVersion==2}" @click="changeVersionHandler(2)" v-if="showEnterprise">企业版</div> <div class="item col" :class="{'active':activeVersion==2}" @click="changeVersionHandler(2)" v-if="showEnterprise">企业版</div>
</div> </div>
<div class="pre-order row"> <div class="pre-order row">
...@@ -301,7 +301,7 @@ getProduct() ...@@ -301,7 +301,7 @@ getProduct()
left: 0; left: 0;
right: 0; right: 0;
} }
.pre-order-box .tabs-version-box .item:first-child{ .pre-order-box .tabs-version-box .item.magrig{
margin-right: 1.04vw; margin-right: 1.04vw;
} }
.pre-order-box .tabs-version-box .item{ .pre-order-box .tabs-version-box .item{
......
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