mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-25 12:38:13 +00:00
102 lines
5.0 KiB
Plaintext
102 lines
5.0 KiB
Plaintext
<navbar parameter='{{parameter}}'></navbar>
|
||
<view class='product-con'>
|
||
<productConSwiper imgUrls="{{storeInfo.slider_image}}"></productConSwiper>
|
||
<view class='wrapper'>
|
||
<view class='share acea-row row-between row-bottom'>
|
||
<view class='money font-color'>
|
||
¥<text class='num'>{{storeInfo.price}}</text><text class='vip-money' wx:if="{{storeInfo.vip_price && storeInfo.vip_price > 0}}">¥{{storeInfo.vip_price}}</text><image wx:if="{{storeInfo.vip_price && storeInfo.vip_price > 0}}" src="/images/vip.png"></image>
|
||
</view>
|
||
<view class='iconfont icon-fenxiang' bindtap='listenerActionSheet'></view>
|
||
</view>
|
||
<view class='introduce'>{{storeInfo.store_name}}</view>
|
||
<view class='label acea-row row-between-wrapper'>
|
||
<view>原价:¥{{storeInfo.ot_price}}</view>
|
||
<view>库存:{{storeInfo.stock}}{{storeInfo.unit_name}}</view>
|
||
<view>销量:{{storeInfo.fsales}}{{storeInfo.unit_name}}</view>
|
||
</view>
|
||
<view class='coupon acea-row row-between-wrapper' bindtap='coupon'>
|
||
<view class='hide line1 acea-row'>
|
||
优惠券:
|
||
<view class='activity' wx:for="{{couponList}}" wx:key>满{{item.use_min_price}}减{{item.coupon_price}}</view>
|
||
</view>
|
||
<view class='iconfont icon-jiantou'></view>
|
||
</view>
|
||
</view>
|
||
<view class='attribute acea-row row-between-wrapper' bindtap='selecAttr'>
|
||
<view>{{attr}}:<text class='atterTxt'>{{attrValue}}</text></view>
|
||
<view class='iconfont icon-jiantou'></view>
|
||
</view>
|
||
<view class='userEvaluation' wx:if="{{replyCount}}">
|
||
<view class='title acea-row row-between-wrapper'>
|
||
<view>用户评价({{replyCount}})</view>
|
||
<navigator class='praise' hover-class='none' url='/pages/goods_comment_list/index?product_id={{id}}'>
|
||
<text class='font-color'>{{replyChance}}%</text>好评率<text class='iconfont icon-jiantou'></text>
|
||
</navigator>
|
||
</view>
|
||
<userEvaluation reply="{{reply}}"></userEvaluation>
|
||
</view>
|
||
<view class='product-intro'>
|
||
<view class='title'>产品介绍</view>
|
||
<view class='conter'>
|
||
<template is="wxParse" data="{{wxParseData:description.nodes}}"/>
|
||
</view>
|
||
</view>
|
||
<view style='height:120rpx;'></view>
|
||
<view class='footer acea-row row-between-wrapper'>
|
||
<button open-type="contact" hover-class='none' class='item'>
|
||
<view class='iconfont icon-kefu'></view>
|
||
<view>客服</view>
|
||
</button>
|
||
<view bindtap='setCollect' class='item'>
|
||
<view class='iconfont icon-shoucang1' wx:if="{{storeInfo.userCollect}}"></view>
|
||
<view class='iconfont icon-shoucang' wx:else></view>
|
||
<view>收藏</view>
|
||
</view>
|
||
<navigator open-type='switchTab' class="animated item {{animated==true?'bounceIn':''}}" url='/pages/order_addcart/order_addcart'>
|
||
<view class='iconfont icon-gouwuche1'><text class='num bg-color'>{{CartCount || 0}}</text></view>
|
||
<view>购物车</view>
|
||
</navigator>
|
||
<view class='bnt acea-row'>
|
||
<view class='joinCart' bindtap='joinCart'>加入购物车</view>
|
||
<view class='buy' bindtap='goBuy'>立即购买</view>
|
||
</view>
|
||
</view>
|
||
<shareRedPackets sharePacket="{{sharePacket}}" bind:listenerActionSheet="listenerActionSheet"></shareRedPackets>
|
||
</view>
|
||
<!-- 分享按钮 -->
|
||
<action-sheet hidden="{{actionSheetHidden}}" bindchange="listenerActionSheet" class='pro-wrapper' hover-class='none'>
|
||
<action-sheet-item hover-class='none'>
|
||
<button open-type="share" class='contact' hover-class='none'>
|
||
<view class='iconn'></view>
|
||
发送给朋友
|
||
</button>
|
||
<button class='contact' bindtap='goPoster' hover-class='none'>
|
||
<view class='iconn iconn1'></view>
|
||
生成海报
|
||
</button>
|
||
</action-sheet-item>
|
||
</action-sheet>
|
||
<!-- 海报展示 -->
|
||
<view class='poster-pop' wx:if="{{posterImageStatus}}">
|
||
<image src='/images/poster-close.png' class='close' bindtap='posterImageClose'></image>
|
||
<image src='{{posterImage}}'></image>
|
||
<view class='save-poster' bindtap='savePosterPath'>保存到手机</view>
|
||
</view>
|
||
<view class='mask' wx:if="{{posterImageStatus}}"></view>
|
||
<canvas class="canvas" canvas-id='myCanvas' wx:if="{{canvasStatus}}"></canvas>
|
||
<!-- 组件 -->
|
||
<product-window
|
||
attribute='{{attribute}}'
|
||
productAttr="{{productAttr}}"
|
||
productSelect="{{productSelect}}"
|
||
bind:myevent="onMyEvent"
|
||
bind:ChangeAttr="ChangeAttr"
|
||
bind:ChangeCartNum="ChangeCartNum"
|
||
id='product-window'
|
||
></product-window>
|
||
<coupon-list-window coupon='{{coupon}}' bind:ChangCouponsClone="ChangCouponsClone" bind:ChangCoupons="ChangCoupons"></coupon-list-window>
|
||
<authorize bind:onLoadFun="onLoadFun" isAuto="{{isAuto}}" iShidden="{{iShidden}}"></authorize>
|
||
<!-- html转wxml -->
|
||
<import src="/wxParse/wxParse.wxml"/>
|
||
<home></home>
|