<!--pages/resitor_scence/resitor_scence.wxml-->
<view class="page">
    <!-- 左上角标题 -->
    <view style="margin-top: {{statusBarCont.StatusBar}}px; height: {{statusBarCont.CustomBar-statusBarCont.StatusBar}}px; line-height: {{statusBarCont.CustomBar-statusBarCont.StatusBar}}px; padding-left: 14px">
        <!-- <text class="title">杭州壹芯</text> -->
        <!-- <image class="logo2" style="top: {{statusBarCont.CustomBar+20}}px" src="../../static/logo/logo2.png"></image> -->
    </view>
    <!-- 企业信息录入 -->
    <!-- <view class="btn-area">
        <button hover-class="click" bindtap="informationInput">{{international.Enterprise_information[language]}}</button>
        <van-icon class="tip2" name="question-o" bindtap="showTip" data-type="company_tip" />
    </view> -->
    <!-- logo -->
    <view class="logo-area {{adminInfo.adminId?'':'margintop120'}}">
        <image src="../../static/home/logo.svg"></image>
    </view>
    <!-- 内外宾选择区 -->
    <view>
        <!--  slot="value" name="type" -->
        <van-radio-group class="radio-group" value="{{ type }}" direction="horizontal" bind:change="changeRadio">
            <van-radio name="1" label-class="text-white" checked-color="#4AA39E" custom-class="padding-sm">{{international.Female_guests[language]}}</van-radio>
            <van-radio name="2" label-class="text-white" checked-color="#4AA39E" custom-class="padding-sm">{{international.foreign_guests[language]}}</van-radio>
        </van-radio-group>
    </view>
    <view class="home-header-img">
        <image class="" src="http://hanghui.oss-cn-gz-ysgzlt-d01-a.ltops.gzdata.com.cn/photo/20221130/242152d9faf04b7081b58e093d21fc54.jpg" alt="" />
    </view>
    <!-- 常访客按钮区 -->
    <view class="component-list">
        <view class="component-item">
            <image src="../../static/home/visitor.png" bindtap="visitors"></image>
            <van-icon class="tip" name="question-o" bindtap="showTip" data-type="appointment" />
        </view>
        <view class="component-item">
            <image src="../../static/home/regular.png" bindtap="regular"></image>
            <van-icon class="tip" name="question-o" bindtap="showTip" data-type="regular_tip" />
        </view>
    </view>
    <!-- 功能区 -->
    <view class="component-area height370">
        <view class="component" wx:for="{{component_list}}" data-id="{{item.id}}" wx:key="id" bindtap="goto">
            <image src="{{item.icon}}"></image>
            <text>{{language=='ch'?item.name_ch:item.name_en}}</text>
        </view>
    </view>
</view>