<!-- 轮播 -->
<view class="banner">
    <swiper class="swiperCont" indicator-color="rgba(255,255,255,.5)" indicator-active-color="#fff" autoplay="true">
        <swiper-item data-index="{{index}}" data-imgs="{{mallData.pictures}}" bindtap="opneBanner" wx:for="{{mallData.pictures}}" wx:key="arr">
            <image class="swiperImg" src="{{item}}" mode="aspectFill"></image>
        </swiper-item>
    </swiper>

    <!-- 用户 -->
    <view class="user-cont" wx:if="{{userLogin}}">
        <view class="user-head">
            <image class="user-avatar" src="{{avatar || '/static/imgs/default_myHead.png'}}" mode="aspectFill"></image>
            <image wx:if="{{identity.order != '1'}}" class="user-ancrown" src="http://api.siyuankunlun.com/storage/materials/2022/09/14/ancrown.png" mode=""></image>
        </view>
        <view class="user-text">
            <view class="user-top">
                <view class="user-name">
                    {{nickName}}
                </view>
                <view class="user-icon">
                    <image wx:if="{{userData.is_partner}}" src="/static/icons/userIcon_01.png" mode="widthFix"></image>
                </view>
            </view>
            <image wx:if="{{identity.order == '1'}}" class="user-identity" src="/static/icons/member_01.png" mode="widthFix"></image>
            <image wx:elif="{{identity.order == '2'}}" class="user-identity" src="/static/icons/member_02.png" mode="widthFix"></image>
            <image wx:elif="{{identity.order == '3'}}" class="user-identity" src="/static/icons/member_03.png" mode="widthFix"></image>
            <image wx:elif="{{identity.order == '4'}}" class="user-identity" src="/static/icons/member_04.png" mode="widthFix"></image>
            <image wx:elif="{{identity.order == '5'}}" class="user-identity" src="/static/icons/member_05.png" mode="widthFix"></image>
            <image wx:else src="/static/icons/member_06.png" class="user-identity" mode="widthFix"></image>
        </view>
        <view class="water">
            <image src="/static/icons/waterDrop.png"></image>{{surplus}}
        </view>
    </view>
</view>

<!-- 商品信息 -->
<view class="goodsInfo">
    <view class="goodsInfo-name">
        {{mallData.name}}
    </view>
    <!-- <view class="goodsInfo-info">
        <view class="goodsInfo-price">
            <view class="goodsInfo-price-symbol">￥</view>{{mallData.price.show}}
        </view>
    </view> -->
</view>

<!-- 产品详情 -->
<view class="detailsBrief">
    <view class="detailsBrief-title">
        产品详情
    </view>
    <view class="detailsBrief-img">
        <!-- <view class="detailsBrief-text">{{mallData.description}}</view> -->
        <!-- <view class="detailsBrief-back" wx:if="{{mallData.content.length > 0}}">
            <image src="{{item}}" data-index="{{index}}" data-imgs="{{mallData.content}}" bindtap="opneImg" mode="widthFix" wx:for="{{mallData.content}}" wx:key="content"></image>
        </view> -->
        <view class="detailsBrief-back">
            <rich-text nodes="{{mallContent}}"></rich-text>
        </view>
    </view>
    <view class="goods-info-footer {{barHeight > 30 ? 'iphoneX':''}}">已经到底拉，在往上逛一逛吧</view>
</view>

<!-- <view class="footer">
    <view class="number">需<text>{{mallData.price.show}}</text>水滴</view>  之前就是隐藏的
    <view class="number">￥<text>{{mallData.price.show}}</text></view>
    <view bindtap="buyTap" class="btn">立即购买</view>
</view> -->