Commit 7cd48605 by 高淑倩

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

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