{if userState.isLogin()} {var user=userState.getUser()} {var userOrgs=user.userOrgs} <li class="oklogin n"><a href="/_user/index.shtml" target="_blank" {if !user.mail && !user.mobile} class="username warning" title="您的帐户未设置任何安全保护措施,一旦密码丢失将无法找回,请马上点击进行设置。" {else} class="username" {/if} >${user.fullName}{if !user.mail && !user.mobile}<i id="noSave">!</i> {/if} </a></li><li class="welcome">您好!</li> {if user.org} <li class="userorginfo" style="display:none;">您当前的机构:</li><li class="userorginfo hovermenu sousuo" style="display:none;"><div class="menu-header orgname"><a class="orgName" href="javascript:void(0);" dfdf name="${user.org.orgName}" relOrgCode="${user.org.relOrgCode}" orgCode="${user.org.orgCode}">${user.org.orgName}</a><span class="arrow"> </span></div><div class="menu-header complete" style="display:none"><input type='text' id='tt' class='text' value='${user.org.orgName}' spellcheck="false" /><span class="arrow"> </span></div> {if userOrgs.length>1} <ul class="relOrgList menu-list"> {for org in userOrgs} {if org.orgId != user.selRelOrgId} <li><a href="javascript:void(0);" onclick="hrefHome('${org.orgId}'); return false;" orgId="${org.orgId}" orgCode="${org.orgCode}">${org.orgName}</a></li> {/if} {/for} </ul> {/if} </li><li class="oklogin isMallSeller" style="display:none;">|</li><li class="oklogin isMallSeller" style="display:none;"><a href="${user.org.officeUrl}" >进入办公室</a></li> {/if} <li class="oklogin">|</li><li class="oklogin"><a href="javascript:void(0);" onclick="$.eh.userState.doLogout('/');return false;">安全退出</a></li> {else} <li class="nologin"> 请 <a class="icon-login" href="javascript:void(0);" onclick="$.eh.userState.doLogin();return false;">登录</a> {if noRegist=="false"} <a href="javascript:void(0);" onclick="$.eh.userState.doRegister();return false;">注册</a> {/if} <!-- {if closeRegist!="1"} <a href="javascript:void(0);" onclick="$.eh.userState.doRegister();return false;">注册</a> {/if} --></li> {/if}
{eval} var tgrid = ''; var params = { action: 'VSSite.getSiteMember', }; $.ex.ajax({ params: params, scope: this, afterAction: function(success, o) { if (success) { var relOrgListLength =$(".relOrgList li").length; if(relOrgListLength==1&&$(".relOrgList li").find("a").attr("orgCode")=="guest"){ }else if($(".userorginfo .orgName").attr("orgCode")=="guest"){ }else{ $(".userorginfo").show(); $(".isMallSeller").show() } }else{ $(".userorginfo").show(); $(".isMallSeller").show(); } } }); var buyerEnter=""; if(buyerEnter=="true"){ $.eh.shop.getShowOffice(function(buyer,scope){ if(true){ $(".isMallSeller").hide(); if(buyer&&buyer.isMallSeller){ $(".isMallSeller").show(); } } }); } {/eval}
咨询热线:029 8462 0000
我的订单
我的账户
我的退换货
我的账簿
收货地址
我的评价
我的留言
我的收藏
我的组织
服务中心
帮助中心
站点公告
留言咨询
页面设计
手机版
下载派昂APP
企业名称:
陕西医药控股集团派昂医药有限责任公司
所在区域:
西安市
经营品类:
西药,生物药,中成药,中药饮片,医疗器械,保健品,化妆品,食品
主营品牌:
拜耳医药、辉瑞制药、阿斯利康、默沙东、中美史克、西安杨森、哈药集团、步长制药、以岭药业等
联系客服:
029-86409406
搜索
搜本店
哈药专场
可孚大促
联邦满赠
汤臣倍健
客服
购 物 袋
0
在线客服
QQ客服
咨询药师
咨询客服
亿信通客服
咨询药师
咨询客服
旺旺客服
咨询药师
咨询客服
购物车
二维码
派昂电商APP
扫一扫下载APP
登陆微商场
扫一扫关注公众号
<li style="position: absolute;left: 19px;width: 100%;top: 48px;"><div style="width: 200px;height: 19px;position: relative;"><img class="customer_img" src="http://file.shanyaoo.com/snapshot//files/cr/crlagqnq55y0t0vs/2023-07-31/3sjfpw33bfppyb6w.png"><span class="customer_text" >在线客服</span></div><img src="http://file.shanyaoo.com/snapshot//files/cr/crlagqnq55y0t0vs/2023-08-02/6sqi38xh1inzjs2i.jpg" title="扫一扫"style="width:50%;margin-left: 26px;margin-bottom: -9px;"/><p style="margin-left: 52px;line-height: 0;color: #768271;margin-top: -11px;">微信扫一扫联系客服<p/><div style="width: 200px;height: 22px;position: relative;margin-top: 19px;"><img class="customer_img" src="http://file.shanyaoo.com/snapshot//files/cr/crlagqnq55y0t0vs/2023-07-31/2axe69wv4sz1tkbs.png"><span class="customer_text" >客服QQ</span></div><p class="phone">电商协同客服<p/><p class="phone">1395192102<p/><div style="width: 200px;height: 26px;position: relative;margin-top: 10px;"><img class="customer_img" src="http://file.shanyaoo.com/snapshot//files/cr/crlagqnq55y0t0vs/2023-07-31/4aihf0kvdolvtpgo.png"><span class="customer_text" >客服电话</span></div><p class="phone2">029-84620000<p/></li>
${group.count}
{if !group.blocks} <div class="shopcart-tip"> 正在加载购物车... </div> {else} {if group.count==0} <div class="shopcart-tip shopcart-none"><i></i>您的购物车中还没有任何商品,请先选购吧! </div> {else} <div class="header sum" style="display: none;"><div><p>共选<span> ${group.count}</span>种<span>${group.amount}</span>件商品</p><p>总计:<span class="sum_price">${group.payment}</span>元</p></div><a href="javascript:void(0);" class="clearCart delbtnAll">清空购物车</a><a href="/_shop/shopcart.shtml" class="confirmCart toOrder">去结算</a></div><div class="goodslist"><ul> {for block in group.blocks} {for item in block.items} {if item.itemType == 'package'} <div class="pl-package"><div class="pl-info"> ${item.caption} </div><div class="pl-price"><em>套¥<span class="package_price">${item.price}</span></em>元 × <span class="package_count">${item.amount} </span><big class="package_sum"></big></div><div class="pl-action"><a class="delbtn" href="javascript:void(0);" blockId="${block.blockId}" cartItemId="${item.cartItemId}">删除</a></div></div><ul class="package-ul"> {for sku in item.skus} <li class="packagelist"> {if sku.addSaleTagName} <div class="tip"><span class="flag">${sku.addSaleTagName}</span><span class="tip_text" title="${sku.saleTag}">${sku.saleTag}</span></div> {/if} <div class="goods"><div class="goodsimg"><a href="${sku.url}"><img src="${sku.photo.smallUrl}" alt=""></a></div><div class="goodsdec"><p class="dec_text"><a class="p-caption" href="${sku.url}">${sku.productCaption}</a></p><div class="goods_sum"><p><span class="price" price="${sku.price}">¥${sku.price}</span>x<span class="count" count="${sku.count}">${sku.count}</span> 小计:<span class="sumprice">¥</span></p></div></div></div></li> {/for} </ul> {else} {var sku = item.sku} <li> {if sku.addSaleTagName} <div class="tip"><span class="flag">${sku.addSaleTagName}</span><span class="tip_text">${sku.saleTag}</span></div> {/if} <div class="goods"><div class="goodsimg"><a href="${sku.url}"><img src="${sku.photo.smallUrl}" alt=""></a></div><div class="goodsdec"><p class="dec_text"><a class="p-caption" href="${sku.url}">${sku.productCaption}</a></p><div class="goods_sum"><p><span class="price" price="${item.price}">¥${item.price}</span>x<span class="count" count="${item.amount}">${item.amount}</span> 小计:<span class="sumprice">¥</span></p><a href="javascript:void(0);" class="removeGoods delbtn" blockId="${block.blockId}" cartItemId="${item.cartItemId}">删除</a></div></div></div></li> {/if} {/for} {/for} </ul></div><div class="footer sum"><div><p>共选购<span> ${group.count}</span>种<span>${group.amount}</span>件商品</p><p>总计:<span class="sum_price">${group.payment}</span>元</p></div><a href="javascript:void(0);" class="clearCart delbtnAll">清空购物车</a><a href="/_shop/shopcart.shtml" class="confirmCart toOrder">去结算</a></div> {/if} {eval} setTimeout(function(){ $('#ShopCart_con .delbtnAll').off(); $('#ShopCart_con .delbtnAll').on("click",$.eh.shopCart.doRemoveAll); $('#ShopCart_con .delbtn').off(); $('#ShopCart_con .delbtn').on("click",$.eh.shopCart.doDelProduct); $('#ShopCart_con .goods_sum').each(function(index){ $(this).find(".sumprice").html("¥"+parseFloat($(this).find(".price").attr("price")*$(this).find(".count").attr("count")).toFixed(2)) }) $("#ShopCart_con .pl-package").each(function(){ $(this).find(".package_sum").html("¥"+($(this).find(".package_price").html()*$(this).find(".package_count").html())) }) },100) {/eval} {/if}
全部商品分类
西药 进口药 生物药
内科用药
抗生素类
抗病毒类
解热镇痛抗炎类
感冒发热类
消化系统类
呼吸系统类
泌尿系统类
肝胆胰脏类
血液系统类
激素及内分泌类
免疫调节类
头痛眩晕类
镇静催眠类
体液调节类
抗肿瘤类
维矿类
糖尿病类
外科用药
疹痒类
创伤类
冻伤类
虫咬类
疖类
痔疮类
五官科用药
眼病类
耳病类
鼻病类
咽喉病类
口疮类
骨椎科用药
颈肩脊椎痛类
腰腿疼痛类
关节炎症类
急慢性软组织扭挫伤类
心脑血管类
脑血管类
降血压类
降血脂类
中风后遗症类
中枢性脑病类
皮肤科用药
脚湿气类
粉刺类
疹痒类
色素痣类
儿科用药
小儿感冒类
小儿咳嗽类
退烧类
止泻类
补虚类
镇惊息风类
妇科用药
调经痛经类
妇科炎症类
男科用药
前列腺炎类
阳痿早泄类
中成药品 中药贴剂
内科用药
清热解毒类
止咳平喘类
清喉利咽类
补益安神类
活血化瘀类
防暑降温类
心脑血管类
祛风湿类
感冒类
胃肠类
肝胆类
骨病类
外科用药
风湿骨病
外伤止血
肛周痔疮
皮肤外用
蚊虫叮咬
骨伤科用药
跌打损伤类
活血化瘀类
儿科用药
小儿感冒类
小儿止咳化痰
小儿支气管炎
小儿开胃消食
小儿腹泻类
妇科用药
气血双补类
孕产调理类
妇科炎症类
白带异常类
盆腔炎症类
外用洗液类
乳腺增生类
子宫肌瘤类
更年期类
调经类
五官科用药
口腔溃疡类
清鼻通窍类
清肝明目类
男科用药
补肾壮阳类
前列腺炎类
中药饮片 参茸贵细
中药饮片
小包装饮片
大包装饮片
精制饮片
参茸贵细
人参
西洋参
鹿茸
冬虫夏草
燕窝
阿胶
石斛
蛤蟆油
三七
灵芝
新特药品 专供药品
新特药品
专供药品
医疗器械 医用耗材
医疗器械
检测器械类
治疗器械类
理疗辅助类
儿童退热类
医用耗材类
个人护理
成人用品 计生情趣
成人用品
计生情趣
避孕套
避孕药
润滑剂
验孕排卵
成人保健
男用情趣用品
女用情趣用品
孕婴用品 奶粉辅食
奶粉辅食
婴幼儿配方食品
乳/乳制品
美妆护理 祛痘祛斑
个人护理
个人护理
头部护理
口腔护理
身体护理
手足护理
纤体塑身
美容护肤
美容护肤
洁面
面膜
面霜颈霜
润肤爽肤
精华液
隔离防晒
去角质
化妆品
祛痘祛斑祛疤
养生保健 功能食品
养生保健
增强养护机体
增强免疫力
补血益气
缓解疲劳
安神补脑
改善睡眠
调节三高
心脑血管
美容减肥
辅助保护肝损伤
维矿类
药食同源
花叶茶类
果实类
根茎类
金银花
菊花
枸杞子
玫瑰花
莲子
红枣
桂圆
罗汉果
山楂
山药
保健食品
保健食品
预包装食品
进口食品
休闲食品
消毒杀菌 洗漱护理
消毒杀菌
消毒杀菌
消毒剂
除菌剂
消毒器械
芳香杀虫剂
厨卫清洁
衣物洗涤
个人护理
个人护理
漱口水
口腔喷雾
牙线牙粉
女性护理品
卫生用品
首页
新品到货
高毛专区
促销专区
冷链专区
三进专区
新品到货
集采专区
诊所专区
大健康
领券中心
秦药出陕
派昂学堂
行业资讯
{if (bargain.isSeller)} <div class="title">协议价格</div> {else} <div class="title">议价申请</div> {/if} <div class="tab-content tab-bargain"> {if (bargain.isSeller)} <div class="product-info"><div class="caption"><a title="${bargain.productCaption}">${bargain.productCaption}</a></div><div class="sku-info"><span class="pack-desc">${bargain.packDesc}</span><span class="priceTip" >${bargain.priceTip}</span></div><div class="price-info"><div> {if (bargain.priceOfOrg) && bargain.priceOfOrg.valid && bargain.priceType=="协议价"} 当前售价:<em class="priceOfOrgPrice" >${bargain.price}</em> 元 / ${bargain.packUnits} <i> 此价格于 ${bargain.priceOfOrg.createTime} 协商确定<br> {if (bargain.priceOfOrg.endDate!='')} 有效期至 ${bargain.priceOfOrg.endDate}止 {/if} {if (bargain.priceOfOrg.limitCount>0)} 限${bargain.priceOfOrg.limitCount}次,已执行${bargain.priceOfOrg.orderCount}次 {/if} {if (bargain.priceOfOrg.limitAmount>0)} 限${bargain.priceOfOrg.limitAmount}${bargain.packUnits},已执行${bargain.priceOfOrg.orderAmount}${bargain.packUnits} {/if} </i> {else} 当前售价:<em>${bargain.price}</em> 元 / ${bargain.packUnits} <i> {if bargain.priceType=="特价" && bargain.priceEndTime!=""} 此价格 ${bargain.endTime} 前有效。 {/if} </i> {/if} </div></div></div><form id="modifyForm" isSeller=true skuId="${bargain.skuId}"><input type="hidden" id="orgId" name="orgId" value="${bargain.orgId}"/><input type="hidden" id="bizCenterId" name="bizCenterId" value="${bargain.bizCenterId}"/><input type="hidden" id="orgProductId" name="orgProductId" value="${bargain.orgProductId}"/><input type="hidden" id="skuId" name="skuId" value="${bargain.skuId}"/><input type="hidden" id="billId" name="billId" {if (bargain.bill)} value="${bargain.bill.billId}" {else} value="" {/if}/><div class="refer-price"><div class="leave-message"><div class="leave-label">调价说明:</div> <textarea cols="84" rows="2" name="message" class="messageText" id="message" onfocus="if(value=='请记录调价原因备查。'){value=''}" onblur="if (value ==''){value='请记录调价原因备查。'}">请记录调价原因备查。</textarea> <div class="fast-message"><div class="message-list"><span>快速备注</span><ul><li>客户议价</li><li>厂家调价</li><li>公司调价</li><li>市场价变动</li></ul></div></div></div><div class="refer-message"><div class="take-order"><div class="basePrice" ><span>最低限价: {if bargain.basePrice<=0.01} 未设定 {else} <em>${bargain.basePrice} 元 / ${bargain.packUnits}</em> {/if} </span></div><div class="bargainPrice"><div class="stepshade"></div><div class="priceStep" id="priceStep_el"></div><span>协议价格:</span> {if bargain.priceOfOrg&&bargain.priceOfOrg.stepPrice} <input type="text" id="priceInfo" name="price" value="" minPrice=${bargain.price} basePrice=${bargain.basePrice} priceInfo='${bargain.priceOfOrg.stepPrice}' /><input type="hidden" id="pricestep" name="stepPrice" value="" minPrice=${bargain.price} basePrice=${bargain.basePrice} /> {else} <input type="text" id="priceInfo" name="price" value="" minPrice=${bargain.price} basePrice=${bargain.basePrice} priceInfo='' /><input type="hidden" id="pricestep" name="stepPrice" value="" minPrice=${bargain.price} basePrice=${bargain.basePrice} /> {/if} <i class="stepPriceClick">阶梯议价</i><span style="margin-left:42px;">有效期至:</span><input id="endDate" name="endDate" type="text" plugin="datepicker" /><a href="javascript:void(0);" class="clearEndDate">清除有效期</a></div><div class="bargainPrice"><span>限定次数:</span><input type="text" id="limitCount" name="limitCount" maxlength="10" value="0" /><span style="margin-left:108px;">限定数量:</span><input id="limitAmount" name="limitAmount" type="text" maxlength="10" value="0" /><p style="font-weight:700;color:#ff9933;"> 提示:限定次数、限定数量设置为0表示不限制次数、不限制数量 </p></div><div class="bargainPrice"><span>订购数量:</span><input type="text" name="amount" id="bargainAmount" maxlength="10" value=${bargain.amount} modCount=${bargain.modCount} minOrder=${bargain.minOrder} packUnits=${bargain.packUnits}><span style="font-weight:700;color:#ff9933;"> {if (bargain.modCount>1)} 不拆零数量${bargain.modCount} {/if} {if (bargain.minOrder>1)} 最小起订量${bargain.minOrder}${bargain.packUnits} {/if} </span></div><div class="buyaction"><a class="addtocart" href="javascript:void(0);" id="addtocartsave" >提交协议价格同时加入购物车</a><a class="commit" href="javascript:void(0);" id="save">提交协议价格</a></div></div></div></div></form> {else} <div class="product-info"><div class="caption"><a title="${bargain.productCaption}">${bargain.productCaption}</a></div><div class="sku-info"><span class="pack-desc">${bargain.packDesc}</span><span class="priceTip" >${bargain.priceTip}</span></div><div class="price-info"><div> {if (bargain.priceOfOrg) && bargain.priceOfOrg.valid && bargain.priceType=="协议价"} 当前售价:<em class="priceOfOrgPrice" >${bargain.price}</em> 元 / ${bargain.packUnits} <i> 此价格于 ${bargain.priceOfOrg.createTime} 协商确定<br> {if (bargain.priceOfOrg.endDate!='')} 有效期至 ${bargain.priceOfOrg.endDate}止 {/if} {if (bargain.priceOfOrg.limitCount>0)} 限${bargain.priceOfOrg.limitCount}次,已执行${bargain.priceOfOrg.orderCount}次 {/if} {if (bargain.priceOfOrg.limitAmount>0)} 限${bargain.priceOfOrg.limitAmount}${bargain.packUnits},已执行${bargain.priceOfOrg.orderAmount}${bargain.packUnits} {/if} </i> {else} 当前售价:<em>${bargain.price}</em> 元 / ${bargain.packUnits} <i> {if bargain.priceType=="特价" && bargain.priceEndTime!=""} 此价格 ${bargain.endTime} 前有效。 {/if} </i> {/if} </div></div></div><form id="modifyForm" isSeller=false skuId="${bargain.skuId}"><input type="hidden" id="orgId" name="orgId" value="${bargain.orgId}"/><input type="hidden" id="bizCenterId" name="bizCenterId" value="${bargain.bizCenterId}"/><input type="hidden" id="orgProductId" name="orgProductId" value="${bargain.orgProductId}"/><input type="hidden" id="skuId" name="skuId" value="${bargain.skuId}"/><input type="hidden" id="price" name="price" value="${bargain.price}"/><input type="hidden" id="billId" name="billId" {if (bargain.bill)} value="${bargain.bill.billId}" {else} value="" {/if}/><div class="refer-price"><div class="leave-message"><div class="leave-label">您的留言:</div> <textarea cols="84" rows="2" name="message" class="messageText messageText2" id="message" onfocus="if(value=='请您详细说明您的期望。'){value=''}" onblur="if (value ==''){value='请您详细说明您的期望。'}">{if bargain.bill}${bargain.bill.message}{else}请您详细说明您的期望。{/if}</textarea> <div class="fast-message" id="fast-message"><div class="message-list"><span>快速留言</span><ul id="fast"><li>请回复成交价</li><li>别人家更便宜</li><li>有什么赠品或促销</li><li>我以前的进价更低</li><li>我希望的价格是</li></ul></div></div> {if (bargain.bill)} <div class="text"><em>您已提交过议价申请,如果不需要修改留言信息,请关闭窗口等待我们的回复。</em></div> {else} <div class="text">感谢您的关注,我们的业务代表会立即为您核定成交价格并与您联系。</div> {/if} </div><div class="refer-message"><div class="take-order"><p class="tixing" style="color:#ff0000;">温馨提示:您可以先将此商品加入购物车,待我们为您修改价格后再提交订单。</p><div class="bargainPrice"><span>订购数量:</span><input type="text" name="amount" id="bargainAmount" maxlength="10" value=${bargain.amount} modCount=${bargain.modCount} minOrder=${bargain.minOrder}><span style="color:#ff0000;"> {if (bargain.modCount>1)} 不拆零数量${bargain.modCount} {/if} {if (bargain.minOrder>1)} 最小起订量${bargain.minOrder}${bargain.packUnits} {/if} </span></div><div class="buyaction"><a class="addtocart" href="javascript:void(0);" id="addtocartsave">提交协议价格同时加入购物车</a><a class="commit" href="javascript:void(0);" id="save">提交协议价格</a></div></div></div></div></form> {/if} </div><div class="tab-content tab-his"><div class="tab-his-skin" id="priceBargainHis_el"></div></div><div class="tab-label"><a class="tab-label-bargain active" href="javascript:void(0);">议价订购</a><a class="tab-label-his" href="javascript:void(0);">议价历史</a></div>
{eval} $(".fast-message").hoverDelay({ delay: 150, over :function(ee){ ee.find("ul").show(); } ,out : function(ee){ ee.find("ul").hide(); } }); $(".fast-message ul li").unbind(); $(".fast-message ul li").bind("click",function(){ $(".messageText").val($(this).html()); }); $(".clearEndDate").unbind(); $(".clearEndDate").bind("click",function(){ $("#endDate").val(""); }); //阶梯协议价 $("#priceInfo").unbind(); $("#priceInfo").bind("change",function(){ $.ex.util.validPrice(this,0.00); // $("#pricestep").val('[{"amount":"1","price":"'+$(this).val()+'"}]'); }); $(".stepPriceClick").die(); $(".stepPriceClick").live("click",function(){ $(".stepshade").show(); $("#priceStep_el").show(); var stepPrice=[]; if($("#priceInfo").attr("priceInfo")!=""){ stepPrice=$.parseJSON($("#priceInfo").attr("priceInfo")); } $.ex.util.merge("#priceStep_tpl","#priceStep_el",{stepPrice:stepPrice}); }); //数量验证 $("#bargainAmount").unbind(); $("#bargainAmount").bind("change",function(){ $.ex.util.validAmount(this,$("#bargainAmount").attr("minOrder")); }); //限定次数、限定数量 $("#limitCount").unbind(); $("#limitCount").bind("change",function(){ if($(this).val()!=0){ $.ex.util.validAmount(this,0); } }); $("#limitAmount").unbind(); $("#limitAmount").bind("change",function(){ if($(this).val()!=0){ $.ex.util.validAmount(this,0); //最少起购量,倍数 var amount= $(this).val(); var modCount=$("#bargainAmount").attr("modCount"); var minOrder = $("#bargainAmount").attr("minOrder"); var packUnits=$("#bargainAmount").attr("packUnits"); if (modCount>1 && amount%modCount!=0){ $.ex.msgbox.message('此商品不拆零销售,订购数量必须是 <b>'+modCount+'</b> 的倍数。'); $(this).val(modCount) return false; } if (minOrder-amount>0){ $.ex.msgbox.message('此商品<b>'+minOrder+packUnits+'</b>起订!'); $(this).val(minOrder); return false; } } }); //单价验证 $("#price").unbind(); $("#price").bind("change",function(){ $.ex.util.validPrice(this,0.00); }); $.Tipmsg.r=" "; //编辑表单验证与提交 var modifyForm=$('#modifyForm').Validform({ tiptype:2 ,btnSubmit:"#save,#addtocartsave" ,datatype:{} ,callback:function(data){ // if ($("#price").attr("type")=="text" && parseFloat($("#price").val()) < parseFloat($("#price").attr("basePrice"))){ // $.ex.msgbox.message('价格不能小于'+$("#price").attr("basePrice")+'元。'); // return false; // } var t=data.data("eventTarget").attr("id"); if (t=="addtocartsave"){ var amount= $("#bargainAmount").val(); var modCount=$("#bargainAmount").attr("modCount"); if (modCount>1 && amount%modCount!=0){ $.ex.msgbox.message('此商品不拆零销售,数量必须是 <b>'+modCount+'</b> 的倍数。'); return false; } var ee=$("#addtocartsave"); $.eh.shopCart.doAddProduct($("#orgId").val(),$("#bizCenterId").val(),$("#orgProductId").val(),$("#skuId").val(),amount,function(){ $.eh.bargain.savePriceOfOrgBill(data,function(success,o){ if(success){ if ($("#modifyForm").attr("isSeller") && typeof("refreshBargainPrice") != "undefined"){ refreshBargainPrice({ stepPrice:$("#pricestep").val() ,endDate:$("#endDate").val() ,skuId:$("#modifyForm").attr("skuId") ,limitCount:$("#limitCount").val() ,limitAmount:$("#limitAmount").val() }); } $.colorbox.close(); }else{ $.ex.msgbox.warning(o.message); } }); MShopcart(ee,"#shopcart"); }); } else { $.eh.bargain.savePriceOfOrgBill(data,function(success,o){ if(success){ if ($("#modifyForm").attr("isSeller") && typeof("refreshBargainPrice") != "undefined"){ refreshBargainPrice({ stepPrice:$("#pricestep").val() ,endDate:$("#endDate").val() ,skuId:$("#modifyForm").attr("skuId") ,limitCount:$("#limitCount").val() ,limitAmount:$("#limitAmount").val() }); } $.colorbox.close(); }else{ $.ex.msgbox.warning(o.message); } }); } return false; } ,usePlugin:{ datepicker:{} } }); //验证规则 var rules=[{ ele :'#caption' ,dataType :'*5-60' ,nullmsg :'请输入标题。' ,errormsg :'请输入正确的标题(5-60个字)。' }]; //添加验证规则 modifyForm.addRule(rules); //页签切换 $(".tab-label a.tab-label-his").unbind(); $(".tab-label a.tab-label-his").bind("click",function(){ $(".tab-label a").removeClass("active"); $(this).addClass("active"); $(".xunjiaWindow .tab-content").hide(); $(".xunjiaWindow .tab-his").show(); if(!$(this).attr("loaded")){ $.eh.bargain.getPriceBillHis(bargainProduct.orgId ,bargainProduct.bizCenterId ,bargainProduct.orgProductId ,bargainProduct.skuId ,function(success,o){ if (success){ for(var i=0;i<o.results.length;i++){ var stepPrice=$.parseJSON(o.results[i].stepPrice); if(stepPrice){ }else{ stepPrice=[]; } o.results[i].stepPrice=stepPrice; }; $.ex.util.merge("priceBargainHis-tpl","priceBargainHis_el",{bills:o.results}); } }) $(this).attr("loaded",true); } }); $(".tab-label a.tab-label-bargain").unbind(); $(".tab-label a.tab-label-bargain").bind("click",function(){ $(".tab-label a").removeClass("active"); $(this).addClass("active"); $(".xunjiaWindow .tab-content").hide(); $(".xunjiaWindow .tab-bargain").show(); }); {/eval}
{if bills.length>0} <table class="table-his" width="100%"><tr><td class="rq">提交日期</td><td class="price">协议信息</td><td class="message">回复信息</td></tr> {for bill in bills} <tr><td class="rq">${bill.createTime}</td><td class="price"> {if bill.stepPrice.length>0} <div class="stepPrice"><em class="turn-left"></em><div class="main" index="0"><ul id="stepPrice"> {for step in bill.stepPrice} <span class="pricelist" ><i class="price-l">¥${step.price}</i><i class="amount-r" >${step.amount}及以上</i></span> {/for} </ul></div><em class="turn-right"></em></div> {if (bill.state) && (bill.state==="1")} {if bill.endDate!=""} <p>截至:${bill.endDate}</p> {/if} <p> {if bill.limitCount>0} 限次:(${bill.orderCount}/${bill.limitCount}) {/if} {if bill.limitAmount>0} 限量:(${bill.orderAmount}/${bill.limitAmount}) {/if} </p> {else} 未同意调价 {/if} {else} {if (bill.state) && (bill.state==="1")} 价格:${bill.price} {if bill.endDate!=""} 截至:${bill.endDate} {/if} <p> {if bill.limitCount>0} 限次:(${bill.orderCount}/${bill.limitCount}) {/if} {if bill.limitAmount>0} 限量:(${bill.orderAmount}/${bill.limitAmount}) {/if} </p> {else} 未同意调价 {/if} {/if} </td><td class="message"> {if (bill.reMessage)} ${bill.accepterName}:${bill.reMessage} {else} ${bill.accepterName}受理 {/if} </td></tr> {/for} </table> {else} <div class="noData">没有历史议价记录!</div> {/if}
{eval} $(".table-his .stepPrice .turn-right").click(function(){ var listLength =$(this).parents(".stepPrice").find(".pricelist").length; var stepPriceConWidth = 98*listLength; $(this).parents(".stepPrice").find("#stepPrice").width(stepPriceConWidth+2); var index=$(this).siblings(".main").attr("index"); if(index<listLength){ var moveAmount = 99; var moveMain =$(this).siblings(".main"); moveMain.scrollLeft(moveMain.scrollLeft()+99); index++; $(this).siblings(".main").attr("index",index); } }); $(".table-his .stepPrice .turn-left").click(function(){ var listLength =$(this).parents(".stepPrice").find(".pricelist").length; var stepPriceConWidth = 98*listLength; $(this).parents(".stepPrice").find("#stepPrice").width(stepPriceConWidth+2); var index=$(this).siblings(".main").attr("index"); if(index>0){ var moveAmount = 99; var moveMain =$(this).siblings(".main"); moveMain.scrollLeft(moveMain.scrollLeft()-99); index--; $(this).siblings(".main").attr("index",index); } }); {/eval}
<p class="priceStep-title">阶梯协议价编辑<a class="close"></a></p><span class="priceStep-info">大于或等于购买数量可享受阶梯协议价格(最多支持5个阶梯)</span><div class="steplist"> {if stepPrice.length>0} {var product=stepPrice[0]} <div class="stepinput"><span>购买数量:</span><input type="text" class="stepamount" name="amount" value="${product.amount}"/><span>协议价格:</span><input type="text" class="stepprice" name="price" value="${product.price}"/><a class="add">+</a></div> {for stepinfo in stepPrice} {if (stepinfo_index>0)} <div class="stepinput"><span>购买数量:</span><input type="text" class="stepamount" name="amount" value="${stepinfo.amount}"/><span>协议价格:</span><input type="text" class="stepprice" name="price" value="${stepinfo.price}"/><a class="sub">-</a></div> {/if} {/for} {else} <div class="stepinput"><span>购买数量:</span><input type="text" class="stepamount" name="amount"/><span>协议价格:</span><input type="text" class="stepprice" name="price" /><a class="add">+</a></div> {/if} </div><div class="stepfoot"><a class="stepconfirm">确定</a></div>
{eval} $('.priceStep-title .close').die(); $(".priceStep-title .close").live("click",function(){ $(".stepshade").hide(); $(".priceStep").hide(); }); function stepPrice(e){ $.ex.util.validPrice(this,0.00); var basePrice=parseFloat($("#pricestep").attr("basePrice")); if (parseFloat(e.val()) < basePrice){ $.ex.msgbox.message('协议价不能低于最低售价'+$("#pricestep").attr("basePrice")+'元。'); e.val($("#pricestep").attr("basePrice")) return false; } } $('.steplist .add').die(); $('.steplist .add').live("click",function(){ var basePrice=parseFloat($("#pricestep").attr("basePrice")); if(basePrice>0){ var title='价格不能小于'+$("#pricestep").attr("basePrice")+'元。'; }else{ title=''; } var stepinputAmount=$(".stepinput").length; var str='<div class="stepinput">'+ '<span>'+'购买数量:'+'</span>'+ '<input type="text" class="stepamount" name="amount" maxlength="10" onchange="$.ex.util.validAmount(this,1);" />'+ '<span>'+'协议价格:'+'</span>'+ '<input type="text" class="stepprice" name="price" maxlength="10" onchange="$.ex.util.validPrice(this,'+basePrice+');" title="'+title+'" />'+ '<a class="sub">'+'-'+'</a>'+ '</div>'; if(stepinputAmount>4){ $.ex.msgbox.message('最多支持5个阶梯。'); }else{ $(".steplist").append(str); } }); $('.steplist .sub').die(); $('.steplist .sub').live("click",function(){ $(this).parents(".stepinput").remove(); }); //数量验证 $(".stepamount").unbind(); $(".stepamount").bind("change",function(){ $.ex.util.validAmount(this,1); }); $(".stepprice").unbind(); $(".stepprice").bind("change",function(){ var basePrice=parseFloat($("#pricestep").attr("basePrice")); $.ex.util.validPrice(this,basePrice); $(this).attr("title",'协议价不能低于最低售价'+$("#pricestep").attr("basePrice")+'元。'); }); $(".stepconfirm").die(); $(".stepconfirm").live("click",function(){ var isValid=true; var stepPriceArray=new Array(); var stepinputlength=$(".stepinput").length; for(var i=0;i<stepinputlength;i++){ var amount=$($(".steplist .stepinput")[i]).find(".stepamount").val(); var price=$($(".steplist .stepinput")[i]).find(".stepprice").val(); if(amount>0&&price>=0){ var step=new Object(); step.amount=amount; step.price=price; stepPriceArray.push(step); }else{ $.ex.msgbox.message('请输入正确议价阶梯。'); isValid=false; return false; } } stepPriceArray.sort(function(a,b){ if(a.amount==b.amount){ $.ex.msgbox.message('议价阶梯重复。'); isValid=false; return false; } return b.amount- a.amount; }); if(isValid){ var stepPriceShow=''; var priceOfOrgamount=stepPriceArray[stepPriceArray.length-1].amount; var amountQujian; for(var j=stepPriceArray.length-1;j>=0;j--){ if(j==0){ amountQujian=stepPriceArray[0].amount+"及以上"; }else{ priceOfOrgamount=stepPriceArray[j-1].amount-1; if((stepPriceArray[j].amount)==priceOfOrgamount){ amountQujian=stepPriceArray[j].amount; }else{ amountQujian=stepPriceArray[j].amount+"~"+priceOfOrgamount; } } stepPriceShow+=amountQujian+" ¥"+stepPriceArray[j].price+";"; } $("#priceInfo").attr("title",stepPriceShow); $("#priceInfo").val(stepPriceShow); $("#pricestep").val(JSON.stringify(stepPriceArray)); $(".stepshade").hide(); $(".priceStep").hide(); } }); {/eval}
当前位置
>
首页商品分类
>
中药饮片 参茸贵细
>
中药饮片
>
大包装饮片
分享到:
加入常购列表
苦参 1kg/袋 陕西西安/陕西兴盛德药业有限责任公司
说 明
协议客户以协议价为准
正在加载更多信息......
<!--基本信息--><div class="product-code"><span class="fieldName skuCode" style="display:none;">货 号</span><span class="fieldValue skuCode" style="padding-right:18px;display:none;"><span sku-field="skuCode"></span></span><span class="fieldName extendCode" style="display:none;">扩展编号</span><span class="fieldValue extendCode" style="display:none;"><span sku-field="extendCode"></span></span><span style="padding-left:10px;" sku-field="skuPackAmount"></span></div><div class="product-package"><span class="fieldName">单 位</span><span calss="fieldValue"><span sku-field="skuPackDesc"></span></span></div><div class="p-favorable" style="display:none;"><span class="fieldName">商品评价</span><span calss="fieldValue"> {var start=productSetup.productInfo.resTotal.commentMark/5*100} (<a class="viewComment plAmount" href="javascript:void(0);">共${productSetup.productInfo.resTotal.commentCount}条评论</a>) </span></div> {if productSetup.productInfo.sellState&&productSetup.productInfo.sellState.stateActions=="buy"} <div class="p-sale" style="margin-right: 10px;"><span class="fieldName">近期销量</span><span calss="fieldValue"><span class="integral xlAmount">${productSetup.productInfo.resTotal.sellCount}</span><span>${productSetup.productInfo.units}</span></span></div> {/if} <div class="p-sale" ><span class="fieldName">近期销售频次</span><span calss="fieldValue"><span class="integral pcAmount">${productSetup.productInfo.resTotal.billCount}</span></div><div class="viewDetail"><a href="javascript:void(0);" skipId="productDetail">详情</a></div>
{eval} //跳转到商品详细信息 $(".viewDetail a").unbind(); $(".viewDetail a").bind("click",function(e){ $(".detail-panel").Jtab().switchTab(0); $("html,body").animate({scrollTop:$("#detail-panel").offset().top},600); }); //跳转到商品评价页 $(".p-favorable .viewComment").unbind(); $(".p-favorable .viewComment").bind("click",function(e){ var i=$(".detail-panel .tab-title li.comment").index(".detail-panel .tab-title li"); if (i>=0){ $(".detail-panel").Jtab().switchTab(i); $("html,body").animate({scrollTop:$("#detail-panel").offset().top},600); } }); // 销量,评论,浏览次数(单位取万保留一位小数) // 商品评论 var Sales= parseInt($(".plAmount").html()/10000*10)/10; if(Sales>1){ $(".plAmount").html(Sales.toFixed(1)+"万+"); } // 近期销量 var Comment= parseInt($(".xlAmount").html()/10000*10)/10; if(Comment>1){ $(".xlAmount").html(Comment.toFixed(1)+"万+"); } // 销量频次 var Frequency= parseInt($(".pcAmount").html()/10000*10)/10; if(Frequency>1){ $(".pcAmount").html(Frequency.toFixed(1)+"万+"); } {/eval}
<div id="discounted" style="height: 28px;"><span class="discountedcont"></span><span class="discountedPrice"></span></div><input class="storage" type="hidden" oldprice="" nowprice="" minAmount="" id="" value="" /><span class="field couponJson" style="display: none;">${_pageConfig.couponListjsonStr}</span> {if results&&results.length>0} <div class="livePromotions" style="display:flex;align-items: center;font-size: 12px;padding: 5px 5px;"><div style="color: #fff;margin-right: 10px;padding:0 4px;text-align: center;background: #F93359;border-radius: 4px;">直播</div><div style="color: #F93359;">直播商品优惠价</div></div><div class="promotions"><span class="field fieldName">促销活动</span><ul {if results.length>3} class="promotions-height" {/if}> {for rule in results} <li><a href="${rule.url}"><dl><dt class="ruleType ${rule.ruleType}">${rule.ruleModeName}</dt><dd class="ruleCaption">${rule.caption}</dd></dl></a></li><input class="storage_rule" type="hidden" action="${rule.action}" ruleConfig="${rule.ruleConfig}" baseNumber="${rule.baseNumber}" id="" value="" /> {/for} {if results.length>3} <li class="more">查看更多</li><li class="pack-up" style="display: none;">收起</li> {/if} </ul></div> {/if}
{eval} const url = new URL(window.location.href); const liveId = url.searchParams.get('liveId'); if(liveId){ $('.livePromotions').css('display','flex') }else{ $('.livePromotions').css('display','none') } var ulhei=0; $(".promotions ul li").each(function(){ var hei=$(this).find(".ruleCaption").height(); $(this).height(hei); if($(this).index()<3){ ulhei+=hei+10; } $(this).attr("height",hei); }); $(".product_infopanel .p-promotions .promotions").css("height",ulhei); $(".promotions ul").css("height",ulhei); $(".promotions .more").click(function(){ $(".promotions ul").css("height","auto"); $(this).hide(); $(".promotions .pack-up").show() $(".promotions ul").addClass("select"); }); $(".promotions .pack-up").click(function(){ $(".promotions ul").css("height",ulhei); $(this).hide(); $(".promotions .more").show() $(".promotions ul").removeClass("select"); }); {/eval}
<!--价格--> {if productSetup.productInfo.sellState&&!flagt} {if productSetup.productInfo.sellState.stateActions=="buy"} <div class="timeTip" sku-field="timeTip"></div><div class="p-price"> {if typePrice==="doublePrice"} <div class="doublePrice"><div class="oldprice "><span class="fieldName">售 价</span><span class="fieldValue" sku-field="oldPrice"></span><span class="packUnitsTip"> / <span sku-field="packUnits"></span></span></div><div class="nowprice"><span class="fieldName"><i sku-field="priceType">成 交 价</i></span><span class="rmb">¥</span><span class="fieldValue" sku-field="price"></span>元 <span class="packUnitsTip"> / <span sku-field="packUnits"></span></span></div></div> {else} {if productSetup.productInfo.showOldPrice===true} <div class="oldprice"><span class="fieldName">原 售 价</span><span class="fieldValue"> ¥<del sku-field="oldPrice"></del>元 <span class="discount">优 惠:<i sku-field="discount"></i>元</span></span></div> {/if} <div class="nowprice"><span class="fieldName"><i sku-field="priceType">售 价</i></span><span class="rmb">¥</span><span class="fieldValue" sku-field="price"></span>元 <span class="packUnitsTip"> / <span sku-field="packUnits"></span></span></div><span class="field couponJson" style="display: none;">${_pageConfig.couponListjsonStr}</span> {/if} <div class="priceTip"><span class="fieldName" style="margin-right: 15px;">优惠券+在线支付</span><span class="fieldValue" sku-field="priceTip" style="color: #c4060d;font-size: 16px;font-weight: 800;line-height: 34px;">--</span></div><div class="priceList" style="display:none;"><a class="stepLeft"><</a><a class="stepRight">></a><div class='stepul'></div></div></div><div class="actives" id="actives_el"></div> {elseif productSetup.productInfo.sellState.stateActions=="demandColl"} <div class="p-price"><div class="nowprice"><span class="fieldName">参考价格:</span><span class="rmb">¥</span><span class="fieldValue" sku-field="price"></span>元 / <span sku-field="packUnits"></span></div></div> {/if} {/if}
{eval} $(".priceList a.stepRight").click(function(){ var moveMain =$(this).siblings(".stepul"); moveMain.scrollLeft(moveMain.scrollLeft()+90); }); $(".priceList a.stepLeft").click(function(){ var moveMain =$(this).siblings(".stepul"); if(parseInt(moveMain.find(".stepPrice").css("left"))<0&&moveMain.scrollLeft()==0){ var leftmove= parseInt(moveMain.find(".stepPrice").css("left"))+90+"px"; moveMain.find(".stepPrice").css("left",leftmove); } moveMain.scrollLeft(moveMain.scrollLeft()-90); }); {/eval}
<!--SKU如果SKU个数大于1,显示SKU选择器--> {if !flagt} {if productSetup.productInfo.skuCount>1} {if productSetup.productInfo.multiSpec && productSetup.productInfo.specDef} <div class="p-specs"><div class="tip">请选择商品规格</div> {for defItem in productSetup.productInfo.specDef} <div class="i-spec"><span class="spec" skuAttr="${defItem.specDefCode}">${defItem.specDefName}:</span><ul class="spec-values"> {for valueItem in defItem.specDefItems} <li class="spec-value" skuAttr="${valueItem.specItemId}"> {if valueItem.photoUrl == ""} <span>${valueItem.specItemName}</span> {else} <img style="height:100%;" title="${valueItem.specItemName}" src="${valueItem.photoUrl}"> {/if} <em></em><i></i></li> {/for} </ul></div> {/for} </div> {else} <div class="p-skus"><span class="fieldName">规 格</span><ul class="sku-values"> {for sku in productSetup.productInfo.skus} {if sku.canSell || !productSetup.hideNosellProduct} <li class="sku" skuId="${sku.skuId}"> ${sku.specDesc} </li> {/if} {/for} </ul></div> {/if} {/if} <!--库存状态--><!-- {if productSetup.showStock && productSetup.productInfo.sellState && (productSetup.productInfo.sellState.stateActions=="buy"||productSetup.productInfo.sellState.stateActions=="demandColl"||productSetup.productInfo.sellState.stateActions=="none")} <div class="stockState"><span class="field fieldName">库 存</span> {if productSetup.showAmount} <span class="stockamount" sku-field="amount"></span> {/if} {if productSetup.showStockState} <span class="stockamount" sku-field="stockState"></span> {/if} {if productSetup.limitShowState} <span class="stockamount" sku-field="limitState"></span> {/if} </div> {/if} --> {for sku in productSetup.productInfo.skus} {if sku.stockDisplayMode != "none" && productSetup.productInfo.sellState && (productSetup.productInfo.sellState.stateActions=="buy"||productSetup.productInfo.sellState.stateActions=="demandColl"||productSetup.productInfo.sellState.stateActions=="none")} <div class="stockState"><span class="field fieldName">库 存</span> {if sku.stockDisplayMode == "showamount"} <span class="stockamount" sku-field="amount"></span> {/if} {if sku.stockDisplayMode == "showstate"} <span class="stockamount" sku-field="stockState"></span> {/if} {if sku.stockDisplayMode == "limitshowstate"} <span class="stockamount" sku-field="limitState"></span> {/if} {if sku.stockDisplayMode == "both"} <span class="stockamount" sku-field="both"></span> {/if} </div> {/if} {/for} <div class="limitBuy_info" orgproductid="${productSetup.orgProductId}" orgid="${productSetup.orgId}" bizcenterid="${productSetup.bizCenterId}"><div class="main"><div class="limitBuyDay con"><span class="limitBuy_amount"> 每日限购${productSetup.productInfo.limitBuyAmountOfDay}<em class="units"></em></span><span class="limitBuy_canAmount"> ,还可购<i></i><em class="units"></em>; </span></div><div class="limitBuyWeek con"><span class="limitBuy_amount"> 每周限购${productSetup.productInfo.limitBuyAmountOfWeek}<em class="units"></em></span><span class="limitBuy_canAmount"> ,还可购<i></i><em class="units"></em>; </span></div><div class="limitBuyMonth con"><span class="limitBuy_amount"> 每月限购${productSetup.productInfo.limitBuyAmountOfMonth}<em class="units"></em></span><span class="limitBuy_canAmount"> ,还可购<i></i><em class="units"></em>; </span></div><div class="limitBuyYear con"><span class="limitBuy_amount"> 每年限购${productSetup.productInfo.limitBuyAmountOfYear}<em class="units"></em></span><span class="limitBuy_canAmount"> ,还可购<i></i><em class="units"></em>; </span></div><!-- <div class="more" zk="false"></div>--></div></div><div class="actionPanel"><div class="amount"> {if productSetup.productInfo.sellState&&(productSetup.productInfo.sellState.stateActions=="buy"||productSetup.productInfo.sellState.stateActions=="demandColl")} {if productSetup.productInfo.sellState&&productSetup.productInfo.sellState.stateActions=="buy"} <span class="field fieldName">购买数量</span> {else} <span class="field fieldName">需求数量</span> {/if} <a href="javascript:void(0);" class="sub"> </a><input type="text" style="ime-mode:disabled;" value="1" maxlength="10" class="amount-input" id="amount_${productSetup.productInfo.shopProductId}" name="amount" ><a href="javascript:void(0);" class="add"> </a><!--最小订购--><div class="amountTip" sku-field="amountTip"></div><!-- <div class="amountTip" sku-field="limitBuyType"></div>--> {/if} </div> {if productSetup.productInfo.sellState&&productSetup.productInfo.sellState.stateActions=="buy"} <div class="action curr"><a class="addtoshopcart" href="javascript:void(0);" amountId="amount_${productSetup.productInfo.shopProductId}" ></a> {if productSetup.forOrgUser} <a class="xunjia hh" style="display:block;" href="javascript:void(0);" amountId="amount_${productSetup.productInfo.shopProductId}" title="提交议价申请"></a> {else} <a class="buy" style="display:block;" href="javascript:void(0);" amountId="amount_${productSetup.productInfo.shopProductId}">立即购买</a> {/if} <!--<a class="yaoshichaxun" href="javascript:void(0);" amountId="amount_${productSetup.productInfo.shopProductId}"> </a>--><a style="margin-top: 7px;" href="javascript:void(0);" class="pdtDemandBtn" style="display:none;" amountId="amount_${productSetup.productInfo.shopProductId}">缺货登记</a><!--优惠券--><!--<a class="coupon" href="http://www.shanyaoo.com/_shop/getcoupon-1m3sised17oke43l.shtml" target="_blank"><span>¥12</span></a>--><a class="coupon" href="http://www.shanyaoo.com/_shop/pazd/getcoupons.shtml" target="_blank"><span>去领券</span></a></div> {else} <div class="actionTip"> {if productSetup.productInfo.sellState&&productSetup.productInfo.sellState.stateActions=="demandReg"} <a style="margin-top: 7px;" href="javascript:void(0);" class="pdtDemandBtn" amountId="amount_${productSetup.productInfo.shopProductId}">缺货登记</a> {else} {if productSetup.productInfo.sellState&&productSetup.productInfo.sellState.stateActions=="demandColl"} <a href="javascript:void(0);" class="pdtDemandCollBtn" amountId="amount_${productSetup.productInfo.shopProductId}">提交特需</a> {elseif productSetup.productInfo.sellState&&productSetup.productInfo.sellState.stateActions=="none" } <div style="font: 20px/60px '微软雅黑';color: #ff8008;">销售状态无动作,店铺禁售</div> {else} <div style="font: 20px/60px '微软雅黑';color: #ff8008;">销售状态为空,店铺禁售</div> {/if} {/if} </div> {if productSetup.productInfo.sellState&&productSetup.productInfo.sellState.stateDesc!=""} <div class="sellStateTip"><div class="tip">提示:</div><div>${productSetup.productInfo.sellState.stateDesc}</div></div> {/if} {/if} </div><div class="noSellTip" style="display:none;"></div> {else} <div class="nokan">登录可见</div> {/if}
{eval} //缺货登记 $(".pdtDemandBtn").unbind(); $(".pdtDemandBtn").bind("click",function(){ /* if(!$.eh.userState.isLogin() && !productSetup.allowAnonProductDemand){ $.ex.msgbox.message('请登录后再提提交订购需求。'); return; } */ demand($(this)); }); //加入我的需求 $(".pdtDemandCollBtn").unbind(); $(".pdtDemandCollBtn").bind("click",function(e){ demandColl($(this)); }); //立即购买 $(".product_infopanel .buybar .action .buy").unbind(); $(".product_infopanel .buybar .action .buy").bind("click",function(){ buyNow($(this)); }); //添加购物车 $(".product_infopanel .buybar .action .addtoshopcart").unbind(); $(".product_infopanel .buybar .action .addtoshopcart").bind("click",function(){ addToShopcart($(this)); //屏蔽回车事件 $(this).keydown( function(e) { var key = window.event?e.keyCode:e.which; if(key.toString() == "13"){ return false; } }); }); //议价订购 $(".product_infopanel .buybar .action .xunjia").unbind(); $(".product_infopanel .buybar .action .xunjia").bind("click",function(){ xunjia($(this)); }); //数量控制 $(".product_infopanel .amount-input").unbind(); $(".product_infopanel .amount-input").bind("change",function(){ $.ex.util.validAmount(this,1); }); $(".product_infopanel .sub").unbind(); $(".product_infopanel .sub").bind("click",function(){ var ee = $(this); var pp = $(this).siblings(".amount-input"); if (!pp) return; var skuId = pp.attr("skuId"); var orgId = pp.attr("orgId"); var bizCenterId = pp.attr("bizCenterId"); var orgProductId = pp.attr("orgProductId"); var modCount = parseInt($(this).siblings(".amount-input").attr("modCount")); var buyAmount = parseInt($(this).siblings(".amount-input").val()); var minOrder = parseInt($(this).siblings(".amount-input").attr("minOrder")); var minAmount = parseInt($(this).siblings(".amount-input").attr("minAmount")); buyAmount = buyAmount-modCount; if(buyAmount>=minAmount){ $.eh.shopDisplay.getProductPrice(orgId,bizCenterId,orgProductId,buyAmount,null,null,function(o){ var priceDec = o.results[0].priceDec; var skusId = o.results[0].skus[skuId]; ee.siblings(".amount-input").val(skusId.buyAmount); ee.parents(".product_infopanel").find("[sku-field='price']").html($.ex.format.formatNum(skusId.price,priceDec)); if(skusId.priceType==""){ if(typePrice=="doublePrice"){ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("成 交 价"); }else{ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("售 价"); } }else{ if(skusId.priceType=="协议价"){ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("协 议 价"); }else if(skusId.priceType=="特 价"){ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("特 价"); }else{ ee.parents(".product_infopanel").find("[sku-field='priceType']").html(skusId.priceType); } if(typePrice=="doublePrice"){ if(skusId.oldPrice=="0"){ ee.parents(".product_infopanel").find(".doublePrice .oldprice .packUnitsTip").html(""); ee.parents(".product_infopanel").find("[sku-field='oldPrice']").html("<span class='wwhu'>未维护</span>"); }else{ ee.parents(".product_infopanel").find("[sku-field='oldPrice']").html("¥"+$.ex.format.formatNum(skusId.oldPrice,priceDec)); ee.parents(".product_infopanel").find(".doublePrice .oldprice .packUnitsTip").html("元/"+skusId.packUnits); } } } if(skusId.stepPriceDesc!=""){ ee.find(".fieldStepAmount").css("border-bottom","none"); priceStepInfo(ee.parents(".product_infopanel"),skusId.stepPriceDesc,skusId.priceEndTime,skusId.priceOfOrg); ee.parents(".product_infopanel").find("[sku-field='packUnits']").html(skusId.packUnits); } }); }else{ if( minAmount == "0"){ $.ex.msgbox.message('最小起订数量<b>'+(minAmount+1)+'</b>'); }else{ $.ex.msgbox.message('最小起订数量<b>'+minAmount+'</b>'); } return; } }); $(".product_infopanel .add").unbind(); $(".product_infopanel .add").bind("click",function(){ var ee = $(this); var pp = $(this).siblings(".amount-input"); if (!pp) return; var skuId = pp.attr("skuId"); var orgId = pp.attr("orgId"); var bizCenterId = pp.attr("bizCenterId"); var orgProductId = pp.attr("orgProductId"); var modCount = parseInt($(this).siblings(".amount-input").attr("modCount")); var buyAmount = parseInt($(this).siblings(".amount-input").val()); buyAmount = buyAmount+modCount; var maxBuyAmount = 999999; var minMultiple = modCount; var maxMultiple; $.eh.shopDisplay.getProductPrice(orgId,bizCenterId,orgProductId,buyAmount,null,null,function(o){ var priceDec = o.results[0].priceDec; var skusId = o.results[0].skus[skuId]; if(buyAmount>=maxBuyAmount){ if(minMultiple>1){ maxMultiple = parseInt(maxBuyAmount / modCount) * modCount; ee.siblings(".amount-input").val(maxMultiple); }else{ ee.siblings(".amount-input").val(maxBuyAmount); } }else{ ee.siblings(".amount-input").val(skusId.buyAmount); } ee.parents(".product_infopanel").find("[sku-field='price']").html($.ex.format.formatNum(skusId.price,priceDec)); if(skusId.priceType==""){ if(typePrice=="doublePrice"){ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("成 交 价"); }else{ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("售 价"); } }else{ if(skusId.priceType=="协议价"){ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("协 议 价"); }else if(skusId.priceType=="特 价"){ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("特 价"); }else{ ee.parents(".product_infopanel").find("[sku-field='priceType']").html(skusId.priceType); console.log(skusId.priceType) } if(typePrice=="doublePrice"){ if(skusId.oldPrice=="0"){ ee.parents(".product_infopanel").find(".doublePrice .oldprice .packUnitsTip").html(""); ee.parents(".product_infopanel").find("[sku-field='oldPrice']").html("<span class='wwhu'>未维护</span>"); }else{ ee.parents(".product_infopanel").find("[sku-field='oldPrice']").html("¥"+$.ex.format.formatNum(skusId.oldPrice,priceDec)); ee.parents(".product_infopanel").find(".doublePrice .oldprice .packUnitsTip").html("元/"+skusId.packUnits); } } } if(skusId.stepPriceDesc!=""){ ee.find(".fieldStepAmount").css("border-bottom","none"); priceStepInfo(ee.parents(".product_infopanel"),skusId.stepPriceDesc,skusId.priceEndTime,skusId.priceOfOrg); ee.parents(".product_infopanel").find("[sku-field='packUnits']").html(skusId.packUnits); } }); }); $(".product_infopanel .amount-input").unbind(); $(".product_infopanel .amount-input").bind("blur",function(){ var ee = $(this); var pp = $(this); if (!pp) return; var skuId = pp.attr("skuId"); var orgId = pp.attr("orgId"); var bizCenterId = pp.attr("bizCenterId"); var orgProductId = pp.attr("orgProductId"); var modCount = parseInt($(this).attr("modCount")); var buyAmount = parseInt($(this).val()); var minOrder = parseInt($(this).attr("minOrder")); var minAmount = parseInt($(this).attr("minAmount")); var maxBuyAmount = 999999; var minMultiple = modCount; var maxMultiple; if(buyAmount>=minAmount){ if(buyAmount%modCount==0){ if(buyAmount>=maxBuyAmount){ maxMultiple = parseInt(maxBuyAmount / modCount) * modCount; ee.val(maxMultiple); buyAmount = maxMultiple; } $.eh.shopDisplay.getProductPrice(orgId,bizCenterId,orgProductId,buyAmount,null,null,function(o){ var priceDec = o.results[0].priceDec; var skusId = o.results[0].skus[skuId]; var maxMultiple = skusId.buyAmount; ee.val(skusId.buyAmount); ee.parents(".product_infopanel").find("[sku-field='price']").html($.ex.format.formatNum(skusId.price,priceDec)); if(skusId.priceType==""){ if(typePrice=="doublePrice"){ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("成 交 价"); }else{ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("售 价"); } }else{ if(skusId.priceType=="协议价"){ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("协 议 价"); }else if(skusId.priceType=="特 价"){ ee.parents(".product_infopanel").find("[sku-field='priceType']").html("特 价"); }else{ ee.parents(".product_infopanel").find("[sku-field='priceType']").html(skusId.priceType); } if(typePrice=="doublePrice"){ if(skusId.oldPrice=="0"){ ee.parents(".product_infopanel").find(".doublePrice .oldprice .packUnitsTip").html(""); ee.parents(".product_infopanel").find("[sku-field='oldPrice']").html("<span class='wwhu'>未维护</span>"); }else{ ee.parents(".product_infopanel").find("[sku-field='oldPrice']").html("¥"+$.ex.format.formatNum(skusId.oldPrice,priceDec)); ee.parents(".product_infopanel").find(".doublePrice .oldprice .packUnitsTip").html("元/"+skusId.packUnits); } } } if(skusId.stepPriceDesc!=""){ ee.find(".fieldStepAmount").css("border-bottom","none"); priceStepInfo(ee.parents(".product_infopanel"),skusId.stepPriceDesc,skusId.priceEndTime,skusId.priceOfOrg); ee.parents(".product_infopanel").find("[sku-field='packUnits']").html(skusId.packUnits); } }); }else{ $.ex.msgbox.message('此商品不拆零销售,订购数量必须是<b>'+modCount+'</b>的倍数'); if(buyAmount>=maxBuyAmount){ maxMultiple = parseInt(maxBuyAmount / modCount) * modCount; $(this).val(maxMultiple); }else if(buyAmount<maxBuyAmount&&buyAmount>modCount){ maxMultiple = parseInt(buyAmount / modCount) * modCount; $(this).val(maxMultiple); }else if(buyAmount<modCount){ maxMultiple = modCount; $(this).val(maxMultiple); } return; } }else{ if( minAmount == "0"){ $.ex.msgbox.message('最小起订数量<b>'+(minAmount+1)+'</b>'); $(this).val(minAmount+1); }else{ $.ex.msgbox.message('最小起订数量<b>'+minAmount+'</b>'); $(this).val(minAmount); }; /* if(buyAmount>=maxBuyAmount){ maxMultiple = parseInt(maxBuyAmount / modCount) * modCount; $(this).val(maxMultiple); }else if(buyAmount<maxBuyAmount&&buyAmount>modCount){ maxMultiple = parseInt(buyAmount/ modCount) * modCount; $(this).val(maxMultiple); }else if(buyAmount<modCount){ maxMultiple = modCount; $(this).val(maxMultiple); } */ return; } }); var buyerAmountOrgId = $(".limitBuy_info").attr("orgid"); var buyerAmountBizcenterId = $(".limitBuy_info").attr("bizcenterid"); var orgProductId = $(".limitBuy_info").attr("orgproductid"); var params = { action: 'VSShop.getProductBuyerAmountList' ,orgId:buyerAmountOrgId ,orgProductIds:orgProductId ,bizCenterId:buyerAmountBizcenterId }; $.ex.ajax({ params: params, scope: this, afterAction: function(success, o) { if (success) { console.log(o); if(o.results.length>0){ var results = o.results; for(limitBuys in results){ for(limit in results[limitBuys]){ var limitBuys = results[limitBuys][limit]; var el = $('.limitBuy_info'); if(limitBuys.canBuyAmountOfDay!=undefined||limitBuys.canBuyAmountOfMonth!=undefined||limitBuys.canBuyAmountOfWeek!=undefined||limitBuys.canBuyAmountOfYear!=undefined){ el.show(); }else{ el.hide(); } if(limitBuys.canBuyAmountOfDay!=undefined){ el.find(".limitBuyDay .limitBuy_canAmount i").html(limitBuys.canBuyAmountOfDay); el.find(".limitBuyDay").addClass("show"); }else{ el.find(".limitBuyDay").hide(); } if(limitBuys.canBuyAmountOfWeek!=undefined){ el.find(".limitBuyWeek .limitBuy_canAmount i").html(limitBuys.canBuyAmountOfWeek); el.find(".limitBuyWeek").addClass("show"); }else{ el.find(".limitBuyWeek").hide(); } if(limitBuys.canBuyAmountOfMonth!=undefined){ el.find(".limitBuyMonth .limitBuy_canAmount i").html(limitBuys.canBuyAmountOfMonth); el.find(".limitBuyMonth").addClass("show"); }else{ el.find(".limitBuyMonth").hide(); } if(limitBuys.canBuyAmountOfYear!=undefined){ el.find(".limitBuyYear .limitBuy_canAmount i").html(limitBuys.canBuyAmountOfYear); el.find(".limitBuyYear").addClass("show"); }else{ el.find(".limitBuyYear").hide(); } } } a(); } } } }); var a = function(){ $(".limitBuy_info").each(function(){ var showLength = $(this).find(".show").length; if(showLength>1){ $(this).find(".more").addClass("select"); } }); } $('.more.select').die(); $('.more.select').live('click',function(){ if($(this).attr("zk")=="false"){ $(this).parents(".limitBuy_info").css("overflow","initial"); $(this).parents(".limitBuy_info").find(".main").css("box-shadow"," 1px 1px 1px #eee"); $(this).attr("zk","true") }else { $(this).parents(".limitBuy_info").css("overflow","hidden"); $(this).parents(".limitBuy_info").find(".main").css("box-shadow","initial"); $(this).attr("zk","false") } }); //初始化sku选择 initSkuSelector(); //原加减使用方法 //var obj=$(this).siblings(".amount-input"); //var amount=Number(obj.val())-1; //obj.val(amount); //$.ex.util.validAmount(obj,getMinOrder(productSetup)); //return false; //var obj=$(this).siblings(".amount-input"); //if( obj.val()<9999999999){ // var amount=Number(obj.val())+1; // obj.val(amount); // $.ex.util.validAmount(obj,getMinOrder(productSetup)); //} //return false; {/eval}
{if productSetup.productInfo.sellState} {if active||expire} {if (active.skuId==skuId)||(expire.skuId==skuId)} <div class="activefgx"></div> {if active.activitieType=="bulkBuy"} {if active.limitCode=="groupLimit"||active.limitCode=="orgLimit"||active.limitCode=="relLevelLimit"||active.limitCode=="relTypeLimit"||active.limitCode=="zoneLimit"} {else} <div class="bulkAction"> {if active.state=="waiting"} <a class="actionDo" href="${active.url}">了解活动</a> ##此分支貌似不存在 {else} <a class="actionDo" style="color: white;font-size: 16px;font-weight: 700;" href="${active.url}?skuId=${active.skuId}">点击进入抢购>></a> {/if} </div> {/if} {/if} {if expire.activitieType=="expireBuy"} {if expire.limitCode=="groupLimit"||expire.limitCode=="orgLimit"||expire.limitCode=="relLevelLimit"||expire.limitCode=="relTypeLimit"||expire.limitCode=="zoneLimit"} {else} <div class="bulkAction"><a class="actionDo" href="${expire.url}?expireBuyId=">近效期</a></div> {/if} {/if} {/if} {/if} {/if}
{eval} //倒计时 $.ux.countdown(".miao",{ showlevel:1 ,maxDay:10 ,callback:function(state){ //重新加载商品活动 $.eh.shopDisplay.getProductActivities(productSetup.orgId,productSetup.bizCenterId,productSetup.orgProductId,function(success,o){ if(success){ productSetup.activities=o.results; if (productSetup.activities){ $.ex.util.merge("#actives-tpl","#actives_el",productSetup); }else{ $("#actives_el").html(""); } } }); } }); //立即抢 $(".bulkBuyInfo .qiang").unbind(); $(".bulkBuyInfo .qiang").bind("click",function(){ if(($(".pro-tg").val() - $(".pro-tg").attr("stock")) > 0){ $.ex.msgbox.message("亲,库存不足,请联系客服!"); return; }else{ buyNow($(this)); } }); //添加购物车 $(".bulkBuyInfo .add").unbind(); $(".bulkBuyInfo .add").bind("click",function(){ if(($(".pro-tg").val() - $(".pro-tg").attr("stock")) > 0){ $.ex.msgbox.message("亲,库存不足,请联系客服!"); return; }else{ addToShopcart($(this)); } }); $(".bulkBuyInfo .amount-input").unbind(); $(".bulkBuyInfo .amount-input").bind("change",function(){ $.ex.util.validAmount(this,1); }); {/eval}
终端直营店
陕西医药控股集团派昂医药有限责任公司
公司:
陕西医药控股集团派昂医药有限责任公司
电话:
029-86409406
<div class="relType-now" relTypeId="${relType.relTypeId}" defaultType="${relType.defaultType}"><span class="relTypeName" style="display: inline-block;width: 180px;">当前服务门店:</span><i> {if relType.defaultType!=true} <span><img style="height: 14px;" src="/snapshot/vms/templet/7n/7njpgzo9299mdfkb/image//reltypes-fen.png"></span> {else} <span><img style="height: 14px;" src="/snapshot/vms/templet/7n/7njpgzo9299mdfkb/image//reltypes-zong.png"></span> {/if}${relType.relTypeName} </i></div>
<div class="tab" style="margin-top: 10px;"><div class="tab-title"><ul> {for recommend in recommends.packages} <li class="tit package-tit" canSell="${recommend.canSell}"><a href="javascript:void(0);" title="${recommend.caption}">${recommend.caption}</a></li> {/for} {for recommend in recommends.groups} <li class="tit"><a href="javascript:void(0);" title="${recommend.groupName}">${recommend.groupName}</a></li> {/for} </ul></div><div class="tab-contents"> {for recommend in recommends.packages} <div class="tab-content p-package recommend-con" > {var product=recommend.products[0]} <div class="main-item pl"><div class="img"><a href="${product.url}"><img src="${product.photo.moderateUrl}" /></a></div><div class="caption"><a href="${product.url}" class="p-name" title="${product.productCaption}" target="_blank">${product.productCaption}</a></div><div class="oldPrice"><span class="price">原价:</span><em>¥${product.oldPrice}</em></div> {if product.canSell} <div class="price" time2 = "${product.canSell}"><em>¥${product.price} × ${product.count}${product.packUnits}</em></div> {/if} </div><div class="parts-items"><ul> {for product in recommend.products} {if (product_index>0)} <li class="pl"><div class="img"><a href="${product.url}"><img src="${product.photo.moderateUrl}" /></a></div><div class="caption"><a href="${product.url}" class="p-name" title="${product.productCaption}" target="_blank">${product.productCaption}</a></div><div class="oldPrice"><span class="price">原价:</span><em>¥${product.oldPrice}</em></div> {if product.canSell} <div class="price" time = "${product.canSell}"><em>¥${product.price}</span>×${product.count}${product.packUnits}</em></div> {/if} </li> {/if} {/for} </ul></div><div class="sum"><div class="sumPrice"><span>套餐价:</span><em>¥${recommend.payment|money}</em></div><div class="discountlabel">节省:<em>${recommend.discount|money}</em>元</div><a href="${recommend.url}#package${recommend.packageId}" class="buy-now" aId="${recommend.packageId}" title="确认购买信息">去购买</a></div></div> {/for} {for recommend in recommends.groups} <div class="tab-content p-group recommend-con"> {var product=recommend.products[0]} <div class="main-item pl"><div class="img"><a href="${product.url}"><img src="${product.photo.moderateUrl}" /></a></div><div class="caption"><a href="${product.url}" class="p-name" title="${product.productCaption}" target="_blank">${product.productCaption}</a></div> {if typePrice=="doublePrice"} <div class="oldPrice"><span class="price">售 价:</span> {if product.oldPrice==0} 未维护 {else} <em>¥${product.oldPrice}</em> {/if} </div> {if product.canSell} <div class="price" time2 = "${product.canSell}"> {if product.priceType==""} 成交价: {else} ${product.priceType} {/if} <em>¥${product.price}/ ${product.packUnits}</em></div> {/if} {else} <div class="price"><em>¥${product.price}</em>/ ${product.packUnits}</div> {/if} </div><div class="parts-items"><ul style="width: 100%;"> {for product in recommend.products} {if (product_index>0)} <li class="pl"><div class="img"><a href="${product.url}"><img src="${product.photo.moderateUrl}" /></a></div><div class="caption"><a href="${product.url}" class="p-name" title="${product.productCaption}" target="_blank">${product.productCaption}</a></div> {if typePrice=="doublePrice"} <div class="oldPrice"><span class="price">售 价:</span>{if product.oldPrice>0}<em>¥${product.oldPrice}</em>{else}未维护{/if}</div> {if product.canSell} <div class="price" time2 = "${product.canSell}">成交价:{if product.price>0}<em>¥${product.price}/ ${product.packUnits}</em>{else}商家未定价{/if}</div> {/if} {else} <div class="price"><em>¥${product.price}</em>/ ${product.packUnits}</div> {/if} </li> {/if} {/for} </ul></div><div class="sum"><div class="sumPrice"><span>搭配价:</span><em>¥${recommend.payment|money}</em></div><a href="${recommend.url}#group${recommend.groupCode}" class="buy-now" title="确认购买信息">去购买</a></div></div> {/for} </div></div>
{eval} //选中tab页签 $(".p-recommend .tab").Jtab({ },function(content,index){ if (!content.attr("init")){ if(content.hasClass("p-package")){ alignItem(content.find(".parts-items ul")); } if(content.hasClass("p-group")){ var groupel=content.find(".parts-items ul"); var items=groupel.find("li"); if (items.length>=5) groupel.css({width:items.length*175+"px"}); else alignItem(content.find(groupel)); } } }); $(document).ready(function(){ var sum = 0; $(".more-recommend .tab-title li").each(function(){ sum += $(this).width(); }); $(".more-recommend .tab-title ul").width(sum+3); var recommendUl = $(".more-recommend .tab-title ul").width(); var recommendTitle = $(".more-recommend .tab-title").width(); if (recommendTitle < recommendUl){ $(".more-recommend .tab-title").height(48).css("overflow-x","scroll"); }else { $(".more-recommend .tab-title").height(29).css("overflow","initial"); } if(flagt){ $(".recommend-con .sum").html("<span class='nokan'>交易信息登录可见</span>"); $(".price").html(""); $(".oldPrice").html(""); } }); {/eval}
详细说明
会员评论
商品咨询
交易记录
产品资质
品 名:
苦参
通 用 名:
规 格:
1kg/袋
单 位:
袋
生产产商:
陕西西安/陕西兴盛德药业有限责任公司
剂型:
中药饮片
批准文号:
W
品牌名称:
产 地:
陕西西安/陕西兴盛德药业有限责任公司
英文名称:
指导零售价:
元
贮藏方法
阴凉(20度以下)
功用主治
清热燥湿,杀虫,利尿
<div class="comm-count"><table style="width:100%;table-layout:fixed;" cellspacing="0" border="0"><tr><td class="comm-t-g"><span class="ratioG">${total.ratioG}</span><span class="per">%</span><span class="label">强烈推荐</span></td><td class="comm-t-p"><ul><li><span class="comm-t-p-l">好评<span class="comm-t-p-d">(${total.ratioG}%)</span></span><span class="comm-t-p-p"><em style="width:${total.ratioG}%"></em></span></li><li><span class="comm-t-p-l">中评<span class="comm-t-p-d">(${total.ratioM}%)</span></span><span class="comm-t-p-p"><em style="width:${total.ratioM}%"></em></span></li><li><span class="comm-t-p-l">差评<span class="comm-t-p-d">(${total.ratioP}%)</span></span><span class="comm-t-p-p"><em style="width:${total.ratioP}%"></em></span></li></ul></td><td class="comm-t-a" ><!--自定义元素--><span des_ElId="001" editor="text"></span><br> {if total.canComment} <a href="javascript:void(0);" class="commentBtn">我要评论</a> {/if} </td></tr></table></div><!--评论表单--><form class="comment-form baseform" id="comment-form"><a href="javascript:void(0);" title="取消" class="btn_close"> </a><div class="caption">发表评论</div><table style="width:100%;table-layout:fixed;" cellspacing="0" border="0"><tr><td class="field_label comm-f-l">总体评价:</td><td class="field_input comm-f-c"><input type="text" id="comm-caption" name="caption" value="" /></td><td class="field_msg comm-f-t"><span class="Validform_checktip"></span></td></tr><tr><td class="comm-f-l">综合评分:</td><td class="comm-f-c"><div class="mark mark5" mark="5"><span mark="1" title="1分"></span><span mark="2" title="2分"></span><span mark="3" title="3分"></span><span mark="4" title="4分"></span><span mark="5" title="5分"></span><em class="markText">5 分</em><i>点击星星进行评分。</i><input type="hidden" value="5" name="mark"></div></td><td class="comm-f-t"></td></tr><tr><td class="field_label comm-f-l">详细评价:</td><td class="field_input comm-f-c"><textarea id="detail_comment" name="comment" cols="20" rows="3"> </textarea></td><!--自定义元素--><td class="field_msg comm-f-t" des_ElId="002" editor="text"><span class="Validform_checktip"> 欢迎您发表原创、对其它用户有参考价值的评价; </span></td></tr></table><div class="action"><a class="comment-submit" href="javascript:void(0);">提交</a></div></form><!--评价分组--><table class="comm-group" cellspacing=0><tr><td class="markType cur" markType="All" class="cur"><a href="javascript:void(0);" >全部评论(${total.count})</a></td><td class="markType" markType="G"><a href="javascript:void(0);" >好评(${total.countG})</a></td><td class="markType" markType="M"><a href="javascript:void(0);" >中评(${total.countM})</a></td><td class="markType" markType="P"><a href="javascript:void(0);" >差评(${total.countP})</a></td><td class="tip"><!--自定义元素--><span des_ElId="003" editor="text"> 评论均来自网友 </span></td></tr></table>
{eval} //分组浏览评价记录 $('.comm-group [markType]').die(); $('.comm-group [markType]').live("click",function(e){ $('.comm-group .cur').removeClass("cur"); var ee=$(e.target).closest('.comm-group [markType]'); ee.addClass('cur'); $.eh.comment.getComments(ee.attr("markType"),0); }); //我要评论 $(".comm-total .commentBtn").die(); $(".comm-total .commentBtn").live("click",function(){ var form=$("#comment-form"); if(!form.is(":hidden")) return; $.eh.comment.doComment(function(){ if($.browser.msie && parseInt($.browser.version)==6){ form.show(); }else{ form.slideDown(300); } }); }); //提交评价 $('#comment-form .btn_close').die(); $('#comment-form .btn_close').live('click',function(e){ $('#comment-form')[0].reset(); if($.browser.msie && parseInt($.browser.version)==6){ $('#comment-form').hide(); }else{ $('#comment-form').slideUp(300); } }); //表单验证与提交 var commentForm=$("#comment-form").Validform({ tiptype:2 ,btnSubmit:".comment-submit" ,postonce:true ,callback:function(form){ $.eh.comment.saveComment(form,function(success,o){ commentForm.resetStatus(); if (success){ $("#comment-form").hide(); $.eh.comment.refreshCommentTotal(function(){ $.eh.comment.getComments(); }); }else{ $.ex.msgbox.warning(o.message); } },this); return false; } }) $.Tipmsg.r=" "; commentForm.addRule([{ ele:"#comm-caption", datatype:"*2-60", nullmsg:"请输入总体评价。", errormsg:"总体评价不少于2个字,不多于60个字。" },{ ele:"#detail_comment", datatype:"*1-300", errormsg:"评价信息请控制在300字以内。", ignore:"ignore" } ]); $("#comment-form [mark]").die(); $("#comment-form [mark]").live('mouseover',function(e){ var ee = $(e.target); ee.closest(".mark")[0].className="mark mark"+ee.attr("mark"); }); $("#comment-form [mark]").live('mouseout',function(e){ var ee = $(e.target); ee.closest(".mark")[0].className="mark mark"+ee.closest(".mark").find("input").val(); }); $("#comment-form [mark]").live("click",function(e){ var ee = $(e.target); ee.closest(".mark").find(".markText").html(ee.attr("mark")+" 分"); ee.closest(".mark").find("input").val(ee.attr("mark")); }); {/eval}
<table style="width:100%;table-layout:fixed;" cellspacing="0" border="0"> {for comment in comments.results} <tr><td class="comm-l-u"><div class="comm-u-h"><img alt="${comment.userName}" src="${comment.photoUrl}"></div><div class="comm-u-n">${comment.userName}</div><div class="comm-u-t">${comment.createTime}</div></td><td class="comm-l-c"><i class="i-comment"></i><div class="comm-body" commentid="${comment.commentId}"><table style="table-layout:fixed;" cellspacing="0" border="0"><tr><td class="comm-b-l">整体评分:</td><td class="comm-b-c comm-b-m"> {var mark=comment.mark/5*100} <span class="start"><span style="width:${mark}%;"> </span></span></td></tr><tr><td class="comm-b-l">总体评价:</td><td class="comm-b-c">${comment.caption}</td></tr> {if comment.comment!=""} <tr><td class="comm-b-l">评价内容:</td><td class="comm-b-c">${comment.comment}</td></tr> {/if} <tr><td class="comm-b-l"></td><td class="comm-b-c"><div class="action"> 该评价对我 <a href="javascript:void(0);" class="accept" >有用(<em fieldvalue="accept">${comment.acceptCount}</em>)</a><a href="javascript:void(0);" class="oppose" >没用(<em fieldvalue="oppose">${comment.opposeCount}</em>)</a><a href="javascript:void(0);" class="reply">回 复</a></div><form class="reply-form"><a href="javascript:void(0);" title="取消" class="btn_close"> </a> <textarea name="reply"></textarea> <a class="reply-submit" href="javascript:void(0);">回 复</a></form></td></tr></table><div id="comm-reply-el_${comment.commentId}" class="comm-reply"> {var rowNum=comment.commentReplys.length} {if rowNum>0} <table style="table-layout:fixed;" cellspacing="0" border="0"> {for reply in comment.commentReplys} <tr><td class="comm-b-l"><span class="rowNum">${rowNum}</span></td><td class="comm-b-c"><div class="replyInof"><span class="comm-r-u">${reply.userName}</span> 回复说: <span class="comm-r-t">${reply.commitTime}</span></div><div class="comm-r-c">${reply.reply}</div></td></tr> {var rowNum=rowNum-1} {/for} </table> {/if} </div></div></td></tr> {forelse} <tr><td class="noRec">暂时还没有评价记录。</td></tr> {/for} </table> {if comments.numFound>$.eh.comment.getLimit()} <div class="pages" total="${comments.numFound}" pgNum="${comments.pgNum}" markType="${comments.markType}"></div> {/if}
{eval} $('.comm-l-c .accept').die(); $('.comm-l-c .accept').live("click",$.eh.comment.acceptComment); $('.comm-l-c .oppose').die(); $('.comm-l-c .oppose').live("click",$.eh.comment.opposeComment); $('.comm-l-c .reply').die(); $('.comm-l-c .reply').live("click",$.eh.comment.reply); $('.reply-form .reply-submit').die(); $('.reply-form .reply-submit').live("click",function(){ $.eh.comment.saveCommentReply($(this)); }); $('.reply-form .btn_close').die(); $('.reply-form .btn_close').live("click",function(e){ var form=$(e.target).closest('form'); form[0].reset(); if($.browser.msie && parseInt($.browser.version)==6){ form.hide(); }else{ form.slideUp(200); } }); var pages = $(".comm-list .pages"); if (!pages) return; var markType= pages.attr("markType"); var total= pages.attr("total"); var opt = {current_page:pages.attr('pgNum') ,items_per_page:$.eh.comment.getLimit() ,link_to:"javascript:void(0);" ,prev_text:"上一页" ,next_text:"下一页" ,callback:function(page_index,jq){ $.eh.comment.getComments(markType,page_index,total); var top = $(".comm-list").offset().top-50; $('body,html').animate({scrollTop:top},200); return false; } }; pages.pagination(pages.attr('total'), opt); {/eval}
{var rowNum=results.length} {if rowNum>0} <table style="table-layout:fixed;" cellspacing="0" border="0"> {for reply in results} <tr><td class="comm-b-l"><span class="rowNum">${rowNum}</span></td><td class="comm-b-c"><div class="replyInof"><span class="comm-r-u">${reply.userName}</span> 回复说: <span class="comm-r-t">${reply.commitTime}</span></div><div class="comm-r-c">${reply.reply}</div></td></tr> {var rowNum=rowNum-1} {/for} </table> {/if}
<div class="leaveMsg-summary"><table style="width:100%;table-layout:fixed;" cellspacing="0" border="0"><tr><td class="leaveMsg-tip"> 由于每位咨询者咨询的情况、提问时间各不相同,客服回复所依据的信息也不断变化。因此,客服给到的回复仅对提问者在一定时间内有效,其他网友仅供参考!给您带来的不便还请谅解,谢谢! </td><td class="leaveMsg-action"><!--请先登录后--><br><a class="leaveMsgBtn" href="javascript:void(0);">咨 询</a></td></tr></table></div><!--留言表单--><form id="leaveMsg-form" class="leaveMsg-form baseform"><a href="javascript:void(0);" title="取消" class="btn_close"> </a><div class="caption">咨询留言</div><table style="width:100%;table-layout:fixed;" cellspacing="0" border="0"><tr class="field_group"><td class="field_label red">*留言类型:</td><td class="field_input"><ul> {for group in total.groups} <li><input type="radio" id="leaveMsg-${group.groupId}" name="groupId" value="${group.groupId}" {if group_index==0} checked="checked" {/if} /><label for="leaveMsg-${group.groupId}">${group.groupName}</label></li> {/for} </ul></td><td class="leaveMsg-f-t"></td></tr><tr><td class="field_label red">*留言内容:</td><td class="field_input"><textarea id="leaveMsg-message" name="message" cols="20" rows="3"></textarea></td><td class="field_msg"><span class="Validform_checktip">请明确的描述您要咨询的问题,我们将尽快给您回复。</span></td></tr><tr><td class="field_label red">*联系电话:</td><td class="field_input"><input type="text" id="leaveMsg-telephone" name="telephone" value="" /></td><td class="field_msg"><span class="Validform_checktip">必埴,请填写真实电话号码</span></td></tr><tr><td class="field_label red"> 邮箱地址:</td><td class="field_input"><input type="text" id="leaveMsg-email" name="email" value="" /></td><td class="field_msg"><span class="Validform_checktip">请填写常用邮箱</span></td></tr><tr class="field field_checkCode"><td class="field_label">*验证码:</td><td class="field_input"><input id="checkCode" name="checkCode" type="text"/><div class="checkCodeImg"></div></td><td class="field_msg"><span class="Validform_checktip"></span></td></tr></table><div class="action"><a id="submitMsg" class="submit" href="javascript:void(0);">提 交</a></div></form><!--评价分组--><table class="leaveMsg-groups" style="width:100%;table-layout:fixed;" cellspacing="0" border="0"><tr><td class="leaveMsg-g leaveMsg-g-l cur" groupId="All" ><a href="javascript:void(0);">全部(${total.count})</a></td> {for group in total.groups} <td class="leaveMsg-g" groupId="${group.groupId}"><a href="javascript:void(0);">${group.groupName}(${group.count})</a></td> {/for} </tr></table> {for group in total.groups} <div class="groupDesc" id="groupDesc_${group.groupId}">${group.groupDesc}</div> {/for}
{eval} //按分类浏览留言 $('.leaveMsg-groups [groupId]').die(); $('.leaveMsg-groups [groupId]').live("click",function(e){ $('.leaveMsg-groups .cur').removeClass("cur"); var ee=$(e.target).closest('.leaveMsg-groups [groupId]'); ee.addClass('cur'); var groupId=ee.attr('groupId') $(".res-leaveMsgs .groupDesc").hide(); $("#groupDesc_"+groupId).show(); $.eh.leaveMsg.getLeaveMsgs(groupId,0); }); //我要留言 $(".leaveMsg-summary .leaveMsgBtn").die(); $(".leaveMsg-summary .leaveMsgBtn").live("click",function(){ var form=$("#leaveMsg-form"); if(!form.is(":hidden")) return; $.eh.leaveMsg.doLeaveMsg(function(){ if($.browser.msie && parseInt($.browser.version)==6){ form.show(); } else{ form.slideDown(300); } }); }); var captchaCode = $('.field_input .checkCodeImg').captchaCode(); //表单验证与提交 var leaveMsgForm=$("#leaveMsg-form").Validform({ tiptype:2 ,btnSubmit:"#submitMsg" ,postonce:true ,datatype:{ "phone":/^(0[0-9]{2,3}\-)?([2-9]{1}[0-9]{6,7}){1}(\-[0-9]{1,4})?$/, "e60":/^(?=\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$).{0,60}$/ } ,callback:function(form){ $.eh.leaveMsg.saveLeaveMsg(form,$('#checkCode').val(),function(success,o){ leaveMsgForm.resetStatus(); if (success){ form[0].reset(); form.hide(); leaveMsgForm.resetStatus(); $.eh.leaveMsg.getLeaveMsgTotal(function(){ $.eh.leaveMsg.getLeaveMsgs(); }); } else { $.ex.msgbox.warning(o.message); captchaCode.refresh(); $("#checkCode").val(""); leaveMsgForm.check(false,"#checkCode"); } }); return false; } }) $.Tipmsg.r=" "; leaveMsgForm.addRule([{ ele:"#leaveMsg-telephone", datatype:"phone|m", nullmsg:"请输入您的联系电话。", errormsg:"电话号码(或手机)格式错误。" },{ ele:"#leaveMsg-message", datatype:"*1-300", nullmsg:"请输入留言内容。", errormsg:"留言内容输入超长,请控制在300字以内。" },{ ele:"#checkCode", datatype:"*", nullmsg:"请输入图中显示验证码。" },{ ele:"#leaveMsg-email", datatype:"e60", errormsg:"邮箱格式错误。", ignore:"ignore" } ]); //关闭留言窗口 $('#leaveMsg-form .btn_close').die(); $('#leaveMsg-form .btn_close').live('click',function(e){ $('#leaveMsg-form')[0].reset(); if($.browser.msie && parseInt($.browser.version)==6){ $('#leaveMsg-form').hide(); } else{ $('#leaveMsg-form').slideUp(300); } }); {/eval}
{for leaveMsg in leaveMsgs.results} <div class="leaveMsg-item"><div class="leaveMsg-q"><div class="leaveMsg-q-c"><span class="label">提问:</span><span>${leaveMsg.message}</span></div><div class="leaveMsg-q-u"> 网友:${leaveMsg.userName} ${leaveMsg.createTime} </div></div><div class="leaveMsg-a"><em> </em><span class="label">回复:</span><span> {if leaveMsg.reMessage!=""} ${leaveMsg.reMessage} {else} 尚未回复。 {/if} </span></div></div> {forelse} <div class="noRec">暂时还没有咨询留言记录。</div> {/for} {if leaveMsgs.numFound>$.eh.leaveMsg.getLimit()} <div class="pages" total="${leaveMsgs.numFound}" pgNum="${leaveMsgs.pgNum}" groupId="${leaveMsgs.groupId}"></div> {/if}
{eval} var pages = $(".leaveMsg-list .pages"); if (!pages) return; var groupId = pages.attr('groupId'); var opt = {current_page:pages.attr('pgNum') ,items_per_page:$.eh.leaveMsg.getLimit() ,link_to:"javascript:void(0);" ,prev_text:"上一页" ,next_text:"下一页" ,callback:function(page_index,jq){ $.eh.leaveMsg.getLeaveMsgs(groupId,page_index); return false; } }; pages.pagination(pages.attr('total'), opt); {/eval}
{var isbtob=true} {if saleRecord.results.length>0} <div class="saleRecord-info">近三个月共有<em>${saleRecord.numFound}</em>笔交易记录。</div><table class="tab-saleRecord" cellspacing="0" border="0" style="width:100%;table-layout:fixed;"><tr><th class="buyer">买家</th><th class="amount">数量</th> {if !isbtob} <th class="price">单价</th> {/if} <th class="payment">成交时间</th><!--<th class="payment">状态</th> --></tr> {var row=0} {for bill in saleRecord.results} <tr class="row_${row}"><td class="buyer">${bill.givenName}</td><td class="amount">${bill.amount}</td> {if !isbtob} <td class="price">¥${bill.price|money}</td> {/if} <td class="createTime">${bill.createTime}</td><!--<td class="state"> {if bill.state=="6"||bill.state=="7"||bill.state=="8" } 撤销 {else} {if bill.state=="3"||bill.state=="4"} 成交 {else} 交易中 {/if} {/if} </td> --></tr> {if row==0} {var row=1} {else} {var row=0} {/if} {/for} </table> {else} <div class="noRec">当前商品近期没有交易记录。</div> {/if} {if saleRecord.numFound>saleRecord.limit} <div class="pages" total="${saleRecord.numFound}" pgNum="${saleRecord.pgNum}" shopProductId="${saleRecord.shopProductId}" nearMonths=${saleRecord.nearMonths} tpl="${saleRecord.tpl}" el="${saleRecord.el}" limit=${saleRecord.limit}></div> {/if}
{eval} var pages = $(".saleRecord-list .pages"); if (!pages) return; var shopProductId=pages.attr("shopProductId"); var nearMonths=pages.attr("nearMonths"); var tpl=pages.attr("tpl"); var el=pages.attr("el"); var limit=pages.attr("limit"); var opt = {current_page:pages.attr('pgNum') ,items_per_page:limit ,link_to:"javascript:void(0);" ,prev_text:"上一页" ,next_text:"下一页" ,callback:function(page_index,jq){ $.eh.shopDisplay.getProductSellRecords(shopProductId,nearMonths,page_index,limit,tpl,el); var top = $(".saleRecord-list").offset().top-50; $('body,html').animate({scrollTop:top},200); return false; } }; pages.pagination(pages.attr('total'), opt); {/eval}
<form class="baseform productDemandForm"><input type="hidden" name="orgProductId" value="${product.orgProductId}" /><input type="hidden" name="shopProductId" value="${product.shopProductId}" /><input type="hidden" name="skuId" value="${product.skuId}" /><input type="hidden" name="productCaption" value="${product.productCaption}" /><input type="hidden" name="packUnits" value="${product.packUnits}" /><input type="hidden" name="packAmount" value="${product.packAmount}" /><input type="hidden" name="specDesc" value="${product.specDesc}" /><input type="hidden" name="url" value="${product.url}" /><input type="hidden" name="orgId" value="${product.orgId}" /><input type="hidden" name="bizCenterId" value="${product.bizCenterId}" /><input type="hidden" name="skuCode" value="${product.skuCode}" /><div class="caption">商品需求登记</div><dl><dt>商品:</dt><dd>${product.productCaption}</dd></dl><dl><dt>规格:</dt><dd>${product.packUnits} ${product.specDesc}</dd></dl><table class="contactInfo" border=0 cellspacing=0 style="width:100%;table-layout:fixed;"><tr class="field field_telephone"><td class="field_label red">数量:</td><td class="field_input"><input id="amount" name="amount" type="text" maxlength="10" value="1" /></td><td class="field_msg"><span class="Validform_checktip">欲购商品数量。</span></td></tr><tr class="field field_time"><td class="field_label red" >截止日期:</td><td class="field_input"><input id="date" name="arriveDate" type="text" placeholder="书写格式:2017-01-01" /></td><td class="field_msg"><span class="Validform_checktip">请填写欲订购商品时间。</span></td></tr><tr class="field field_telephone"><td class="field_label red">电话:</td><td class="field_input"><input id="telephone" name="telephone" type="text" /></td><td class="field_msg"><span class="Validform_checktip">请填写联系电话以便与您联系。</span></td></tr><!-- <tr class="field field_email"><td class="field_label">邮箱:</td><td class="field_input"><input id="email" name="email" type="text" /></td><td class="field_msg"><span class="Validform_checktip">请填写常用邮箱。</span></td></tr> --><tr class="field field_message"><td class="field_label " >留言:</td><td class="field_input" colspan="2"> <textarea name="message" id="message" class="message-text" ></textarea> </td></tr><!-- <tr class="field field_checkCode"><td class="field_label">验证码:</td><td class="field_input"><input id="checkCode" name="checkCode" type="text"/><div class="checkCodeImg"></div></td><td class="field_msg"><span class="Validform_checktip"></span></td></tr> --></table><div class="tip">请留下您的联系方式,以方便我们的客服人员联系您,接洽购买此商品的相关事宜。</div><div class="action"><a id="submit" href="javascript:void(0);" class="submit">提 交</a></div></form>
{eval} // var captchaCode = $('.field_input .checkCodeImg').captchaCode(); //表单验证与提交 var form=$(".productDemandForm").Validform({ tiptype:2 ,datatype:{ "phone":/^(0[0-9]{2,3}\-)?([2-9]{1}[0-9]{6,7}){1}(\-[0-9]{1,4})?$/, "amount":/^(0*|[1-9])\d{0,9}$/, "empty": /^\s+$/, "date": function(gets,obj,curform,regxp){ var nowtime = GetDateStr(0); var inputtime = $(obj).val(); var ret = /^(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)$/; var now = new Date(nowtime.replace("-", "/").replace("-", "/")); var end = new Date(inputtime.replace("-", "/").replace("-", "/")); if(ret.test(inputtime)){ if(end>=now) return true; }else{ return false; } return false; } } ,usePlugin:{ datepicker:{} } ,btnSubmit:"#submit" ,callback:function(data){ //执行表单提交 $.eh.shopDisplay.saveProductDemand(data,function(success,o){ if (success){ $.ex.msgbox.success("需求登记成功,感谢您的支持!",function(){ $.colorbox.close(true); }); }else{ $.ex.msgbox.warning(o.message); } }); return false; } }) $.Tipmsg.r=" "; form.addRule([{ ele:"#amount", datatype:"amount", errormsg:"请输入正确的购买数量。" },{ ele:"#message", datatype:"*1-200", errormsg:"留言内容请控制在200字以内。", ignore:"ignore" },{ ele:"#telephone", datatype:"phone|m", nullmsg:"请输入电话号码。", errormsg:"请输入正确的电话号码。" },{ ele:"#date", datatype:"empty|date", nullmsg:"请按提示输入订购日期,订购日期不能小于当前日期!", errormsg:"请按提示输入订购日期,订购日期不能小于当前日期!" } ]); //获取时间 function GetDateStr(AddDayCount) { var dd = new Date(); dd.setDate(dd.getDate()+AddDayCount);//获取AddDayCount天后的日期 var y = dd.getFullYear(); var m = (dd.getMonth()+1)<10?"0"+(dd.getMonth()+1):(dd.getMonth()+1);//获取当前月份的日期,不足10补0 var d = dd.getDate()<10?"0"+dd.getDate():dd.getDate();//获取当前几号,不足10补0 return y+"-"+m+"-"+d; } {/eval}
回到顶部