完善
This commit is contained in:
@@ -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})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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>
|
||||
@@ -29,6 +29,7 @@ Component({
|
||||
this.setData({
|
||||
date: e.detail.value
|
||||
})
|
||||
this.triggerEvent("input",{date:e.detail.value})
|
||||
},
|
||||
getCurTime() {
|
||||
var date = new Date();
|
||||
|
||||
@@ -6,7 +6,8 @@ Component({
|
||||
number:String,
|
||||
time:String,
|
||||
text:String,
|
||||
goods:Array
|
||||
goods:Array,
|
||||
ziti:String
|
||||
},
|
||||
data: {
|
||||
},
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</view>
|
||||
<view class="message">
|
||||
<text>配送方式</text>
|
||||
<text>快递 </text>
|
||||
<text>{{ziti == 1?"自提":"快递"}} </text>
|
||||
</view>
|
||||
<view class="leave">
|
||||
<text>备注:</text>
|
||||
|
||||
Reference in New Issue
Block a user