salesman_goods.html
4.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!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>