You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
2.3 KiB
40 lines
2.3 KiB
<view class="view-page">
|
|
<view class="navigation nav-top" style="background: #006BFF;">
|
|
<!-- 手机状态栏的高度 -->
|
|
<view style="height:{{statusBarHeight}}px;width: 100%;"></view>
|
|
<view class="bs-top-title" style="height: {{navBarHeight}}px;width: 100%;">
|
|
<van-icon class="bs-top-title-ic" name="arrow-left" bindtap="handlerBack" />
|
|
<text>硕为思汽车智能洞察</text>
|
|
</view>
|
|
<view class="bs-top">
|
|
<van-search style="width: 100%;" background="#006BFF" value="{{ value }}" placeholder="请输入品牌" bind:search="handlerSearch" />
|
|
</view>
|
|
<view class="bs-tabs">
|
|
<scroll-view class="bs-tab-sv" scroll-x="true" enable-flex="true">
|
|
<view class="bs-tab-sv-item" wx:for="{{navData}}" data-row="{{item}}" wx:key="index" bindtap="handlerChoose">
|
|
<image class="userAvatar" src="{{item.img}}" lazy-load="{{true}}" />
|
|
<view class="bs-tab-title">{{item.brandname}}</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
<view class="bs-block" style="height: {{heightTop}}px;"></view>
|
|
<van-index-bar class="bs-bar" sticky-offset-top="{{heightTop}}">
|
|
<view wx:for="{{mockData}}" wx:key="idx">
|
|
<van-index-anchor index="{{item.name}}" />
|
|
<view class="bs-item" wx:for="{{item.data}}" wx:key="idx" wx:for-item="item2" data-row="{{item2}}" bindtap="handlerChoose1">
|
|
<image slot="icon" class="bs-item-image" src="{{item2.img}}" lazy-load="{{true}}" />
|
|
<text>{{item2.brandname}}</text>
|
|
</view>
|
|
</view>
|
|
</van-index-bar>
|
|
<van-popup z-index="2000" show="{{showPop}}" custom-style="height: calc(100% - {{heightTop}}px);width: 68%; top: {{heightTop*2+55}}px;" position="right" bind:close="handlerCloseDialog">
|
|
<van-radio-group value="{{ model }}" bind:change="onChange">
|
|
<van-cell-group>
|
|
<van-cell wx:for="{{ series }}" wx:key="index" title="{{ item.name }}" clickable data-name="{{item.name}}" bind:click="onClick">
|
|
<van-radio slot="right-icon" name="{{item.name}}" />
|
|
</van-cell>
|
|
</van-cell-group>
|
|
</van-radio-group>
|
|
</van-popup>
|
|
</view> |