|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<view class="content" :style="{paddingTop: content_paddingTop + 'px'}">
|
|
|
+ <view class="content__bg-color"></view>
|
|
|
<view class="content__container" v-for="(item,index) in data_list" :key="index">
|
|
|
<templateSearch v-if="item.template_type==config.template_stype.SEARCH" ></templateSearch>
|
|
|
<templateBanner v-if="item.template_type==config.template_stype.BANNER" :templateData='item' @clickBook='clickBook'></templateBanner>
|
|
@@ -73,7 +74,7 @@
|
|
|
|
|
|
<style>
|
|
|
page {
|
|
|
- background-image: linear-gradient(to bottom, #fcd9e0, #ffffff);
|
|
|
+ /* background-image: linear-gradient(to bottom, #fcd9e0, #ffffff); */
|
|
|
}
|
|
|
</style>
|
|
|
|
|
@@ -83,9 +84,18 @@
|
|
|
flex-direction: column;
|
|
|
width: 100%;
|
|
|
|
|
|
+ &__bg-color {
|
|
|
+ position: fixed;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ background-image: linear-gradient(to bottom, #fcd9e0, #ffffff);
|
|
|
+ }
|
|
|
&__container{
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
+ z-index: 10;
|
|
|
}
|
|
|
}
|
|
|
</style>
|