Commit 2acf81a6 authored by 刘用法's avatar 刘用法

输入框

parent 1567f586
......@@ -27,9 +27,12 @@
},
computed: {
type() {
if (this.item && this.item.fieldsType == 'password' || this.item.fieldsType == 'textarea') {
let ty = this.item.fieldsType.toLocaleLowerCase()
if (this.item && ty == 'password') {
return this.item.fieldsType
} else {
}else if (this.item && ty == 'text') {
return 'textarea'
}else {
return 'text'
}
},
......
......@@ -416,6 +416,8 @@
type = type.toLocaleLowerCase()
switch (type) {
case 'text':
formType = 'input'
break
case 'password':
case 'textarea':
case 'number':
......
......@@ -119,15 +119,17 @@
<view v-if="showCenterBtn" @click="handleBtn" class="button" :class="['center-button-view', btnClass]">
<text>{{ centerButtonText }}</text>
<view v-if="order.currentOverTime > 0" class="time-view">
<text>{{order.currentOverTime * 1000 > new Date().getTime()?'剩':'超'}}</text>
<text style="margin-right: 8rpx;">{{order.currentOverTime * 1000 > new Date().getTime()?'剩':'超'}}</text>
<u-count-down
:timestamp="timestampDiff(order.currentOverTime)"
:timestamp="3600 * 100 || timestampDiff(order.currentOverTime)"
font-size="20"
color="#FFFFFF"
bg-color="transparent"
separator-color="#FFFFFF"
separator-size="20"
:ref="'uCountDown'"
height="20"
:show-days="false"
@change="timeOutChange(order.currentOverTime)" >
</u-count-down>
</view>
......
src/static/tab/xuexi-0@3x.png

3.75 KB | W: | H:

src/static/tab/xuexi-0@3x.png

2.6 KB | W: | H:

src/static/tab/xuexi-0@3x.png
src/static/tab/xuexi-0@3x.png
src/static/tab/xuexi-0@3x.png
src/static/tab/xuexi-0@3x.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment