Skip to content

Commit

Permalink
feat(style): 添加分隔线背景
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoyinglong committed Apr 11, 2018
1 parent 2e3b627 commit 72759dc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
23 changes: 13 additions & 10 deletions src/config/layout.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
require('core-js/fn/array/fill')
const input = new Array(8).fill(undefined).map((item, index) => `<span data-index='${index}'></span>`)
const inputbox = `
<div>
<div id='inputboxWrapper' class="container-top">
<div class='container-info'>宝立方创意产业园(地库)</div>
<div class="container-input">
${input.join('')}
</div>
<div class="container-save-button">
<span id="btnSave" class="btnbind">{{btnSaveText}}</span>
</div>
<div class="container-switch-button">
&nbsp;&nbsp;{{switchText}}
</div>
<div class='container-info'>宝立方创意产业园(地库)</div>
<div class="container-input">
${input.join('')}
</div>
<div class="container-save-button">
<span id="btnSave" class="btnbind">{{btnSaveText}}</span>
</div>
<div class="container-switch-button">
&nbsp;&nbsp;{{switchText}}
</div>
</div>
<span class='bar_bindcarnum'></span>
</div>
`

const keyboard = [
Expand Down
7 changes: 7 additions & 0 deletions src/stylus/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ inputSpanBorderColor = rgb(175, 175, 175)
background-repeat no-repeat
background-size cover

.bar_bindcarnum
display block
width 100%
height 3px
background-image url('../img/bar_bindcarnum.png')
background-repeat repeat-x

#keyboardWrapper
stackyfooters()
background-color #e0e0e0
Expand Down

0 comments on commit 72759dc

Please sign in to comment.