半完成

This commit is contained in:
2020-01-11 17:37:29 +08:00
parent 8e623028c4
commit 73d560e0c6
14 changed files with 158 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
// components/orderconfirm/orderyf/orderyf.js
Component({
/**
* 组件的属性列表
*/
properties: {
title:String,
placeholder:String
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
}
})

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1,21 @@
.orderyf {
width: 690rpx;
height: 96rpx;
line-height: 96rpx;
display: flex;
border-bottom: 2rpx solid #EAEAEA;
margin: 0 auto;
justify-content: space-between;
font-size: 28rpx;
align-items: center;
.left {
margin-left: 31rpx
}
.right {
margin-right: 20rpx;
width: 450rpx;
height: 35rpx;
font-size: 25rpx;
text-align: right;
}
}

View File

@@ -0,0 +1,4 @@
<view class="orderyf">
<view class="left">{{title}}</view>
<input class="right" placeholder="{{placeholder}}"></input>
</view>

View File

@@ -0,0 +1 @@
.orderyf{width:690rpx;height:96rpx;line-height:96rpx;display:flex;border-bottom:2rpx solid #EAEAEA;margin:0 auto;justify-content:space-between;font-size:28rpx;align-items:center}.orderyf .left{margin-left:31rpx}.orderyf .right{margin-right:20rpx;width:450rpx;height:35rpx;font-size:25rpx;text-align:right}