123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <template>
- <view class="content">
- <view class="top">
- <view class="inputBox">
- <img src="../../static/img/icon_search.png" alt="" class="searchImg">
- <input v-model="vin" type="text" placeholder="请输入17位车架号查询" class="topInput" @confirm="inputconfirm">
- <image src="../../static/img/icon_camera.png" mode="" class="cameraImg"></image>
- </view>
- </view>
- <view class="history">
- <view class="historyTop">
- <view class="historyTopTxt">历史搜索</view>
- <image src="../../static/img/icon_delete.png" mode="" class="historyDelImg"></image>
- </view>
- <view v-for="(item,index) in 3" class="historyLIneBox">
- <view class="historyLIne" @click="gogroup">LF0HGCT23F0026063</view>
- </view>
-
-
-
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- vin: ''
- }
- },
- onLoad() {
-
- },
- methods: {
- inputconfirm(){
- console.log(this.vin)
- this.gogroup()
- },
- gogroup(){
- uni.navigateTo({
- url:'group?vin='+this.vin
- })
- }
- }
- }
- </script>
- <style scoped>
- .top{
- height: 96rpx;
- border-bottom: 1px solid #EEEEEE;
- padding-top: 24rpx;
- }
- .searchImg{
- width: 40rpx;
- height: 40rpx;
- margin-top: 16rpx;
- margin-left: 20rpx;
- }
- .inputBox{
- width: 702rpx;
- height: 72rpx;
- background: #F4F5F7;
- border-radius: 36rpx;
- margin-left: 24rpx;
- display:flex;
- position: relative;
- }
- .topInput{
- font-size: 28rpx;
- height: 72rpx;
- line-height: 72rpx;
- padding-left: 16rpx;
- width: 500rpx;
- }
- .cameraImg{
- position: absolute;
- width: 40rpx;
- height: 40rpx;
- top: 16rpx;
- right: 20rpx;
- }
- .history{
- padding: 24rpx;
- }
- .historyTop{
- display: flex;
- justify-content: space-between;
- }
- .historyDelImg{
- width: 34rpx;height: 34rpx;
- }
- .historyTopTxt{
- font-size: 28rpx;
- font-weight: 400;
- color: #666666;
- line-height: 34rpx;
- }
- .historyLIne{
- color: #333333;font-size: 24rpx;
- height: 64rpx;
- background: #F4F5F7;
- border-radius: 32rpx;
- line-height: 64rpx;
- padding: 0 24rpx;
- margin-top: 20rpx;
- }
- .historyLIneBox{
- display: flex;
- }
- </style>
|