聚合物1.0纸张输入非常奇怪的造型问题

时间:2015-09-15 10:24:24

标签: polymer

我有一个页面:

<!doctype html>
<html>
<head>
    <script src='bower_components/webcomponentsjs/webcomponents.min.js'></script>
    <link rel='import' href='bower_components/polymer/polymer.html'/>
    <link rel='import' href='bower_components/paper-item/paper-item.html'>
    <link rel='import' href='bower_components/paper-input/paper-input.html'>
    <link rel='import' href='bower_components/paper-styles/paper-styles.html'>
</head>
<body>
    <dom-module id='base-page'>
        <template>
            <div style='width:400px'>
                <paper-input label='A' value='A'></paper-input> 
                <paper-input label='B' value='B'></paper-input> 
                <paper-input label='C' value='C'></paper-input>
                <paper-input label='D' value='D'></paper-input> 
                <paper-input label='E' value='E'></paper-input>
            </div>
        </template>
    </dom-module>
    <script>
        Polymer({
            is: 'base-page'
        });
    </script>
    <base-page></base-page>
</body>

这里奇怪的是,第四个纸张输入的样式不同,因为在输入数据的区域下没有初始行。为什么会这样?

干杯

0 个答案:

没有答案