Commit 7cd48605 by 高淑倩

modify: 商品详情_首页购物车跳转

parent 9f764f3b
<!--pages/productDetail/productDetail.wxml-->
<view class="page-product-detail product-container"
<view
class="page-product-detail product-container"
bindtouchstart="pageTouchStart"
bindtouchmove="pageMove"
bindtouchend="pageMoveEnd"
bindtap="handleCloseSharePopup">
bindtap="handleCloseSharePopup"
>
<view>
<!-- <buy-image-swiper image-data="{{imageData}}"/>
-->
<swiper
autoplay="true" style="height: 750rpx;line-height: 100rpx;" bindchange="swiperChange">
<swiper autoplay="true" style="height: 750rpx;line-height: 100rpx;" bindchange="swiperChange">
<block wx:for="{{productInfo.listUrl}}" wx:key="index">
<swiper-item>
<image class="swiper-image" mode="widthFix" src="{{baseImgUrl}}{{item.imageUrl}}"></image>
<image class="swiper-image" mode="widthFix" src="{{baseImgUrl}}{{item.imageUrl}}" />
</swiper-item>
</block>
</swiper>
<view class="dots">
<block wx:for="{{productInfo.listUrl}}" wx:key="index">
<view class="dot{{index == swiperCurrent ? ' active' : ''}}"></view>
<view class="dot{{index == swiperCurrent ? ' active' : ''}}" />
</block>
</view>
</view>
......@@ -30,7 +31,7 @@
<text class="cost-price">¥888</text>
</view>
<view class="share-wrap">
<image class="share-img" src="/assets/imgs/share.png"></image>
<image class="share-img" src="/assets/imgs/share.png" />
<text class="share-text">分享</text>
</view>
</view>
......@@ -42,18 +43,18 @@
</view>
<view class="member-price" wx:if="{{openPlusStatus}}">
<view class="member-price-info">
<image class="member-price-icon" src="/assets/imgs/7_1_0/plus.png"></image>
<image class="member-price-icon" src="/assets/imgs/7_1_0/plus.png" />
<text class="before-reduce-price">¥558,</text>
<text class="reduce-price">本次立减¥60</text>
</view>
<view class="open" >
<view class="open">
<text class="open-text">立即开通</text>
<image class="big-arrow" src="/assets/imgs/big-arrow-right.png"></image>
<image class="big-arrow" src="/assets/imgs/big-arrow-right.png" />
</view>
</view>
<view class="choose-wrap" bindtap="addCart">
{{selectSkuName ? '已选:' + selectSkuName : '请选择规格'}}
<image class="arrow-right" src="/assets/imgs/7_1_0/arrow-right-sku.png" mode="widthFix"></image>
<image class="arrow-right" src="/assets/imgs/7_1_0/arrow-right-sku.png" mode="widthFix" />
</view>
<!-- <view class="choose-wrap">
支持快递配送</view> -->
......@@ -65,7 +66,7 @@
</view>
<view class="gray-line"></view>
<view class="gray-line" />
<view class="scroll-tips">
继续拖动,查看图文详情
......@@ -81,9 +82,9 @@
>
<navigator
class='get-formId--btn footer-icon'
data-url="/pages/page/page"
url="/pages/userCenter/userCenter"
formType="submit"
open-type="switchTab"
open-type="navigate"
>
<image src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-index.png" mode="widthFix" />
<view>首页</view>
......@@ -93,30 +94,29 @@
class='get-formId'
bindsubmit="nav"
report-submit
name='home'
name='nav'
>
<navigator class="get-formId--btn footer-icon" >
<image src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-kefu.png" mode="widthFix"></image>
<view class="tab-text">客服</view>
<navigator class='get-formId--btn footer-icon' open-type="navigate" url="/pages/cart/cart">
<image class="contact-share-img" src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-shop-cart.png" />
<view class="add-car-text">购物车</view>
</navigator>
</form>
<form
class='get-formId'
bindsubmit="nav"
report-submit
name='nav'
name='home'
>
<navigator class='get-formId--btn footer-icon' open-type="switchTab" url="/pages/cart/cart">
<image class="contact-share-img" src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-shop-cart.png" />
<view class="add-car-text">购物车</view>
<navigator class="get-formId--btn footer-icon">
<image src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-kefu.png" mode="widthFix" />
<view class="tab-text">分享</view>
</navigator>
</form>
</view>
<block >
<view class="footer-buttons clearfix" >
<block >
<block>
<view class="footer-buttons clearfix">
<block>
<form
class='get-formId get-formId--form'
bindsubmit="addCart"
......@@ -156,3 +156,4 @@
product-sku="{{productInfo.productSku}}"
/> -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment