Feat:寻趣味细节调整

This commit is contained in:
linxi
2024-09-18 18:11:39 +08:00
parent 305c965cc1
commit 6b408c41d3
+28 -10
View File
@@ -1,7 +1,14 @@
<template> <template>
<view class="have-fun tabbar-page"> <view class="have-fun tabbar-page">
<view class="top-box"> <view class="top-box">
<view class="search-box flex jc-between ai-center"> <view class="v12-justify-start v12-align-center">
<view class="flex jc-end">
<view class="city-box" @click="goCity('cloud')">
<text style="white-space:nowrap; width: 100rpx" class="v12-primary-text one-t">{{ cityName }}</text>
<image :src="webUrl+'/orderIcon/map.png'" mode="scaleToFill"></image>
</view>
</view>
<view class="search-box v12-primary-border flex jc-between ai-center">
<input <input
v-model="name" v-model="name"
type="text" type="text"
@@ -9,13 +16,16 @@
placeholder-style="color:#949494" placeholder-style="color:#949494"
@confirm="search" @confirm="search"
> >
<view class="search-btn v12-primary v12-white-text v12-radius-60" @click="search">
<text class="v12-font-bold">搜索</text>
<image <image
class="icon" class="icon v12-ml-1"
:src="webUrl+'/20220903142935869059.png'" :src="webUrl+'/orderIcon/搜索 (1).png'"
mode="scaleToFill" mode="scaleToFill"
@click="search"
/> />
</view> </view>
</view>
</view>
<scroll-view class="type-box flex" scroll-x enable-flex> <scroll-view class="type-box flex" scroll-x enable-flex>
<view <view
v-for="(item, index) in typeList" v-for="(item, index) in typeList"
@@ -62,11 +72,8 @@
</view> </view>
</view> </view>
<view class="body"> <view class="body">
<view class="flex jc-end"> <view>
<view class="city-box" @click="goCity('cloud')"> <text class="v12-font-bold" v-if="currType.carousel">推荐</text>
<image :src="webUrl+'/20220903142929759087.png'" mode="scaleToFill"></image>
<text>{{ cityName }}</text>
</view>
</view> </view>
<view v-if="isLoad"> <view v-if="isLoad">
<view v-if="hotelList.length > 0"> <view v-if="hotelList.length > 0">
@@ -235,6 +242,16 @@ export default {
} }
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.search-btn{
position: absolute;
top: 2rpx;
bottom: 2rpx;
right: 2rpx;
padding: 0rpx 20rpx;
display: flex;
align-items: center;
font-size: 28rpx;
}
.have-fun { .have-fun {
//padding-top: 120rpx; //padding-top: 120rpx;
@@ -243,7 +260,8 @@ export default {
background: #fff; background: #fff;
.search-box { .search-box {
width: 686rpx; position: relative;
width: 575rpx;
height: 60rpx; height: 60rpx;
box-sizing: border-box; box-sizing: border-box;
margin: 0 auto; margin: 0 auto;