Commit f9128634 by 前端

样式

1 parent 0001b558
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<input <input
type="text" type="text"
class="input" class="input"
:value="name" v-model="name"
maxlength="50" maxlength="50"
@blur="input($event)" @blur="input($event)"
@focus="focus" @focus="focus"
...@@ -115,8 +115,10 @@ export default { ...@@ -115,8 +115,10 @@ export default {
}, },
init() { init() {
this.name = ''; this.name = '';
this.isSearch = false setTimeout(() => {
this.list = this.views this.isSearch = false
this.list = this.views
}, 300);
}, },
handleClear() { handleClear() {
this.init() this.init()
......
...@@ -469,14 +469,14 @@ export default { ...@@ -469,14 +469,14 @@ export default {
padding-left: 30rpx; padding-left: 30rpx;
&:first-child { &:first-child {
width: 60%; width: 60%;
border-radius: 10rpx 0rpx 0rpx 10rpx; border-radius: 16rpx 0rpx 0rpx 16rpx;
} }
&:nth-child(2) { &:nth-child(2) {
width: 20%; width: 20%;
} }
&:nth-child(3) { &:nth-child(3) {
width: 20%; width: 20%;
border-radius: 0rpx 10rpx 10rpx 0rpx; border-radius: 0rpx 16rpx 16rpx 0rpx;
} }
} }
} }
...@@ -488,6 +488,8 @@ export default { ...@@ -488,6 +488,8 @@ export default {
.tabel-box { .tabel-box {
margin-top: 20rpx; margin-top: 20rpx;
width: 100%; width: 100%;
border-radius: 16rpx;
overflow: hidden;
tr { tr {
border: 1rpx solid #fff; border: 1rpx solid #fff;
border-radius: 16rpx; border-radius: 16rpx;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<input <input
type="text" type="text"
class="input" class="input"
:value="customerNameOrPhone" v-model="customerNameOrPhone"
maxlength="11" maxlength="11"
@blur="input($event)" @blur="input($event)"
@focus="focus" @focus="focus"
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
size="20" size="20"
></uni-icons> ></uni-icons>
</view> </view>
<scroll-view <scroll-view
class="record-box" class="record-box"
scroll-y scroll-y
...@@ -121,10 +120,14 @@ export default { ...@@ -121,10 +120,14 @@ export default {
methods: { methods: {
init () { init () {
this.customerNameOrPhone = ''; this.customerNameOrPhone = '';
this.isSearch = false console.log('init')
this.pageNum = 1 setTimeout(()=>{
this.flag = false this.isSearch = false
this.getRecordList() this.pageNum = 1
this.flag = false
this.getRecordList()
},300)
}, },
//已预约的并且预约时间小于当前时间的,显示超时未到店,否则显示已预约 //已预约的并且预约时间小于当前时间的,显示超时未到店,否则显示已预约
formatInvite (val) { formatInvite (val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!