提交 e70abf69 编写于 作者: H hdx

text: rpx to px

上级 8213d6cc
......@@ -9,12 +9,7 @@
<button class="uni-btn" type="primary" :disabled="!canAdd" @click="add">
add line
</button>
<button
class="uni-btn"
type="warn"
:disabled="!canRemove"
@click="remove"
>
<button class="uni-btn" type="warn" :disabled="!canRemove" @click="remove">
remove line
</button>
<button class="uni-btn" type="primary" @click="textProps">
......@@ -24,8 +19,9 @@
</view>
</view>
</template>
<script lang="uts">
export default {
<script>
export default {
data() {
return {
title: 'text',
......@@ -71,24 +67,24 @@ export default {
})
}
}
}
}
</script>
<style>
.text-box {
margin-bottom: 40rpx;
padding: 40rpx 0;
.text-box {
margin-bottom: 20px;
padding: 20px 0;
display: flex;
min-height: 300rpx;
min-height: 150px;
background-color: #ffffff;
justify-content: center;
align-items: center;
}
}
.text {
font-size: 30rpx;
.text {
font-size: 15px;
color: #353535;
line-height: 54rpx;
line-height: 27px;
text-align: center;
}
}
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册