<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <title>已兑换的商品</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=0.5, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta name="sharetitle" content="全科界" />
    <meta name="sharedesc" content="赋能全科医生，培养百姓良医" />
    <meta name="sharepic" content="https://qkj-web.oss-cn-beijing.aliyuncs.com/html5/share.png" />
    <meta name="shareurl" content="" />
    <script src="/static/js/jquery-3.5.1.min.js?v="+Math.random()></script>
    <script src="/static/js/common.js?v="+Math.random()></script>
    <script>
        document.write('<link href="/static/css/html5/user/user-exchange.css?v=' + Math.random() + '" rel="stylesheet" type="text/css"/>');
    </script>
    <link href="/static/css/html5/common.css?v=" +Math.random() rel="stylesheet" type="text/css"/>

    <script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?0305f34866fc4fe377f1bec6dc84d92f";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<div id="container" class="container">
    <div  th:include="html5/common::common-loading"></div>
    <div th:include="html5/common::common-integral"></div>
<!--    <div  th:include="html5/common::common-header"></div>-->
    <input type="hidden" id="memToken" th:value="${memToken}">
    <div id="list" class="list">
        <div v-if="goodList.length == 0" class="no-data" style="margin-top: 100px;text-align: center;">
            <img onload="AutoResizeImage(330,250,this)" src="/web/img/null.png"/>
<!--            <div class="info">暂无数据</div>-->
        </div>
        <div v-for="(item,i) in goodList" class="list-item float">
            <div @click="gotoCommodityDetail(item.goodsId)" class="left">
                <img onload="AutoResizeImage(288,162,this)" :src="item.coverImg">
            </div>
            <div class="right">
                <div class="title">{{item.title}}</div>
                <div class="money">{{item.points}}<span>积分</span></div>
                <div class="time">{{item.time}}</div>
                <div class="show" v-if="item.receiveMemaddr" @click="showOrder(i)">{{item.flag ? '收起' : '查看详情'}}</div>
            </div>
            <div v-if="item.flag" class="user-order-info">
                <div class="order"><label v-if="item.isSend == 1">快递单号&nbsp;&nbsp;&nbsp;</label>{{item.isSend == 1 ? item.orderCode:'未发货'}}</div>
                <div class="name"><label>联系人姓名</label>&nbsp;&nbsp;&nbsp;{{item.receiveMemname}}</div>
                <div class="phone"><label>手机号</label>&nbsp;&nbsp;&nbsp;{{item.receiveMemmobile}}</div>
                <div class="address"><label>收货地址</label>&nbsp;&nbsp;&nbsp;{{item.receiveMemaddr}}</div>
            </div>
        </div>
    </div>
    <!--    <p id="bottomInfo">全科在线提供技术支持</p>-->
</div>
<footer>
    <div th:include="html5/common::common-footer"></div>
</footer>
</body>
<script type="text/javascript" src="/static/js/jquery.cookie.js"></script>
<script src="/static/js/ucenter.js?v="+Math.random()></script>
<script src="/static/js/vue.js"></script>
<script>
    document.write('<script src="/static/js/h5/user/user-exchange.js?v=' + Math.random() + '"><\/script\>');
</script>
<script src="/static/js/jweixin-1.0.0.js"></script>
<script src="/static/js/wxshare.js?version=20220630"></script>
</html>
