This commit is contained in:
2020-01-14 15:25:22 +08:00
parent 5f652d6183
commit 67682de4c7
13 changed files with 143 additions and 49 deletions

View File

@@ -4,8 +4,8 @@ Component({
* 组件的属性列表
*/
properties: {
title:String,
placeholder:String
title: String,
placeholder: String
},
/**
@@ -19,6 +19,8 @@ Component({
* 组件的方法列表
*/
methods: {
input(a) {
this.triggerEvent("input",{value:a.detail.value})
}
}
})

View File

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

View File

@@ -29,6 +29,7 @@ Component({
this.setData({
date: e.detail.value
})
this.triggerEvent("input",{date:e.detail.value})
},
getCurTime() {
var date = new Date();

View File

@@ -6,7 +6,8 @@ Component({
number:String,
time:String,
text:String,
goods:Array
goods:Array,
ziti:String
},
data: {
},

View File

@@ -15,7 +15,7 @@
</view>
<view class="message">
<text>配送方式</text>
<text>快递 </text>
<text>{{ziti == 1?"自提":"快递"}} </text>
</view>
<view class="leave">
<text>备注:</text>