salesman_goods.html 4.1 KB
<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>学考无忧-校园团购</title>
    <link rel="stylesheet" href="__TMPL__/public/assets/css/reset.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
</head>
<style>
    .in_cam_shopName span{
        padding: 0.02rem 0.12rem 0.01rem 0.12rem;
        box-sizing: border-box;
        font-size: 0.2rem;
        cursor: pointer;
        color: white;
        line-height: 1;
        background: rgba(255, 119, 0, 1);
        border-radius: 0.04rem;
        margin-right: 0.04rem;
    }
</style>
<body>
<!-- 顶部 -->
<div class="detail_top order_top">
    <a href="javascript:history.back(-1)">
        <img class="ad_topImg" src="__TMPL__/public/assets/images/left2.png" alt="">
    </a>
    <p style="color:white">校园团购</p>
</div>
<div class="in_hot_shop se_con" style="margin-top:50px">
    <volist name="salesman_goods" id="vo">
        <div class="in_hotLi">
            <a href="{:url('Goodsdetails/Goods_details',array('goods_id'=>$vo.id))}">
                <div class="in_hotImg">
                    <img src="{:cmf_get_image_url($vo.show_img)}" alt="">
                </div>
                <div class="in_hotText">
                    <div class="in_hotName txt-cut"><notempty name="$vo.grade"><span>{$vo.grade}</span></notempty>{$vo.book_name}</div>
                    <div class="in_cam_shopPrice">
                        <div class="in_hotPrice1"><span>{$vo.price0}</span>.{$vo.price1}</div>
                        <div class="in_cam_shopY">¥{$vo.pricing}</div>
                    </div>
                </div>
            </a>
        </div>
    </volist>
    <!--<volist name="goods" id="vo">-->
        <!--<div class="in_hotLi">-->
            <!--<a href="{:url('Goodsdetails/Goods_details',array('goods_id'=>$vo.id))}">-->
                <!--<div class="in_hotImg">-->
                    <!--<img src="{:cmf_get_image_url($vo.show_img)}" alt="">-->
                <!--</div>-->
                <!--<div class="in_hotText">-->
                    <!--<div class="in_hotName txt-cut">{$vo.book_name}</div>-->
                    <!--<div class="in_cam_shopPrice">-->
                        <!--<div class="in_hotPrice1">¥<span>{$vo.price0}</span>.{$vo.price1}</div>-->
                        <!--<div class="in_cam_shopY">¥{$vo.pricing}</div>-->
                    <!--</div>-->
                <!--</div>-->
            <!--</a>-->
        <!--</div>-->
    <!--</volist>-->
</div>
<!-- 底部更多 -->
<div class="in_what">—— 已经到底了哦 ——</div>
<script src="__TMPL__/public/assets/js/base.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
    wx.config({$jssdk});
    wx.ready(function () {
        wx.onMenuShareAppMessage({
            title: '学考无忧',
            desc: "学考无忧",
            link: '{$url}',
            imgUrl: "http://xkeasy.w.bronet.cn/logo.jpg", // 分享图标
            type: 'link', // 分享类型,music、video或link,不填默认为link
            dataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空
            success: function (res) {

                //分享成功返回信息
            },
            fail: function (res) {
                alert(JSON.stringify(res));
            }
        });
        wx.onMenuShareTimeline({
            title: '学考无忧',
            desc: "学考无忧",
            link: '{$url}',
            imgUrl: "http://xkeasy.w.bronet.cn/logo.jpg", // 分享图标
            type: 'link', // 分享类型,music、video或link,不填默认为link
            dataUrl: '', // 如果type是music或video,则要提供数据链接,默认为空
            success: function (res) {
                //分享成功返回信息
            },
            fail: function (res) {
                alert(JSON.stringify(res));
            }
        });
    });
</script>
</body>

</html>