<view class="codeTitle">
    <image src="/static/img/userGoods_title.png" mode="widthFix"></image>
</view>

<view class="shareCont">
    <!-- 提示 -->
    <view class="indexNews">
        <image src="/static/icon/news_icon.png"></image>
        <view class="marquee_container" style="--marqueeWidth--:-30em">
            <view class="marquee_text {{ noticeText.length > 20 ? 'active' : ''}}">{{noticeText}}</view>
        </view>
    </view>

    <!-- 列表 -->
    <view class="goods" wx:if="{{goodsArr.length > 0}}">
        <view class='goodsList-half'>
            <navigator hover-class="none" url="/pages/userGoods/goodsDet/goodsDet?rightid={{item.right_config_id}}"
                class="goodsList" wx:for="{{goodsArr}}" wx:key="goodsArr" wx:if="{{index%2 == 0}}">
                <view class="goodsList-img">
                    <image src="{{item.cover}}" mode="aspectFill"></image>
                </view>
                <view class="goodsList-cont">
                    <view class="nowrap goodsList-name">[ {{item.title}} ]{{item.share.type_name}}</view>
                    <view class="goodsList-text">{{item.share.sub_title}}</view>
                    <view class="goodsList-label"><text wx:for="{{item.share.label}}" wx:for-item="items"
                            wx:key="label">{{items}}</text></view>
                    <view class="goodsList-tips"><text>追加激励￥{{item.profit.stimulate}}</text></view>
                    <view class="goodsList-price">
                        <view class="goodsList-price-number">￥{{item.price}}<text>￥{{item.share.cost}}</text></view>
                        <view class="goodsList-price-btn">
                            <image src="/static/img/userGoods_icon.png"></image><text>返￥</text>{{item.profit.value}}
                        </view>
                    </view>
                </view>
            </navigator>
        </view>
        <view class='goodsList-half'>
            <navigator hover-class="none" url="/pages/userGoods/goodsDet/goodsDet?rightid={{item.right_config_id}}"
                class="goodsList" wx:for="{{goodsArr}}" wx:key="goodsArr" wx:if="{{index%2 != 0}}">
                <view class="goodsList-img">
                    <image src="{{item.cover}}" mode="aspectFill"></image>
                </view>
                <view class="goodsList-cont">
                    <view class="nowrap goodsList-name">[ {{item.title}} ]{{item.share.type_name}}</view>
                    <view class="goodsList-text">{{item.share.sub_title}}</view>
                    <view class="goodsList-label"><text wx:for="{{item.share.label}}" wx:for-item="items"
                            wx:key="label">{{items}}</text></view>
                    <view class="goodsList-tips"><text>追加激励￥{{item.profit.stimulate}}</text></view>
                    <view class="goodsList-price">
                        <view class="goodsList-price-number">￥{{item.price}}<text>￥{{item.share.cost}}</text></view>
                        <view class="goodsList-price-btn">
                            <image src="/static/img/userGoods_icon.png"></image><text>返￥</text>{{item.profit.value}}
                        </view>
                    </view>
                </view>
            </navigator>
        </view>
        <view class="pagesLoding" wx:if="{{lodingStats}}">
            <block wx:if="{{page.has_more}}">
                <image class="pagesLoding-icon" src="/static/icon/refresh_loding.gif" mode="widthFix"></image>加载中...
            </block>
            <block wx:else>
                没有更多了~
            </block>
        </view>
    </view>

    <view class="pack-center pages-hint" wx:else>
        <image src="/static/img/staff_null.png"></image>
        <view>暂无订单</view>
    </view>
</view>