123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <template>
- <view class="">
- <view class="header">
- <view class="city Medium">
- <text class="select-city">营口市</text>
- <u-icon name="arrow-down"></u-icon>
- </view>
- <u-search input-align="left" :show-action="false" height="70" placeholder="请输入位置信息"></u-search>
- </view>
- <view class="header2">
- <view class="header2-tip Regular">
- 当前定位
- </view>
- <view class="header2-content">
- <view class="left Medium">
- <u-icon name="arrow-down"></u-icon>
- <view class="">山海广场</view>
- </view>
- <view class="reposition Regular">重新定位</view>
- </view>
- </view>
- <view class="position-list Regular">
- <view class="list-item">
- <view class="row row1">
- <view>
- 山海广场
- </view>
- <view>4.2千米</view>
- </view>
- <view class="row row2">
- 山海广场
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- components: {},
- data() {
- return {}
- },
- methods: {}
- }
- </script>
- <style lang="scss" scoped>
- /deep/.u-content {
- padding-left: 170rpx;
- }
- .header {
- position: relative;
- display: flex;
- background: white;
- padding: 20rpx;
- .city {
- top: 0;
- bottom: 0;
- left: 50rpx;
- margin: auto;
- position: absolute;
- display: flex;
- align-items: center;
- .select-city {
- margin-right: 4rpx;
- }
- }
- }
- .header2 {
- background: white;
- border-radius: 0 0 20rpx 20rpx;
- padding: 0 20rpx 34rpx 20rpx;
- .header2-tip {
- font-size: 28rpx;
- color: #AFB3BF;
- }
- .header2-content {
- font-size: 32rpx;
- color: #333333;
- display: flex;
- justify-content: space-between;
- margin-top: 12rpx;
- .left {
- display: flex;
- }
- .reposition {
- font-size: 28rpx;
- color: #22C572;
- }
- }
- }
- .position-list{
- background: pink;
- border-radius: 20rpx;
-
-
- }
- </style>
|