123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- <!-- 展示蒙层 显示推广画报 -->
- <view class="poster" wx:if="{{myqr_show}}">
- <view class="title">
- <text>推广文案</text>
- </view>
- <view class="ads">
- <view style="width:480rpx">{{myqr_ads}}</view>
- </view>
- <image src="{{myqr_url}}" mode="widthFix" style="width:480rpx" show-menu-by-longpress="true"></image>
- <view class="tool">
- <view bindtap="posterCopy" style="text-align:right">
- <image class="img" style="width:110rpx;height:130rpx" src="/static/images/share/p_copy.png"></image>
- </view>
- <button open-type='share' class="share-btn">
- <image class="img" style="width: 85rpx;height: 127rpx;" src="/static/images/share/p_wx.png"></image>
- </button>
- <view style="text-align:left">
- <image class="img" bindtap="goSaveQrcode" src="/static/images/share/p_save.png"></image>
- </view>
- </view>
- <view style="text-align:center">
- <image class="closeImg" bindtap="hidePoster" src="/static/images/share/close.png"></image>
- </view>
- </view>
- <view class="container" style="filter:brightness({{myqr_blur}}%)">
- <image src="/static/images/new/isnew.png" wx:if="{{goods.isNew}}" class="isNew"></image>
- <swiper class="goodsimgs" indicator-dots="true" autoplay="true" interval="3000" duration="1000">
- <swiper-item wx:for="{{goods.gallery}}" wx:key="*this">
- <image src="{{item}}" mode="aspectFill"></image>
- </swiper-item>
- </swiper>
- <!-- 分享
- <view class='goods_name'>
- <view class='goods_name_left'>{{goods.name}}</view>
- <view hidden="{{!canShare}}" class="goods_name_right" bindtap="shareFriendOrCircle">
- <image class="img" src="/static/images/share.png" />
- </view>
- </view>-->
- <view class="share-pop-box" hidden="{{!openShare}}">
- <view class="share-pop">
- <view class="close" bindtap="closeShare">
- <van-icon class="icon" name="cross" />
- </view>
- <!-- <view class='share-info'>
- <button class="sharebtn" open-type="share" wx:if="{{!isGroupon}}">
- <image class='sharebtn_image' src='/static/images/wechat.png'></image>
- <view class='sharebtn_text'>分享给好友</view>
- </button>
- <button class="savesharebtn" open-type="openSetting" bindopensetting="handleSetting" wx:if="{{(!isGroupon) && (!canWrite)}}">
- <image class='sharebtn_image' src='/static/images/friend.png'></image>
- <view class='sharebtn_text'>发朋友圈1</view>
- </button>
- <button class="savesharebtn" bindtap="saveShare" wx:if="{{!isGroupon && canWrite}}">
- <image class='sharebtn_image' src='/static/images/friend.png'></image>
- <view class='sharebtn_text'>发朋友圈</view>
- </button>
- </view>-->
- </view>
- </view>
- <view class="goods-info">
- <!-- 活动商品展示的样式 -->
- <view wx:if="{{activited}}" class="activity">
- <view style="display: flex;flex-direction: row;justify-content: space-between;">
- <view class="img">限时活动</view>
- <view class="activityDay">
- <image src="https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/activity/clock.png"></image>
- <text>距离活动仅剩{{activityDay}}天</text></view>
- </view>
- <view style="display: flex;justify-content: space-between;">
- <view style="display: flex;">
- <view class="activityPrice">¥<text>{{activityPrice}}</text></view>
- <view class="activityCounterPrice">原价¥<text>{{goods.counterPrice}}</text></view>
- </view>
- <view class="activityTime">
- <view>{{activityHour}}</view><text>:</text>
- <view>{{activityMinute}}</view><text>:</text>
- <view>{{activitySecond}}</view>
- </view>
- </view>
- </view>
- <!-- 非活动商品的样式 -->
- <view class="c">
- <view style="display: flex;flex-direction: column;">
- <view wx:if="{{!activited}}" class="price">
- <view class="retailPrice">¥<text class="checked-price">{{goods.retailPrice}}</text> </view>
- <view wx:if="{{goods.counterPrice!=goods.retailPrice}}" class="counterPrice">原价¥<text>{{goods.counterPrice}}</text></view>
- </view>
- <view class='goods_name'>
- <!-- <image wx:if="{{activited}}" style="width: 79rpx;height:32rpx;margin-right: 4rpx;" src="https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/activity/618.png"></image> -->
- <view class='goods_name_left'>{{goods.name}}</view>
- </view>
- <text class="desc sub-color" wx:if="{{goods.brief}}">{{goods.brief}}</text>
- <!-- <view class="price" wx:else>
- <view class="retailPrice">¥<text class="checked-price">{{checkedSpecPrice}}</text><text
- wx:if="{{goods.type=='2'}}"> 起</text></view>
- <view class="memberPrice" wx:if="{{goods.memberPrice!=checkedSpecPrice}}">¥{{goods.memberPrice}}</view>
- <view class="member-price-tag" wx:if="{{goods.memberPrice!=checkedSpecPrice}}" bindtap="goMemberCenter">会员价</view>
- </view> -->
- </view>
- <!-- 分享商品 -->
- <!-- <view hidden="{{!canShare}}" class="goods_name_right" bindtap="shareFriendOrCircle">
- <image class="img" src="/static/images/share.png" />
- </view> -->
- </view>
- </view>
- <!-- <view class="section-nav section-attr" bindtap="switchAttrPop">
- <view class="t">{{checkedSpecText}}</view>
- <van-icon class="i" name="arrow" />
- </view> -->
- <!-- <view class="comments" wx:if="{{comment.count > 0}}">
- <view class="h">
- <navigator url="/pages/comment/comment?valueId={{goods.id}}&type=0">
- <text class="t">评价({{comment.count > 999 ? '999+' : comment.count}})</text>
- <view class="i">
- 查看全部
- <van-icon name="arrow" />
- </view>
- </navigator>
- </view>
- <view class="b">
- <view class="item" wx:for="{{comment.data}}" wx:key="id">
- <view class="info">
- <view class="user">
- <image src="{{item.avatar}}"></image>
- <text>{{item.nickname}}</text>
- </view>
- <view class="time">{{item.addTime}}</view>
- </view>
- <view class="content">
- {{item.content}}
- </view>
- <view class="imgs" wx:if="{{item.picList.length > 0}}">
- <image class="img" wx:for="{{item.picList}}" wx:key="*this" wx:for-item="iitem" src="{{iitem}} "></image>
- </view>
- <view class="customer-service" wx:if="{{item.adminContent}}">
- <text class="u">商家回复:</text>
- <text class="c">{{item.adminContent}}</text>
- </view>
- </view>
- </view>
- </view>-->
- <!-- <view class="goods-attr">
- <view class="t">商品参数</view>
- <view class="l">
- <view class="item" wx:for="{{attribute}}" wx:key="name">
- <text class="left">{{item.attribute}}</text>
- <text class="right">{{item.value}}</text>
- </view>
- </view>
- </view> -->
- <view class="detail">
- <import src="/lib/wxParse/wxParse.wxml" />
- <template is="wxParse" data="{{wxParseData:goodsDetail.nodes}}" />
- </view>
- <!-- <view class="common-problem">
- <view class="h">
- <view class="line"></view>
- <text class="title">常见问题</text>
- </view>
- <view class="b">
- <view class="item" wx:for="{{issueList}}" wx:key="id">
- <view class="question-box">
- <text class="spot"></text>
- <text class="question">{{item.question}}</text>
- </view>
- <view class="answer">
- {{item.answer}}
- </view>
- </view>
- </view>
- </view> -->
- <!-- 大家都在看 -->
- <view class="related-goods" wx:if="{{relatedGoods.length > 0}}">
- <view class="h">
- <view class="line"></view>
- <text class="title">大家都在看</text>
- </view>
- <view class="b">
- <view class="item" wx:for="{{relatedGoods}}" wx:key="id">
- <navigator url="/pages/goods/goods?id={{item.id}}">
- <image class="img" src="{{item.picUrl}}" background-size="cover"></image>
- <text class="name">{{item.name}}</text>
- <text class="price">¥{{item.retailPrice}}</text>
- </navigator>
- </view>
- </view>
- </view>
- </view>
- <!-- 规格选择界面 -->
- <view class="attr-pop-box" hidden="{{!openshow}}">
- <view class="attr-pop">
- <view class="close" bindtap="closeAttr">
- <van-icon class="icon" name="cross" />
- </view>
- </view>
- </view>
- <!-- 规格选择界面 -->
- <view class="attr-pop-box" hidden="{{!openAttr}}">
- <view class="attr-pop">
- <view class="close" bindtap="closeAttr">
- <van-icon class="icon" name="cross" />
- </view>
- <view class="img-info">
- <image class="img" src="{{goods.picUrl}}"></image>
- <view class="info">
- <view class="c">
- <view class="p">价格:¥{{checkedSpecPrice}}</view>
- <view class="a">{{tmpSpecText}}</view>
- </view>
- </view>
- </view>
- <!-- 规格列表 -->
- <view class="spec-con">
- <view class="spec-item" wx:for="{{specificationList}}" wx:key="name">
- <view class="name">{{item.name}}</view>
- <view class="values">
- <view class="value {{vitem.checked ? 'selected' : ''}}" bindtap="clickSkuValue" wx:for="{{item.valueList}}"
- wx:for-item="vitem" wx:key="id" data-value-id="{{vitem.id}}" data-name="{{vitem.specification}}">
- {{vitem.value}}</view>
- </view>
- </view>
- <view class="spec-item" wx:if="{{groupon.length > 0}}">
- <view class="name">团购立减</view>
- <view class="values">
- <view class="value {{vitem.checked ? 'selected' : ''}}" bindtap="clickGroupon" wx:for="{{groupon}}"
- wx:for-item="vitem" wx:key="{{vitem.id}}" data-value-id="{{vitem.id}}" data-name="{{vitem.specification}}">
- ¥{{vitem.discount}} ({{vitem.discountMember}}人)</view>
- </view>
- </view>
- <!-- 数量 -->
- <view class="number-item">
- <view class="name">数量</view>
- <view class="selnum">
- <!-- <view class="cut" bindtap="cutNumber">-</view> -->
- <input value="{{number}}" class="number" disabled="true" type="number" />
- <!-- <view class="add" bindtap="addNumber">+</view> -->
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 联系客服
- <view class="contact">
- <contact-button style="opacity:0;position:absolute;" type="default-dark" session-from="weapp" size="36">
- </contact-button>
- </view> -->
- <!-- 底部按钮 -->
- <view class="bottom-btn" style="position:{{myqr_bottom_btn}}">
- <view class="l l-collect" bindtap="addCollectOrNot" wx:if="{{!isGroupon}}">
- <view class="collect-wrapper">
- <van-icon class="icon" name="star" color="#09afff" wx:if="{{collect}}" size="22px" />
- <van-icon class="icon" size="22px" color="#09afff" name="star-o" wx:else />
- <text class="jz-color collect-text">收藏</text>
- </view>
- </view>
- <view class="l l-kefu">
- <view class="service-wrapper" bindtap="goCustomerService">
- <view class="contact-block">
- <!-- <contact-button style="opacity:0;position:absolute; left:16rpx; top:0rpx;" type="default-dark"
- session-from="weapp" size="44">
- </contact-button> -->
- <van-icon name="service-o" color="#09afff" size="22px" />
- </view>
- <text class="jz-color">在线客服</text>
- </view>
- </view>
- <!-- <view class="l l-cart" wx:if="{{!isGroupon}}">
- <view class="box" bindtap="openCartPage">
- <text class="cart-count" wx:if="{{cartGoodsCount>0}}">{{cartGoodsCount}}</text>
- <van-icon class="icon" name="cart-o" />
- <text class="txt">购物车</text>
- </view>
- </view> -->
- <!-- <view class="r" bindtap="addToCart" wx:if="{{!soldout}}" wx:if="{{!isGroupon}}">加入购物车</view> -->
- <!-- <view class="r" bindtap="copyToHM">
- <view class="title">复制链接</view>
- <view class="subtitle">去盒马APP下单</view>
- </view> -->
- <!-- <view class="c" bindtap="addFast" wx:if="{{!soldout||!hasLogin}}">{{isGroupon?'参加团购':'立即预约'}}</view>
- <view class="n" wx:if="{{soldout}}">商品已售空</view> -->
- <!-- 自购&推广 分享进入有shareId不展示自购推广-->
- <!-- (hasLogin&&userInfo.isDis)||(hasLogin&&shareId==0)
- <view class="dis-order-wrapper" wx:if="{{hasLogin&&userInfo.isDis&&referee.self>0}}">
- <view class="self-order" bindtap="goSelfPay">
- <view class="buy-type">自购</view>
- <view>立省 {{referee.self}}元</view>
- </view>
- <view class="spread-order" bindtap="goSpread">
- <view class="buy-type jz-color" style="overflow: hidden;">推广</view>
- <view class="jz-color" style="overflow: hidden;">最高返 {{referee.share}}元</view>
- </view>
- </view>
- <block wx:else>
- <view class="c" bindtap="addFast" wx:if="{{!soldout||!hasLogin}}">{{isGroupon?'参加团购':'立即预约'}}</view>
- <view class="n" wx:if="{{soldout}}">商品已售空</view>
- </block>-->
- <view class="dis-order-wrapper" wx:if="{{goods.type==0||goods.type==3}}">
- <view class="self-order" data-type='0' bindtap="addFast">
- <view class="buy-type">先买后约</view>
- </view>
- <view class="spread-order" data-type='1' bindtap="addFast">
- <view class="buy-type jz-color" style="overflow: hidden;">立即预约</view>
- </view>
- </view>
- <block wx:elif="{{goods.type==6}}">
- <view class="c" bindtap="addFast" data-type='1' wx:if="{{!soldout||!hasLogin}}">立即购买</view>
- </block>
- <block wx:else>
- <view class="c" bindtap="addFast" data-type='1' wx:if="{{!soldout||!hasLogin}}">立即预约</view>
- </block>
- </view>
- <!-- 自购提示 -->
- <van-overlay show="{{ selfPayShow }}">
- <view class="overlay-wrapper">
- <view class="tips-wrapper">
- <view class="tips-top">
- <view class="tips-title">立省金额说明</view>
- <view>立省金额会以佣金形式发放,请在引荐人中心查收哦</view>
- </view>
- <view class="notip-again">
- <van-checkbox value="{{selfPayChecked}}" shape="square" icon-size="20px" bind:change="onSelfPayChange"
- checked-color="#09afff"></van-checkbox>
- <text class="user-agree">我已知晓,不再提示</text>
- </view>
- <view class="tips-bottom">
- <view class="cancel-btn" bindtap="cancelSelfPay">取消</view>
- <view class="btn-devide"></view>
- <view class="repay-btn" bindtap="reSelfPay">继续购买</view>
- </view>
- </view>
- </view>
- </van-overlay>
- <!-- 推广提示 -->
- <van-overlay show="{{spreadPayShow }}">
- <view class="overlay-wrapper">
- <view class="tips-wrapper">
- <view class="tips-top">
- <view class="tips-title">推广佣金说明</view>
- <view>页面展示推广佣金为预计最高返现金额,实际金额根据购买者团队身份计算,请在引荐人中心查看实际佣金</view>
- </view>
- <view class="notip-again">
- <van-checkbox value="{{spreadPayChecked}}" shape="square" icon-size="20px" bind:change="onSpreadPayChange"
- checked-color="#09afff"></van-checkbox>
- <text class="user-agree">我已知晓,不再提示</text>
- </view>
- <view class="tips-bottom">
- <view class="cancel-btn" bindtap="cancelSpreadPay">取消</view>
- <view class="btn-devide"></view>
- <view class="repay-btn" bindtap="reSpread">继续推广</view>
- </view>
- </view>
- </view>
- </van-overlay>
|