store/packageA/detail_v2/detail_v2.wxml

71 lines
4.3 KiB
Plaintext

<!-- packageA/detail_v2/detail_v2.wxml -->
<block wx:if="{{!loginshow}}">
<view bindtouchmove="touchMove" bindtouchend='touchEnd' bindtouchstart='touchStart'>
<view wx:if="{{goods_type}}" >
<block wx:if="{{ goods_type == 'groupwork' || goods_type == 'zhpGroup' || goods_type == 'retailGood' || goods_type == 'supplierGoods' || goods_type == 'grabGroup' || goods_type == 'goods' || goods_type == 'appointment_goods' || goods_type == 'hotelGoods' || goods_type == 'group_goods'|| goods_type == 'yunqian_api' || goods_type == 'store_projects_goods' || goods_type == 'reserve_simple_goods' || goods_type == 'yun_sign_goods' }}" >
<cNewGoods id="cGoods" coid="{{category_option_id}}" mode="{{mode}}" bind:parentEvent='onParentEvent' fight_groups="{{fight_groups}}" datop="{{datop}}" store_id="{{store_id}}" enterAt="{{enterAt}}" boxHeight='{{boxHeight}}' prop_goods_info="{{prop_goods_info}}" xqBoxShow='{{xqBoxShow}}' producer-id="{{producer_id}}" goods-id='{{goods_id}}' goods-type="{{goods_type}}" mark='{{mark}}' hoet="{{hoet}}" mark-id='{{mark_id}}' vieText='{{vieText}}' ipnonexbol="{{iPnoneBottomBol}}" activityid='{{activity_id}}' fromStock="{{fromStock}}" debtId='{{debtId}}'></cNewGoods>
</block>
<!-- 星拼乐 -->
<block wx:if="{{goods_type == 'starGroup'}}">
<starGroup goods-id='{{goods_id}}' datop="{{datop}}" goods-type="{{goods_type}}" xqBoxShow='{{xqBoxShow}}' mark='{{mark}}' hoet="{{hoet}}" mark-id='{{mark_id}}'></starGroup>
</block>
<!-- ---------------------------- ---------------------------- -->
<block wx:if="{{goods_type == 'voiceGoods'}}">
<voiceGoods goods-id='{{goods_id}}' goods-type="{{goods_type}}" mark='{{mark}}' hoet="{{hoet}}" mark-id='{{mark_id}}'></voiceGoods>
</block>
<block wx:if="{{goods_type == 'store_goods'}}">
<storeGoods datop="{{datop}}" boxHeight='{{boxHeight}}' prop_goods_info="{{prop_goods_info}}" xqBoxShow='{{xqBoxShow}}' goods-id='{{goods_id}}' goods-type="{{goods_type}}" hoet="{{hoet}}" mark='{{mark}}' mark-id='{{mark_id}}' toker="{{is_toker}}"></storeGoods>
</block>
<block wx:if="{{goods_type == 'course'}}">
<courseGoods goods-id='{{goods_id}}' prop_goods_info="{{prop_goods_info}}" goods-type="{{goods_type}}" ipnonexbol="{{iPnoneBottomBol}}" is_open="{{is_open}}"></courseGoods>
</block>
<block wx:if="{{goods_type == 'phone_bill_pro_goods'}}">
<phoneBillProGoods goods-id='{{goods_id}}' hoet="{{hoet}}" prop_goods_info="{{prop_goods_info}}" goods-type="{{goods_type}}" ipnonexbol="{{iPnoneBottomBol}}" is_open="{{is_open}}"></phoneBillProGoods>
</block>
<block wx:if="{{goods_type == 'electricity-bill-pro'}}">
<electricity goods-id='{{goods_id}}' hoet="{{hoet}}" prop_goods_info="{{prop_goods_info}}" goods-type="{{goods_type}}" ipnonexbol="{{iPnoneBottomBol}}" is_open="{{is_open}}"></electricity>
</block>
<block wx:if="{{goods_type == 'sweep_buy_goods'}}">
<sweepBuyGoods goods-id='{{goods_id}}' hoet="{{hoet}}" prop_goods_info="{{prop_goods_info}}" goods-type="{{goods_type}}"></sweepBuyGoods>
</block>
<block wx:if="{{goods_type == 'groupBuy'}}">
<!-- 拼购商品 groupBuy 已废弃 先放着-->
<groupBuy datop="{{datop}}" goodType='{{goods_type}}' boxHeight='{{boxHeight}}' xqBoxShow='{{xqBoxShow}}' bind:parentEvent='onParentEvent' goods-id="{{goods_id}}" activityid="{{activity_id}}" mark='{{mark}}' hoet="{{hoet}}" mark-id='{{mark_id}}' ipnonexbol="{{iPnoneBottomBol}}"></groupBuy>
</block>
<block wx:if="{{goods_type == 'oil_recharge_goods'}}">
<oilRechargeGoods goods-id='{{goods_id}}' hoet="{{hoet}}" prop_goods_info="{{prop_goods_info}}" goods-type="{{goods_type}}" ipnonexbol="{{iPnoneBottomBol}}" is_open="{{is_open}}"></oilRechargeGoods>
</block>
<!-- 视频号直播跳转start -->
<channels-live-float></channels-live-float>
<!-- 视频号直播跳转end -->
</view>
<view class="livestyle" wx:if="{{liveshow}}" catchtap="goLiveBtn">
<view class="left">
<van-icon name="arrow-left" size="40rpx" color="#fff" />
</view>
<view class="right">
<view class="text">返回</view>
<view class="text">直播</view>
</view>
</view>
</view>
</block>
<view class="zangbudenglu" wx:if="{{loginshow}}">
<view class="p">
你还没登录,请登录后查看商品详情
</view>
<view class="buttonContent">
<view class="button" catchtap="gotologin">
登录
</view>
</view>
</view>