Authored by 李靖

修改背景

1 <div class="bg-pic"> 1 <div class="bg-pic">
2 - <div class="pic" style="background-image:url(http://img13.static.yhbimg.com/article/2017/08/01/10/023529d91b6af3acac1407d42ac23134fb.png)"> 2 + <div class="pic {{#if coffee}}coffee{{/if}} {{#if photography}}photography{{/if}} {{#if green}}green{{/if}}">
3 <div class="cover"></div> 3 <div class="cover"></div>
4 </div> 4 </div>
5 <div class="base-info"> 5 <div class="base-info">
1 require('activity/store-home.page.css'); 1 require('activity/store-home.page.css');
  2 +
  3 +const Photography = require('./store-home/index');
  4 +
  5 +new Photography();
1 require('activity/store-home.page.css'); 1 require('activity/store-home.page.css');
  2 +
  3 +const Photography = require('./store-home/index');
  4 +
  5 +new Photography();
@@ -141,6 +141,18 @@ input::-webkit-calendar-picker-indicator { @@ -141,6 +141,18 @@ input::-webkit-calendar-picker-indicator {
141 background-color: #000; 141 background-color: #000;
142 opacity: 0.6; 142 opacity: 0.6;
143 } 143 }
  144 +
  145 + &.photography {
  146 + background-image: resolve("activity/store-home/photography-bg.jpg");
  147 + }
  148 +
  149 + &.green {
  150 + background-image: resolve("activity/store-home/green-bg.jpg");
  151 + }
  152 +
  153 + &.coffee {
  154 + background-image: resolve("activity/store-home/coffee-bg.jpg");
  155 + }
144 } 156 }
145 157
146 .base-info { 158 .base-info {
@@ -6,6 +6,14 @@ @@ -6,6 +6,14 @@
6 background-color: #fff; 6 background-color: #fff;
7 border-bottom: 1px solid #e0e0e0; 7 border-bottom: 1px solid #e0e0e0;
8 8
  9 + input::-webkit-clear-button {
  10 + display: none;
  11 + }
  12 +
  13 + input::-webkit-calendar-picker-indicator {
  14 + display: none;
  15 + }
  16 +
9 ul { 17 ul {
10 width: 95%; 18 width: 95%;
11 height: auto; 19 height: auto;