<!--package_A/pages/goods-page/index.wxml-->
<view class="store_container">
    <!-- 积分展示 -->
    <view class="store_head">
        <view class="head_left">
            <text style="font-size:30rpx;margin-bottom: 15rpx;">我的积分</text>
            <text style="font-size: 82rpx;font-weight: bold;">{{userInfo.mallPoints}}</text>
        </view>
        <image class="head_img" src="../../img/store_bg.png"></image>
    </view>
    <!-- 搜索 -->
    <view class="search_box">
        <input class="goods_search" type="text" placeholder="请输入搜索的商品名称" model:value="{{goodsName}}" placeholder-class="placeholder-style" bindconfirm="search" bindblur="search"/>
        <image class="search_icon" src="../../img/search.png"></image>
    </view>
    <!-- 列表 -->
    <list id="list" class="goods_list" url="{{current}}" bind:update-list="updateList" list="{{list}}" bind:reset-list="resetList" params="{{params}}">
        <view class="goods_item" data-item="{{item}}" bindtap="showDetail" wx:for="{{list}}" wx:key="index">
            <GoodsInfo dataSource="{{item}}"></GoodsInfo>
        </view>
    </list>
</view>
