641 lines
42 KiB
Plaintext
641 lines
42 KiB
Plaintext
<view class="{{isIpx?'fui-iphonex-button':''}}"></view>
|
||
<import src="/utils/wxParse/wxParse.wxml"></import>
|
||
<loading wx:if="{{!show}}">加载中...</loading>
|
||
<view bindtap="closeBtn" class="page-shade" wx:if="{{show&&closeBtn}}">></view>
|
||
<view class="fui-share {{isIpx?'fui-iphonex-share':''}}" wx:if="{{show&&closeBtn}}">
|
||
<view class="share-choose">
|
||
<button openType="share" style="border: none;background:none;padding-left: 0;line-height: 1;margin: 0;">
|
||
<view class="share-wechat">
|
||
<image src="{{imgUrl+'plugin/app/static/images/wxapp/share/wechat.png'}}"></image>
|
||
<view class="text-explain">分享给朋友</view>
|
||
</view>
|
||
</button>
|
||
<view bindtap="sharePoster" class="share-poster">
|
||
<image src="{{imgUrl+'plugin/app/static/images/wxapp/share/post.png'}}"></image>
|
||
<view class="text-explain">生成商品图片</view>
|
||
</view>
|
||
<view bindtap="touch_loop" class="share-poster" wx:if="{{goods.icons!=''&&goods.tbs!=undefined&&goods.tbs.length!=0}}">
|
||
<image src="{{goods.icons}}" style="border-radius: 50%;"></image>
|
||
<view class="text-explain">一键发圈</view>
|
||
</view>
|
||
<view class="test-container" wx:if="{{isgoods&&goodscircle.can_share_goodscircle}}">
|
||
<image src="{{imgUrl+'plugin/app/static/images/wxapp/share/goodscircle.png'}}"></image>
|
||
<view class="text-explain">好物圈</view>
|
||
<share-button bind:error="on_error" product="{{goodscircle.share_goodscircle_product}}"></share-button>
|
||
</view>
|
||
<view bindtap="videoLink" class="share-wechat" wx:if="{{videoCheck}}">
|
||
<image src="{{imgUrl+'plugin/app/static/images/wxapp/share/videoAccount.png'}}"></image>
|
||
<view class="text-explain">视频号链接</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="closeBtn" class="close-btn">关闭</view>
|
||
</view>
|
||
<view catchtouchmove="preventTouchMove" class="hairpin page-shade" wx:if="{{hairpin}}">
|
||
<view class="hairModal">
|
||
<view class="hairHeader">
|
||
<view class="hairTit">{{goods.title}}</view>
|
||
<view bindtap="hairClose" class="hairClose">×</view>
|
||
</view>
|
||
<view class="hairDesc">{{goods.tbs_text}}</view>
|
||
<view class="hairImg">
|
||
<image bindtap="showimage" data-src="{{item}}" src="{{item}}" wx:for="{{goods.tbs}}" wx:key="index"></image>
|
||
</view>
|
||
<view class="hairLine" style="bottom:{{isIpx?'170rpx':''}}"></view>
|
||
<view class="hairBtn" style="padding-bottom:{{isIpx?'100rpx':''}}">
|
||
<view bindtap="copy_touch" class="hairText">复制文本</view>
|
||
<view bindtap="save_touch" class="hairImage">保存图片</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="hintclick" class="hint" wx:if="{{show&&!limits}}">您还未授权无法查看商品完整信息,点击可重新获取授权喔~</view>
|
||
<view class="page comment-block" style="background:{{diypages.page.background}};" wx:if="{{show}}">
|
||
<view class="goods-detail-goods" wx:if="{{showgoods}}">
|
||
<view wx:if="{{usediypage!=false}}">
|
||
<include src="/pages/diy/index.wxml"></include>
|
||
</view>
|
||
<view wx:if="{{usediypage==false}}">
|
||
<block wx:if="{{goods.video_type!=0||!goods.video_type}}">
|
||
<view style="height:{{advHeight}}rpx;position:relative;display:{{showvideo?'block':'none'}}" wx:if="{{goods.video||goods.end_video_url}}">
|
||
<view wx:if="{{cover}}">
|
||
<image class="bg" mode="aspectFit" src="{{goods.video_cut}}" style="height:100%;width:100%" wx:if="{{goods.video_cut}}"></image>
|
||
<image class="bg" mode="aspectFit" src="{{goods.thumb}}" style="height:100%;width:100%" wx:else></image>
|
||
<image bindtap="startplay" class="play" src="{{play}}" style="width:150rpx;height:140rpx"></image>
|
||
<view class="mc">
|
||
<view bindtap="showvideo" class="video_btn active">视频</view>
|
||
<view bindtap="showpic" class="pic_btn">图片</view>
|
||
</view>
|
||
</view>
|
||
<video controls bindfullscreenchange="bindfullscreenchange" bindpause="bindpause" class="video {{showpic||cover?'none':'block'}}" id="myVideo" muted="{{soundpic}}" showMuteBtn="{{true}}" src="{{goods.video}}" style="width:100%;height:{{advHeight}}rpx;" wx:if="{{goods.video_type==1||!goods.video_type}}">
|
||
<cover-image bindtap="changevoice" class="voice" src="{{sound?voice:mute}}"></cover-image>
|
||
<cover-view class="mc" wx:if="{{success}}">
|
||
<cover-view class="video_btn active">视频</cover-view>
|
||
<cover-view bindtap="showpic" class="pic_btn">图片</cover-view>
|
||
</cover-view>
|
||
</video>
|
||
<video controls bindfullscreenchange="bindfullscreenchange" bindpause="bindpause" class="video {{showpic||cover?'none':'block'}}" id="myVideo" muted="{{soundpic}}" showMuteBtn="{{true}}" src="{{goods.end_video_url}}" style="width:100%;height:{{advHeight}}rpx;" wx:if="{{goods.video_type==2}}">
|
||
<cover-image bindtap="changevoice" class="voice" src="{{sound?voice:mute}}"></cover-image>
|
||
<cover-view class="mc" wx:if="{{success}}">
|
||
<cover-view class="video_btn active">视频</cover-view>
|
||
<cover-view bindtap="showpic" class="pic_btn">图片</cover-view>
|
||
</cover-view>
|
||
</video>
|
||
</view>
|
||
</block>
|
||
<view class="goods-advs {{showpic||!goods.video_type||goods.video_type==0?'block':'none'}}" style="width:100%;height:auto;position:relative">
|
||
<swiper circular="{{circular}}" class="index-adcs-sqiper" duration="{{duration}}" indicatorDots="{{indicatorDots}}" interval="{{interval}}" style="width:100%;height:{{advHeight}}rpx;">
|
||
<swiper-item wx:for="{{goods.thumbs}}" wx:for-index="idx" wx:key="thumb_key">
|
||
<image bindload="{{idx==0?'imageLoad':''}}" class="goodsadvimg" mode="aspectFit" src="{{item}}"></image>
|
||
</swiper-item>
|
||
</swiper>
|
||
<view class="mc" wx:if="{{goods.video_type!=0}}">
|
||
<view bindtap="showvideo" class="video_btn" wx:if="{{goods.video||goods.end_video_url}}">视频</view>
|
||
<view bindtap="showpic" class="pic_btn active" wx:if="{{goods.video||goods.end_video_url}}">图片</view>
|
||
</view>
|
||
</view>
|
||
<view class="seckill-container " wx:if="{{goods.seckillinfo}}">
|
||
<view class="fui-list seckill-list" style="">
|
||
<view class="fui-list-media seckill-price">
|
||
¥
|
||
<span>{{goods.seckillinfo.price}}</span>
|
||
</view>
|
||
<view class="fui-list-inner">
|
||
<view class="text">
|
||
<span class="oldprice">{{goods.marketprice}}</span>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-list seckill-list1">
|
||
<view class="fui-list-inner">
|
||
<view class="text ">已出售 {{goods.seckillinfo.percent}}%</view>
|
||
<view class="text ">
|
||
<span class="process">
|
||
<view class="process-inner" style="width: {{goods.seckillinfo.percent}}%"></view>
|
||
</span>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-list seckill-list2" style="">
|
||
<view class="fui-list-inner">
|
||
<view class="text ">{{goods.seckillinfo.status==1?'距开始':'距结束'}}还有</view>
|
||
<view class="text timer">
|
||
<span class="time-hour">{{hour}}</span>
|
||
:
|
||
<span class="time-min">{{min}}</span>
|
||
:
|
||
<span class="time-sec">{{sec}}</span>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group fui-detail-group">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-text name">
|
||
<text class="fui-tag fui-tag-danger" wx:if="{{goods.ispresell==1&&goods.ispresellshow==1}}">预</text>
|
||
<text class="cycle-tip" wx:if="{{goods.type==9}}">周期购</text>
|
||
<text selectable="true">{{goods.title}}</text>
|
||
</view>
|
||
<view bindtap="showshade" class="fui-cell-remark showshade" style="margin-left: 60rpx;">
|
||
<i class="icox icox-send" style="font-size:42rpx;color: #fd5555;"></i>
|
||
<view style="font-size: 20rpx;color: #666;margin-top:-6rpx;">分享</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell goods-subtitle" wx:if="{{goods.subtitle}}">
|
||
<text class="text-danger" selectable="true">{{goods.subtitle}}</text>
|
||
</view>
|
||
<view class="fui-cell" wx:if="{{!goods.seckillinfo}}">
|
||
<view class="fui-cell-text price">
|
||
<view class="text-danger {{goods.ispresell>0&&preselltimeend>now?goods.hasoption==1?price.isTooLong( [goods.minpresellprice,goods.maxpresellprice] )?'fz-28':'fz-36':'fz-36':price.isTooLong( [minprice,maxprice] )?'fz-28':'fz-36'}}">
|
||
¥
|
||
<block wx:if="{{goods.ispresell>0&&preselltimeend>now}}">
|
||
<text wx:if="{{goods.hasoption==1}}">
|
||
<text wx:if="{{goods.minpresellprice!=goods.maxpresellprice}}">{{goods.minpresellprice}}~{{goods.maxpresellprice}}</text>
|
||
<text wx:else>{{goods.minpresellprice}}</text>
|
||
</text>
|
||
<text wx:else>{{goods.presellprice}}</text>
|
||
</block>
|
||
<block wx:else>
|
||
<block wx:if="{{minprice==goods.maxprice}}">
|
||
{{minprice}}
|
||
</block>
|
||
<block wx:else>
|
||
{{minprice}} ~ {{maxprice}}
|
||
</block>
|
||
</block>
|
||
<text class="original" wx:if="{{goods.isdiscount!=0&&goods.isdiscount_time>=now}}">¥{{goods.productprice}}</text>
|
||
<block wx:else>
|
||
<text class="original" wx:if="{{goods.productprice>goods.marketprice}}">¥{{goods.productprice}}</text>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
<view class="detail-Commission flex" style="padding-bottom: 0" wx:if="{{goods.cansee>0&&goods.seecommission>0}}">
|
||
<view class="text">{{goods.seetitle}}</view>
|
||
<view class="num flex1">¥{{goods.seecommission}}</view>
|
||
</view>
|
||
</view>
|
||
<view class="row row-time" wx:if="{{goods.ispresell==1&&goods.preselltimeend!=0&&goods.ispresellshow==1}}">
|
||
<view id="time-container">
|
||
<text class="label">{{goods.preselltitle?goods.preselltitle:'距离预售开始'}}</text>
|
||
<span class="number" style="{{index==0?'margin-left:20rpx':''}}" wx:for="{{time}}" wx:key="time_key">{{item}}{{index==0?' 天 ':''}}{{index==1?' 时 ':''}}{{index==2?' 分 ':''}}{{index==3?' 秒 ':''}}</span>
|
||
</view>
|
||
</view>
|
||
<view class="row row-time" id="discount" wx:if="{{goods.isdiscount!=0&&goods.isdiscount_time>=now&&goods.isdiscount_time_start<=now}}">
|
||
<view id="discount-container">
|
||
<text class="icox icox-shijian1"></text>
|
||
<text class="label">{{goods.isdiscount_title?goods.isdiscount_title:'促销'}}</text>
|
||
<block wx:if="{{discountTitle}}">{{discountTitle}}</block>
|
||
<block wx:else>
|
||
<span class="number" style="{{index==0?'margin-left:20rpx':''}}" wx:for="{{time}}" wx:key="time_key">{{item}}{{index==0?' 天 ':''}}{{index==1?' 时 ':''}}{{index==2?' 分 ':''}}{{index==3?' 秒 ':''}}</span>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
<view class="row row-time" wx:if="{{goods.istime>0}}">
|
||
<view id="time-container">
|
||
<text class=" icox icox-shijian1"></text>
|
||
<text class="label" wx:if="{{istime!=0}}">距离{{istimeTitle?istimeTitle:'限时购'}}<block wx:if="{{istimeTitleEnd==0}}">开始</block>
|
||
<block wx:elif="{{istimeTitleEnd==1}}">结束</block>
|
||
</text>
|
||
<block wx:if="{{istime==0}}"> {{istimeTitle?istimeTitle:'限时购'}} 活动已经结束,下次早点来~</block>
|
||
<block wx:else>
|
||
<span class="number" style="{{index==0?'margin-left:20rpx':''}}" wx:for="{{time}}" wx:key="time_key">{{item}}{{index==0?' 天 ':''}}{{index==1?' 时 ':''}}{{index==2?' 分 ':''}}{{index==3?' 秒 ':''}}</span>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-text flex">
|
||
<block wx:if="{{goods.isshowfreight==1}}">
|
||
<block wx:if="{{dispatchpriceObj==1}}">
|
||
<text wx:if="{{goods.type==1}}">快递:{{goods.dispatchprice.min}} ~ {{goods.dispatchprice.max}}</text>
|
||
</block>
|
||
<block wx:else>
|
||
<text wx:if="{{goods.isverify!=2}}">快递:<block wx:if="{{goods.dispatchprice==0}}">
|
||
<block wx:if="{{activity.postfree.goods}}">包邮</block>
|
||
<block wx:else>{{goods.dispatchprice}}</block>
|
||
</block>
|
||
<block wx:else>{{goods.dispatchprice}}</block>
|
||
</text>
|
||
</block>
|
||
</block>
|
||
<block wx:if="{{!goods.seckillinfo||goods.seckillinfo&&goods.seckillinfo.status==1}}">
|
||
<text wx:if="{{goods.showtotal==1}}">库存:{{goods.total}}</text>
|
||
<text wx:if="{{goods.showsales==1}}">销量:{{goods.sales}}{{goods.unit}}</text>
|
||
</block>
|
||
<text wx:if="{{goods.province!='请选择省份'&&goods.city!='请选择城市'}}">{{goods.province}}{{goods.city}}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group fui-cell-click fui-sale-group" style="margin-top:0" wx:if="{{goods.ispresell==1&&(preselltimeend>now||preselltimeend==0)}}">
|
||
<view class="fui-list">
|
||
<view class="fui-list-media">
|
||
<view class="fui-cell-text">
|
||
<span class="fui-label fui-label-safety">预售</span>
|
||
</view>
|
||
</view>
|
||
<view class="fui-list-inner" style="font-size:26rpx;color:#666;">
|
||
<view wx:if="{{preselltimeend>0}}">结束时间:{{goods.preselldateend}}</view>
|
||
预计发货:
|
||
<block wx:if="{{goods.presellsendtype>0}}">
|
||
购买后{{goods.presellsendtime}}天发货
|
||
</block>
|
||
<block wx:else>
|
||
{{goods.presellsendstatrttime}}
|
||
</block>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="favourable" wx:if="{{!goods.seckillinfo}}">
|
||
<view class="fui-cell-group fui-sale-group" style="margin-top:0" wx:if="{{goods.buyagain>0}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-text" style="white-space:normal;">此商品二次购买 可享受
|
||
<span class="text-danger">{{goods.buyagain}}</span>折优惠
|
||
<view wx:if="{{!goods.buyagain_sale}}">二次购买的时候 不与其他优惠共享</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="couponPicker" class="fui-cell-group fui-cell-click fui-sale-group noborder" wx:if="{{coupon.length>0}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-text coupon-selector">
|
||
<span style="margin-right: 0.25rem">优惠券</span>
|
||
<span class="coupon-mini" wx:if="{{index<5}}" wx:for="{{coupon}}" wx:key="coupon_key">
|
||
<span class="subtitle" wx:if="{{item.backpre}}">¥</span>{{item.backmoney}}
|
||
<span class="subtitle" wx:if="{{item.backtype==1}}">折</span>
|
||
</span>
|
||
</view>
|
||
<view class="fui-cell-remark">
|
||
<text wx:if="{{coupon_l>5}}">更多</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<block wx:if="{{limits}}">
|
||
<block wx:if="{{goods.isdiscount==0||goods.isdiscount!=0&&goods.isdiscount_time<now}}">
|
||
<view class="fui-cell-group fui-sale-group" wx:if="{{!goods.memberprice==''&&goods.memberprice!=minprice&&!goods.levelbuy==0}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label" style="color:#000;width:86rpx">会员</view>
|
||
<view class="fui-cell-text">
|
||
<view class="sale-line">
|
||
<span class="sale-tip">{{goods.memberprice.levelname}}</span> 可享受
|
||
<span class="text-danger">¥{{goods.memberprice.price}}</span> 的价格</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
</block>
|
||
<block wx:if="{{limits}}">
|
||
<view bindtap="giftPicker" class="fui-cell-group fui-sale-group" wx:if="{{goods.isgift==1}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label" style="color:#000;width:98rpx">赠品</view>
|
||
<view class="fui-cell-info" wx:if="{{goods.gifts.length==1}}">{{goods.gifts[0].title}}</view>
|
||
<view class="fui-cell-info" style="{{gift_title?'':'color:#666;'}}" wx:else>{{gift_title?gift_title:'请选择赠品'}}</view>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<view bindtap="activityPicker" class="fui-cell-group fui-sale-group" style="margin-top: 1rpx;" wx:if="{{limits&&activity!=''}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label" style="color:#000;width:86rpx">活动</view>
|
||
<view class="fui-cell-text">
|
||
<view class="sale-line" style="font-size: 24rpx;" wx:if="{{activity.enough||activity.merch_enough}}">
|
||
<span class="sale-tip">满减</span>
|
||
<text wx:if="{{activity.enough}}">全场满{{activity.enough[0].enough}}立减{{activity.enough[0].money}};</text>
|
||
<text wx:if="{{activity.merch_enough}}">本店满{{activity.merch_enough[0].enough}}立减{{activity.merch_enough[0].give}};</text>
|
||
</view>
|
||
<view class="sale-line" style="font-size: 24rpx;" wx:if="{{fullbackgoods}}">
|
||
<span class="sale-tip">{{goods.fullbacktext}}</span>
|
||
该商品享受
|
||
<span class="text-danger" wx:if="{{fullbackgoods.type==0}}">¥{{fullbackgoods.maxallfullbackallprice}}</span>
|
||
<span class="text-danger" wx:if="{{fullbackgoods.type==1}}">{{maxallfullbackallratio}}%</span>
|
||
的{{goods.fullbacktext}}
|
||
</view>
|
||
<view class="sale-line" style="font-size: 24rpx;" wx:if="{{activity.postfree}}">
|
||
<span class="sale-tip">包邮</span>
|
||
<span wx:if="{{activity.postfree.goods}}"> 本商品包邮;</span>
|
||
<text wx:if="{{activity.postfree.scope}}">
|
||
<text>{{activity.postfree.scope}}</text>
|
||
<text wx:if="{{activity.postfree.enoughfree>0}}">满¥{{activity.postfree.enoughfree}}</text>
|
||
<text>包邮</text>
|
||
</text>
|
||
<text wx:if="{{activity.postfree.num}}">单品买{{activity.postfree.num}}件包邮;</text>
|
||
<text wx:if="{{activity.postfree.price}}">单品买¥{{activity.postfree.price}}包邮</text>
|
||
</view>
|
||
<view class="sale-line" style="font-size: 24rpx;" wx:if="{{activity.buyagain}}">
|
||
<span class="sale-tip">复购</span>
|
||
此商品重复购买可享受 {{activity.buyagain.discount}}折;
|
||
<span wx:if="{{activity.buyagain.buyagain_sale==0}}">重复购买 不与其他优惠共享</span>
|
||
</view>
|
||
<view class="sale-line" style="font-size: 24rpx;" wx:if="{{activity.credit}}">
|
||
<span class="sale-tip">{{credittext}}</span>
|
||
<text wx:if="{{activity.credit.deduct}}">最高抵扣¥{{activity.credit.deduct}};</text>
|
||
<text wx:if="{{activity.credit.give}}">购买赠送{{activity.credit.give}}{{credittext}}</text>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="sendclick" class="fui-cell-group fui-sale-group" style="margin-top: 1rpx;" wx:if="{{goods.city_express_state}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label" style="color:#000;width:86rpx">配送</view>
|
||
<view class="fui-cell-label sale-line" style="flex: 1;font-size: 24rpx;">
|
||
<span class="sale-tip">同城</span> 查看商家位置
|
||
</view>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="cityPicker" class="fui-cell-group fui-cell-click fui-sale-group" data-class="city-picker" data-tap="{{active}}" id="city-picker" style="margin-top:0" wx:if="{{goods.citys.citys.length>0&&goods.type!=5&&goods.isverify!=2}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-text">{{goods.citys.onlysent==0?'不':'只'}}配送区域:
|
||
<block wx:for="{{goods.citys.citys}}" wx:for-index="idx" wx:key="city_key">{{item}}</block>
|
||
</view>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group fui-option-group" style="margin-top:0" wx:if="{{goods.hasServices||goods.labelname}}">
|
||
<view class="goods-label-demo">
|
||
<view class="goods-label-list goods-label-style{{labels.style+1}}" style="background:#fafafa">
|
||
<span wx:for="{{labels.list}}" wx:key="label_key">
|
||
<icon class="icox icox-duihao1" wx:if="{{labels.style<2}}"></icon>
|
||
<text>{{item}}</text>
|
||
</span>
|
||
<view style="clear: both;"></view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="selectPicker" class="fui-cell-group fui-cell-click" data-buytype="select" data-class="select-picker" data-id="{{goods.id}}" data-tap="{{active}}" wx:if="{{goods.canbuy}}">
|
||
<view class="fui-cell" wx:if="{{!isSelected}}">
|
||
<view class="fui-cell-text option-selector">请选择
|
||
<block wx:if="{{goods.spec_titles}}">{{goods.spec_titles}}等</block>
|
||
<block wx:else>数量</block>
|
||
</view>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
<view class="fui-cell" wx:else>
|
||
<view class="fui-cell-info">已选:数量x{{total}} {{specsTitle}}</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group fui-cell-click nobuy " style="bottom:{{isIpx?'68rpx':'0'}}" wx:else>
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-text">
|
||
<block wx:if="{{goods.userbuy==0}}">您已经超出最大{{goods.usermaxbuy}}件购买量</block>
|
||
<block wx:elif="{{goods.levelbuy==0}}">您当前会员等级没有购买权限</block>
|
||
<block wx:elif="{{goods.groupbuy==0}}">您所在的用户组没有购买权限</block>
|
||
<block wx:elif="{{goods.timebuy==-1}}">未到开始抢购时间!</block>
|
||
<block wx:elif="{{goods.timebuy==1}}">抢购时间已经结束!</block>
|
||
<block wx:elif="{{goods.total<=0}}">商品已经售罄!</block>
|
||
<block wx:elif="{{goods.status==0}}">商品已下架!</block>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group fui-comment-group" wx:if="{{packagegoods}}">
|
||
<navigator url="/pages/goods/package/index?id={{packagegoodsid}}">
|
||
<view class="fui-cell fui-cell-click">
|
||
<view class="fui-cell-text desc">{{packageList.title}}</view>
|
||
<text class="fui-cell-text desc label" url="/pages/goods/package/index?id={{packagegoodsid}}">更多套餐</text>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
</navigator>
|
||
<view id="package">
|
||
<navigator hoverClass="none" id="package_list" style="width:{{packageList.goods.length*220-20}}rpx" url="/pages/goods/package/detail/index?id={{packageList.id}}">
|
||
<view class="package-goods package-goods3" wx:for="{{packageList.goods}}" wx:key="package_key">
|
||
<image class="package-goods-img" src="{{item.thumb}}"></image>
|
||
<p>{{item.title}}</p>
|
||
<text class="icox icox-tianjiazhuanhuan"></text>
|
||
</view>
|
||
</navigator>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group fui-shop-group">
|
||
<navigator class="fui-list" openType="switchTab" url="/pages/index/index">
|
||
<view class="fui-list-media">
|
||
<image src="{{goods.shopdetail.logo}}"></image>
|
||
</view>
|
||
<view class="fui-list-inner">
|
||
<view class="title">{{goods.shopdetail.shopname}}
|
||
<text class="title-wel">{{goods.shopdetail.btntext2}}</text>
|
||
</view>
|
||
<view class="subtitle" wx:if="{{goods.shopdetail.description}}">{{goods.shopdetail.description}}</view>
|
||
</view>
|
||
</navigator>
|
||
</view>
|
||
<view class="fui-cell-group" wx:if="{{goods.buycontentshow>0}}">
|
||
<view class="fui-cell" style="display: block;">
|
||
<template is="wxParse" data="{{wxParseData:wxParseData_buycontent.nodes}}"></template>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group" wx:if="{{goods.params.length>0||goods.getComments&&commentObj.list.length>0}}">
|
||
<view class="title">
|
||
<view class="fui-tab fui-tab-danger" id="tab">
|
||
<view bindtap="goodsTab" class="item {{info}}" data-tap="info">商品详情</view>
|
||
<view bindtap="goodsTab" class="item {{para}}" data-tap="para" wx:if="{{goods.params.length>0}}">参数</view>
|
||
<view bindtap="goodsTab" class="item {{comment}}" data-tap="comment" wx:if="{{goods.getComments&&commentObj.list.length>0}}">评价</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group" wx:if="{{goods.params.length==0&&!(goods.getComments&&commentObj.list.length>0)}}">
|
||
<view class="fui-list">
|
||
<view class="title">商品详情</view>
|
||
</view>
|
||
</view>
|
||
<view class="goods-detail-info {{info}}" style="padding:0 8rpx;box-sizing: border-box;">
|
||
<view class="wxParse" style="overflow: hidden;">
|
||
<template is="wxParse" data="{{wxParseData:wxParseData.nodes}}"></template>
|
||
</view>
|
||
<view class="bottom-image">
|
||
<image mode="widthFix" src="{{item}}" wx:for="{{bottomFixedImageUrls}}" wx:key="img_key"></image>
|
||
</view>
|
||
</view>
|
||
<view class="goods-detail-comment {{comment}}">
|
||
<view class="fui-icon-group col-5 ">
|
||
<view bindtap="comentTap" class="fui-icon-col" data-level="item" data-type="{{index+1}}" wx:for="{{stararr}}" wx:key="comment_key">
|
||
<view class="{{commentObjTab==index+1?'text-danger':''}}">{{index==0?'全部':''}}{{index==1?'好评':''}}{{index==2?'中评':''}}{{index==3?'差评':''}}{{index==4?'晒图':''}}
|
||
<view class="count {{commentObjTab==index+1?'text-danger':''}}">{{commentObj.count[item]}}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-loading" wx:if="{{loading}}">
|
||
<view class="icon"></view>
|
||
<view class="text">正在加载</view>
|
||
</view>
|
||
<view class="container" id="comments-all">
|
||
<view class="fui-cell-group fui-comment-group">
|
||
<view class="fui-cell" wx:for="{{commentList}}" wx:for-index="idx" wx:key="comm_list_key">
|
||
<view class="fui-cell-text comment ">
|
||
<view class="info head">
|
||
<view class="img">
|
||
<image src="{{item.headimgurl}}" style="width:50rpx;height:50rpx"></image>
|
||
</view>
|
||
<view class="nickname">{{item.nickname}}</view>
|
||
<view class="date">{{item.createtime}}</view>
|
||
<view class="star star1">
|
||
<text class="{{item.level>=idx2+1?'shine':''}}" wx:for="{{stararr}}" wx:for-index="idx2" wx:for-item="item2" wx:key="comm_star">★</text>
|
||
</view>
|
||
</view>
|
||
<view class="remark">{{item.content}}</view>
|
||
<view class="remark img">
|
||
<view class="img" wx:for="{{item.images}}" wx:for-index="idx" wx:for-item="image" wx:key="imgs_key">
|
||
<image bindtap="preview" data-src="{{image}}" data-urls="{{item.images}}" mode="widthFix" src="{{image}}"></image>
|
||
</view>
|
||
</view>
|
||
<view class="reply-content" style="background:#EDEDED;" wx:if="{{item.reply_content}}">
|
||
掌柜回复:{{item.reply_content}}
|
||
<view class="remark img">
|
||
<view class="img" wx:for="{{item.reply_images}}" wx:for-index="idx" wx:for-item="replyImage" wx:key="imgs_key">
|
||
<image mode="widthFix" src="{{replyImage}}"></image>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<block wx:if="{{item.append_content&&item.replychecked==0}}">
|
||
<view class="remark reply-title">用户追加评价</view>
|
||
<view class="remark">{{item.append_content}}</view>
|
||
</block>
|
||
<view class="reply-content" style="background:#EDEDED;" wx:if="{{item.append_reply_content}}">
|
||
掌柜回复:{{item.append_reply_content}}
|
||
<view class="remark img">
|
||
<view class="img" wx:for="{{item.append_reply_images}}" wx:for-index="idx" wx:for-item="appendReplyImage" wx:key="imgs_key">
|
||
<image src="{{appendReplyImage}}"></image>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group fui-comment-group"></view>
|
||
</view>
|
||
<view class="content-empty" style="{{commentEmpty?'display:block':'display:none'}}">暂时没有任何评价</view>
|
||
</view>
|
||
<include src="/pages/diy/template/tpl_copyright.wxml" wx:if="{{copyright}}"></include>
|
||
<view class="goods-detail-para {{para}}">
|
||
<view class="fui-cell-group">
|
||
<view class="fui-cell" wx:for="{{goods.params}}" wx:for-index="idx" wx:key="goods_key">
|
||
<view class="fui-cell-label">{{item.title}}</view>
|
||
<view class="fui-cell-info overflow">{{item.value}}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="emptyActive" class="fui-mask {{active}}"></view>
|
||
<view class="fui-modal picker-modal {{slider}} {{iphonexnavbar}}" wx:if="{{tempname=='city-picker'}}">
|
||
<view class="city-picker">
|
||
<view class="fui-cell-group fui-sale-group" style="margin-top:0;">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-text dispatching">
|
||
不配送区域:
|
||
<view class="dispatching-info">
|
||
<i wx:for="{{goods.citys}}" wx:for-index="idx" wx:key="not_city_key">{{item}}</i>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="emptyActive" class="btn btn-danger block">确定</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<include src="/pages/common/goods-picker.wxml"></include>
|
||
</view>
|
||
<view style="position: fixed; bottom: 98rpx;left: 0;right: 0;z-index: 1001;">
|
||
<include src="/pages/date/date.wxml"></include>
|
||
</view>
|
||
<include src="/pages/common/coupon-picker.wxml"></include>
|
||
<include src="/pages/common/gift-picker.wxml"></include>
|
||
<include src="/pages/common/city-picker.wxml"></include>
|
||
<include src="/pages/common/act-picker.wxml"></include>
|
||
<view class="empty_f"></view>
|
||
<view class="fui-mask {{showPicker?'show':''}}" style="z-index: 1500"></view>
|
||
<view class="fui-navbar bottom-buttons {{iphonexnavbar}}" style="z-index: 1001" wx:if="{{cycledate}}">
|
||
<view bindtap="syclecancle" class="nav-item btn cartbtn" data-buytype="cart" data-tap="{{active}}" style="background: #ccc;">取消</view>
|
||
<view bindtap="sycleconfirm" class="nav-item btn buybtn" data-buytype="buy" data-tap="{{active}}">确定</view>
|
||
</view>
|
||
<view wx:if="{{usediypage==false}}">
|
||
<view class="fui-navbar bottom-buttons {{iphonexnavbar}}" wx:if="{{goods.canbuy}}">
|
||
<view bindtap="favorite" class="nav-item favorite-item" wx:if="{{!limits}}">
|
||
<view class="icox {{goods.isfavorite?'icox-likefill':'icox-like'}}"></view>
|
||
<view class="label">关注</view>
|
||
</view>
|
||
<view bindtap="favorite" class="nav-item favorite-item {{goods.isfavorite?'active':''}}" data-isfavorite="{{goods.isfavorite?1:0}}" wx:if="{{goods.customer!=1&&limits}}">
|
||
<view class="icox {{goods.isfavorite?'icox-likefill':'icox-like'}}"></view>
|
||
<view class="label">关注</view>
|
||
</view>
|
||
<button class="nav-item customer-item" openType="contact" sendMessagePath="/pages/goods/detail/index?id={{goods.id}}" sessionFrom="weapp" showMessageCard="true" wx:if="{{goods.customer==1&&limits}}">
|
||
<view class="icox icox-customerservice"></view>
|
||
<view class="label">客服</view>
|
||
</button>
|
||
<navigator class="nav-item external" openType="switchTab" url="/pages/index/index?merchid={{goods.merchid}}">
|
||
<view class="icox icox-shop1"></view>
|
||
<view class="label">店铺</view>
|
||
</navigator>
|
||
<navigator class="nav-item cart-item" id="menucart" openType="switchTab" url="/pages/member/cart/index">
|
||
<view class="badge {{goods.cartount<=0?'out':'in'}}" wx:if="{{goods.cartcount&&limits}}">{{goods.cartcount}}</view>
|
||
<view class="icox icox-cart1"></view>
|
||
<view class="label">购物车</view>
|
||
</navigator>
|
||
<view bindtap="selectPicker" class="nav-item btn cartbtn" data-buytype="cart" data-id="{{goods.id}}" data-tap="{{active}}" wx:if="{{goods.canAddCart&&goods.type!=9}}">加入购物车</view>
|
||
<view bindtap="selectPicker" class="nav-item btn buybtn" data-buytype="buy" data-id="{{goods.id}}" data-tap="{{active}}" wx:if="{{!goods.access_time&&!goods.timeout}}">立刻购买</view>
|
||
<view bindtap="selectPicker" class="nav-item btn buybtn" data-buytype="buy" data-id="{{goods.id}}" data-tap="{{active}}" data-time="access_time" data-timeout="false" wx:if="{{goods.access_time}}">立刻购买</view>
|
||
<view bindtap="selectPicker" class="nav-item btn buybtn" data-buytype="buy" data-id="{{goods.id}}" data-tap="{{active}}" data-time="timeout" data-timeout="false" wx:if="{{goods.timeout}}">立刻购买</view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-toast {{FoxUIToast.show?'in':'out'}}">
|
||
<view class="text">{{FoxUIToast.text}}</view>
|
||
</view>
|
||
<view class="nav-mask" style="{{nav_mask2?'display:block':''}}"></view>
|
||
<view class="nav-model">
|
||
<view class="nav-home {{nav_mask2&&navbar==1?'out2':''}} {{nav_mask&&navbar==0?'out':''}}">
|
||
<span>商城首页</span>
|
||
<navigator class="icox icox-homepage" openType="switchTab" url="/pages/index/index"></navigator>
|
||
</view>
|
||
<view class="nav-member {{nav_mask2&&navbar==1?'out2':''}} {{nav_mask&&navbar==0?'out':''}}" wx:if="{{limits}}">
|
||
<span>个人中心</span>
|
||
<navigator class="icox icox-people" openType="switchTab" url="/pages/member/index/index"></navigator>
|
||
</view>
|
||
<view bindtap="favorite" class="nav-collect {{nav_mask2&&navbar==1?'out2':''}} {{nav_mask&&navbar==0?'out':''}}" data-isfavorite="{{goods.isfavorite?1:0}}" wx:if="{{limits&&goods.customer==1}}">
|
||
<span>关注商品</span>
|
||
<navigator class="icox {{goods.isfavorite?'icox-collection_fill':'icox-collection'}}"></navigator>
|
||
</view>
|
||
<view bindtap="nav" class="nav {{nav_mask?'icox icox-close':''}}" wx:if="{{navbar==0}}">
|
||
<text wx:if="{{!nav_mask}}">快捷</text>
|
||
<text wx:if="{{!nav_mask}}">导航</text>
|
||
</view>
|
||
<view bindtap="nav2" class="nav nav2 {{nav_mask2?'icox icox-close':''}}" wx:if="{{navbar==1}}">
|
||
<text wx:if="{{!nav_mask2}}">快捷</text>
|
||
<text wx:if="{{!nav_mask2}}">导航</text>
|
||
</view>
|
||
</view>
|
||
<view class="model" wx:if="{{modelShow}}">
|
||
<view class="inner1">
|
||
<view class="title">用户未授权</view>
|
||
<view class="image">
|
||
<image src="{{imgUrl+'plugin/app/static/images/wxapp/shouquan.png'}}"></image>
|
||
</view>
|
||
<view class="subtitle">您需要先开启【用户信息】,才能使用此功能哦~</view>
|
||
<view class="model-btns">
|
||
<view bindtap="cancelclick" class="cancel">取消</view>
|
||
<view bindtap="confirmclick" class="confirm">去设置</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="phone" class="phone" wx:if="{{!nav_mask&&!nav_mask2&&goods.phone}}">
|
||
<text class="icox icox-call"></text>
|
||
</view>
|
||
</view>
|
||
<view class="goods-layer" wx:if="{{goods_hint_show}}">
|
||
<view class="inner">
|
||
<view class="goods-content">
|
||
<view class="goods-title">温馨提示</view>
|
||
<view class="goods-con">{{goods.hint}}</view>
|
||
</view>
|
||
<view bindtap="selectPicker" class="goods-btn buybtn" data-buytype="buy" data-id="{{goods.id}}" data-tap="{{active}}" data-time="access_time" data-timeout="true" wx:if="{{goods.access_time}}">
|
||
确定
|
||
</view>
|
||
<view bindtap="selectPicker" class="goods-btn buybtn" data-buytype="buy" data-id="{{goods.id}}" data-tap="{{active}}" data-time="timeout" data-timeout="true" wx:if="{{goods.timeout}}">
|
||
确定
|
||
</view>
|
||
<view bindtap="selectPicker" class="goods-btn buybtn" data-buytype="buy" data-id="{{goods.id}}" data-tap="{{active}}" data-time="{{goods.access_time?access_time:''}}" data-timeout="true" wx:if="{{!goods.access_time&&!goods.timeout}}">
|
||
确定
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="cancel" class="modal" wx:if="{{showUrl}}">
|
||
<view class="video-container" wx:if="{{showVideoModal}}">
|
||
<view class="video-title">视频号链接</view>
|
||
<view class="video-link">{{videoCopyLink}}</view>
|
||
<view bindtap="videoCopy" class="video-copy">复制</view>
|
||
</view>
|
||
</view>
|
||
<wxs module="price" src="../../../utils/price.wxs" /> |