优化填写地址时可以自动换行
This commit is contained in:
parent
a097fd6423
commit
23cdf42721
|
|
@ -57,11 +57,11 @@
|
||||||
<!-- 详细位置 -->
|
<!-- 详细位置 -->
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<text class="field-label">详细位置</text>
|
<text class="field-label">详细位置</text>
|
||||||
<input
|
<textarea
|
||||||
v-model="formData.detailed"
|
v-model="formData.detailed"
|
||||||
class="field-input"
|
auto-height
|
||||||
|
class="field-textarea"
|
||||||
placeholder="例:6栋201室"
|
placeholder="例:6栋201室"
|
||||||
@input="onDetailAddressInput"
|
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
@ -466,17 +466,6 @@ export default {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 页面跳转现在由系统tabBar处理
|
|
||||||
goToHome() {
|
|
||||||
uni.switchTab({
|
|
||||||
url: '/pages/index/index',
|
|
||||||
})
|
|
||||||
},
|
|
||||||
goToProfile() {
|
|
||||||
uni.switchTab({
|
|
||||||
url: '/pages/profile/profile',
|
|
||||||
})
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -563,7 +552,7 @@ export default {
|
||||||
.field-input {
|
.field-input {
|
||||||
//border: 2rpx solid #d81313;
|
//border: 2rpx solid #d81313;
|
||||||
flex: 3;
|
flex: 3;
|
||||||
height: 80rpx;
|
min-height: 80rpx;
|
||||||
padding: 0 20rpx;
|
padding: 0 20rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
|
|
||||||
|
|
@ -572,6 +561,14 @@ export default {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.field-textarea {
|
||||||
|
//border: 2rpx solid #d81313;
|
||||||
|
flex: 3;
|
||||||
|
min-height: 28rpx;
|
||||||
|
padding: 26rpx 20rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user