Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
950a961f
Commit
950a961f
authored
Aug 22, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_7.1.0' into feature-zyw-sc
parents
64c751ff
2331e964
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
276 additions
and
222 deletions
+276
-222
bottomTabs.js
src/component/bottomTabs/bottomTabs.js
+2
-3
scrollDel.wxml
src/component/scrollDel/scrollDel.wxml
+2
-1
cart.js
src/pages/cart/cart.js
+16
-14
cart.wxml
src/pages/cart/cart.wxml
+3
-28
cart.wxss
src/pages/cart/cart.wxss
+1
-0
my.json
src/pages/my/my.json
+4
-1
my.wxml
src/pages/my/my.wxml
+2
-0
order.js
src/pages/order/order.js
+66
-23
order.wxml
src/pages/order/order.wxml
+21
-17
order.wxss
src/pages/order/order.wxss
+5
-1
orderDetail.js
src/pages/orderDetail/orderDetail.js
+24
-4
productDetail.wxml
src/pages/productDetail/productDetail.wxml
+130
-130
No files found.
src/component/bottomTabs/bottomTabs.js
View file @
950a961f
...
@@ -19,7 +19,6 @@ Component({
...
@@ -19,7 +19,6 @@ Component({
currentRoute
:
`/
${
utils
.
getCurrentPageUrl
()}
`
currentRoute
:
`/
${
utils
.
getCurrentPageUrl
()}
`
})
})
},
},
// pages/consumptionDetails/consumptionDetails
observers
:
{
observers
:
{
currentRoute
(
nRoute
,
oRoute
)
{
currentRoute
(
nRoute
,
oRoute
)
{
console
.
log
(
'nRoute, oRoute'
,
nRoute
,
oRoute
)
console
.
log
(
'nRoute, oRoute'
,
nRoute
,
oRoute
)
...
@@ -38,12 +37,12 @@ Component({
...
@@ -38,12 +37,12 @@ Component({
{
{
active
:
'/assets/imgs/heart-primary.png'
,
active
:
'/assets/imgs/heart-primary.png'
,
inactive
:
'/assets/imgs/heart-default.png'
,
inactive
:
'/assets/imgs/heart-default.png'
,
route
:
'/pages/
consumptionDetails/consumptionDetails
'
route
:
'/pages/
userCenter/userCenter
'
},
},
{
{
active
:
'/assets/imgs/heart-primary.png'
,
active
:
'/assets/imgs/heart-primary.png'
,
inactive
:
'/assets/imgs/heart-default.png'
,
inactive
:
'/assets/imgs/heart-default.png'
,
route
:
'/pages/
home/home
'
route
:
'/pages/
category/category
'
},
},
{
{
active
:
'/assets/imgs/heart-primary.png'
,
active
:
'/assets/imgs/heart-primary.png'
,
...
...
src/component/scrollDel/scrollDel.wxml
View file @
950a961f
<!--component/scrollDel/scrollDel.wxml-->
<!--component/scrollDel/scrollDel.wxml-->
<scroll-view scroll-y="{{isScroll}}" style='height:{{windowHeight}}px'>
<!--<scroll-view scroll-y="{{isScroll}}" style='height:{{windowHeight}}px'>-->
<scroll-view scroll-y="{{isScroll}}">
<block class="cart-item" wx:key="item" wx:for="{{cartList}}">
<block class="cart-item" wx:key="item" wx:for="{{cartList}}">
<view data-index='{{index}}' class="order-item cart-list" bindtouchstart="drawStart" bindtouchmove="drawMove" bindtouchend="drawEnd" style="right:{{item.right}}rpx">
<view data-index='{{index}}' class="order-item cart-list" bindtouchstart="drawStart" bindtouchmove="drawMove" bindtouchend="drawEnd" style="right:{{item.right}}rpx">
<view data-index="{{index}}">
<view data-index="{{index}}">
...
...
src/pages/cart/cart.js
View file @
950a961f
...
@@ -52,20 +52,22 @@ wxService.page({
...
@@ -52,20 +52,22 @@ wxService.page({
})
})
// 1556108807316001
// 1556108807316001
// 1556108807316000
// 1556108807316000
const
trolleySku
=
{
this
.
getCartList
()
count
:
1
,
skuId
:
'1556108807316001'
// const trolleySku = {
}
// count: 1,
// 加入购物车
// skuId: '1556108807316001'
wxService
.
post
(
'/sale/trolley/put'
,
trolleySku
).
then
(
res
=>
{
// }
if
(
res
)
{
// // 加入购物车
const
{
result
}
=
res
.
data
// wxService.post('/sale/trolley/put', trolleySku).then(res => {
if
(
result
==
0
)
{
// if (res) {
wx
.
hideLoading
()
// const { result } = res.data
this
.
getCartList
()
// if (result == 0) {
}
// wx.hideLoading()
}
// this.getCartList()
})
// }
// }
// })
},
},
// 查询 /trolley/query
// 查询 /trolley/query
getCartList
()
{
getCartList
()
{
...
...
src/pages/cart/cart.wxml
View file @
950a961f
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
</view>
</view>
</view>
</view>
<view class="cart-content" wx:if="{{cartList.length}}">
<view class="cart-content" wx:if="{{cartList.length}}">
<!-- 购物车列表 -->
<scroll-del
<scroll-del
cartList="{{cartList}}"
cartList="{{cartList}}"
bind:checkProChange="checkProChange"
bind:checkProChange="checkProChange"
...
@@ -23,33 +24,6 @@
...
@@ -23,33 +24,6 @@
/>
/>
</view>
</view>
<!-- 购物车列表 -->
<!-- <view class="cart-content" wx:if="{{cartList.length}}">
<view class="cart-item" wx:for="{{cartList}}" wx:key="{{index}}">
<view class="cart-list" bindtouchstart="touchS" bindtouchmove="touchM" bindtouchend="touchE" style="{{item.shows}}" data-index="{{index}}">
<view class="select-radio" data-index="{{index}}">
<icon size="16" type="{{item.checked ? 'success' : 'circle'}}" color="{{checkedColor}}" data-index="{{index}}" catchtap="checkPro"></icon>
</view>
<view class="pro-info">
<image class="pro-img" src="/assets/imgs/7_1_0/icon.png" mode="widthFix"></image>
<view class="pro-right-info">
<view class="pro-name">{{item.productName}}</view>
<view class="pro-sku">{{item.skuSpec}}</view>
<view class="pro-price">
<view class="price">¥{{item.price}}</view>
<view class="pro-num-edit">
<button class="redus-num" data-index="{{index}}" catchtap="minusNum">-</button>
<input class="pro-num-edit-input" type="number" data-index="{{index}}" catchtap bindblur="blurNum" bindinput="inputNum" value="{{item.count}}"></input>
<button class="add-num" data-index="{{index}}" catchtap="addNum">+</button>
</view>
</view>
</view>
</view>
</view>
<view class="delete" data-index="{{index}}" data-skuId="{{item.skuId}}" bindtap="deletePro">删除</view>
</view>
</view>-->
<!-- 失效宝贝 -->
<!-- 失效宝贝 -->
<view class="overdue-pro" wx:if="{{outGoods.length}}">
<view class="overdue-pro" wx:if="{{outGoods.length}}">
<view class="clear-btn">清除失效商品</view>
<view class="clear-btn">清除失效商品</view>
...
@@ -71,7 +45,8 @@
...
@@ -71,7 +45,8 @@
<view class="empty" wx-if="{{cartList !== null && cartList.length == 0}}">亲,您的购物车还空空的哟~</view>
<view class="empty" wx-if="{{cartList !== null && cartList.length == 0}}">亲,您的购物车还空空的哟~</view>
<!-- 底部 -->
<!-- 底部 -->
<view class="cart-bottom" style="bottom:{{currentHeight}}px">
<!-- <view class="cart-bottom" style="bottom:{{currentHeight}}px">-->
<view class="cart-bottom">
<view class="total">
<view class="total">
<view class="select-radio all-radio" bindtap="checkAll">
<view class="select-radio all-radio" bindtap="checkAll">
<icon type="{{checkAll ? 'success' : 'circle'}}" color="{{checkedColor}}" size="16" />
<icon type="{{checkAll ? 'success' : 'circle'}}" color="{{checkedColor}}" size="16" />
...
...
src/pages/cart/cart.wxss
View file @
950a961f
...
@@ -162,6 +162,7 @@ page{
...
@@ -162,6 +162,7 @@ page{
position: fixed;
position: fixed;
left: 0;
left: 0;
/* bottom: 124rpx; */
/* bottom: 124rpx; */
bottom: 0rpx;
display: flex;
display: flex;
align-items: center;
align-items: center;
...
...
src/pages/my/my.json
View file @
950a961f
{
{
"navigationBarTitleText"
:
"我的"
,
"navigationBarTitleText"
:
"我的"
,
"usingComponents"
:
{}
"usingComponents"
:
{
"bottom-tabs"
:
"./../../component/bottomTabs/bottomTabs"
}
}
}
\ No newline at end of file
src/pages/my/my.wxml
View file @
950a961f
...
@@ -193,3 +193,4 @@
...
@@ -193,3 +193,4 @@
</view>
</view>
</view>
</view>
<bottom-tabs />
\ No newline at end of file
src/pages/order/order.js
View file @
950a961f
...
@@ -44,7 +44,8 @@ wxService.page({
...
@@ -44,7 +44,8 @@ wxService.page({
orderList
:
null
,
orderList
:
null
,
totalPages
:
0
,
totalPages
:
0
,
subImgs
:
[],
subImgs
:
[],
trade
:
''
// 订单状态(C:取消;N:新建,P:已支付;D:已发货;R:已收货)
trade
:
''
,
// 订单状态(C:取消;N:新建,P:已支付;D:已发货;R:已收货)
no_data
:
true
},
},
/**
/**
...
@@ -61,54 +62,96 @@ wxService.page({
...
@@ -61,54 +62,96 @@ wxService.page({
this
.
initOrderList
(
this
.
data
.
pageNo
,
this
.
data
.
pageSize
,
this
.
data
.
trade
)
this
.
initOrderList
(
this
.
data
.
pageNo
,
this
.
data
.
pageSize
,
this
.
data
.
trade
)
},
},
// 确认收货
// 确认收货
handelConfirmReceipt
()
{
handelConfirmReceipt
(
e
)
{
},
handelDetail
(
e
)
{
// const {detail} = e.currentTarget.dataset
const
{
id
}
=
e
.
currentTarget
.
dataset
const
{
id
}
=
e
.
currentTarget
.
dataset
wxService
.
router
(
`/pages/orderDetail/orderDetail?id=
${
id
}
`
)
},
initOrderList
(
pageNo
,
pageSize
,
trade
)
{
wx
.
showLoading
({
wx
.
showLoading
({
title
:
'加载中'
,
title
:
'加载中'
,
mask
:
true
mask
:
true
})
})
const
params
=
{
trade
}
wxService
.
post
(
`/sale/trade/buyer/confirm/
${
id
}
`
).
then
(
res
=>
{
wxService
.
post
(
`/sale/trade/buyer/history?pageNum=
${
pageNo
}
&pageSize=
${
pageSize
}
`
,
params
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
const
{
result
,
data
}
=
res
.
data
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
if
(
result
==
0
)
{
wx
.
hideLoading
()
wx
.
hideLoading
()
this
.
setData
({
this
.
setData
({
orderList
:
this
.
data
.
pageNo
==
1
?
[...
data
]
:
[...
this
.
data
.
orderList
,
...
data
],
noMoreFlag
:
data
.
length
<
pageSize
?
true
:
false
},()
=>
{
wx
.
setStorageSync
(
'orderList'
,
this
.
data
.
orderList
)
})
})
}
}
}
}
})
})
},
},
handelDetail
(
e
)
{
// const {detail} = e.currentTarget.dataset
const
{
id
}
=
e
.
currentTarget
.
dataset
wxService
.
router
(
`/pages/orderDetail/orderDetail?id=
${
id
}
`
)
},
//点击切换tab
//点击切换tab
switchTab
(
e
)
{
switchTab
(
e
)
{
const
{
type
,
status
}
=
e
.
currentTarget
.
dataset
const
{
type
,
status
}
=
e
.
currentTarget
.
dataset
const
{
currentIndex
}
=
this
.
data
const
{
currentIndex
}
=
this
.
data
if
(
currentIndex
==
type
)
return
false
if
(
currentIndex
==
type
)
return
false
this
.
setData
({
this
.
setData
({
currentIndex
:
type
,
currentIndex
:
type
,
pageNo
:
1
,
pageNo
:
1
,
orderList
:
[],
orderList
:
[],
trade
:
''
trade
:
''
,
},()
=>
{
no_data
:
true
if
(
type
==
5
&&
status
==
'RF'
){
},
()
=>
{
console
.
log
(
"退款/售后"
)
if
(
type
==
5
&&
status
==
'RF'
)
{
this
.
getRefundList
(
this
.
data
.
pageNo
,
this
.
data
.
pageSize
)
}
else
{
}
else
{
this
.
initOrderList
(
this
.
data
.
pageNo
,
this
.
data
.
pageSize
,
status
)
this
.
initOrderList
(
this
.
data
.
pageNo
,
this
.
data
.
pageSize
,
status
)
}
}
})
})
},
},
initOrderList
(
pageNo
,
pageSize
,
trade
)
{
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
const
params
=
{
trade
}
wxService
.
post
(
`/sale/trade/buyer/history?pageNum=
${
pageNo
}
&pageSize=
${
pageSize
}
`
,
params
).
then
(
res
=>
{
if
(
res
)
{
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
wx
.
hideLoading
()
this
.
setData
({
orderList
:
this
.
data
.
pageNo
==
1
?
[...
data
]
:
[...
this
.
data
.
orderList
,
...
data
],
noMoreFlag
:
data
.
length
<
pageSize
?
true
:
false
,
},
()
=>
{
this
.
setData
({
no_data
:
this
.
data
.
orderList
.
length
?
true
:
false
})
wx
.
setStorageSync
(
'orderList'
,
this
.
data
.
orderList
)
})
}
}
})
},
// 退款列表 /refund/buyer/history 滚动查询
getRefundList
(
pageNo
,
pageSize
)
{
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
const
params
=
{}
wxService
.
post
(
`/sale/refund/buyer/history?pageNum=
${
pageNo
}
&pageSize=
${
pageSize
}
`
,
params
).
then
(
res
=>
{
if
(
res
)
{
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
wx
.
hideLoading
()
this
.
setData
({
orderList
:
this
.
data
.
pageNo
==
1
?
[...
data
]
:
[...
this
.
data
.
orderList
,
...
data
],
noMoreFlag
:
data
.
length
<
pageSize
?
true
:
false
},()
=>
{
this
.
setData
({
no_data
:
this
.
data
.
orderList
.
length
?
true
:
false
})
})
}
}
})
},
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
...
@@ -124,7 +167,7 @@ wxService.page({
...
@@ -124,7 +167,7 @@ wxService.page({
this
.
setData
({
this
.
setData
({
pageNo
:
this
.
data
.
pageNo
+
1
,
pageNo
:
this
.
data
.
pageNo
+
1
,
},
()
=>
{
},
()
=>
{
this
.
initOrderList
(
this
.
data
.
pageNo
,
this
.
data
.
pageSize
,
this
.
data
.
trade
)
this
.
initOrderList
(
this
.
data
.
pageNo
,
this
.
data
.
pageSize
,
this
.
data
.
trade
)
})
})
},
},
...
...
src/pages/order/order.wxml
View file @
950a961f
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
{{item.name}}
{{item.name}}
</view>
</view>
</view>
</view>
<view class="order-content">
<view class="order-content"
wx:if="{{orderList.length}}"
>
<block
<block
wx:for="{{orderList}}"
wx:for="{{orderList}}"
wx:for-item="item"
wx:for-item="item"
...
@@ -61,26 +61,30 @@
...
@@ -61,26 +61,30 @@
</view>
</view>
</view>
</view>
<view class="btn-group">
<view class="btn-group">
<text class="order-status" wx-if="{{item.status == 'C'}}">
<view class="order-status" wx-if="{{item.status == 'C'}}">
<button class="btn btn-sm btn-default">删除订单</button></text>
<button class="btn btn-sm btn-default" data-id="{{item.id}}">删除订单</button>
<text class="order-status" wx-if="{{item.status == 'N'}}">
</view>
<button class="btn btn-sm btn-primary btn-outline">立即支付</button>
<view class="order-status" wx-if="{{item.status == 'N'}}">
</text>
<button class="btn btn-sm btn-primary btn-outline" data-id="{{item.id}}">立即支付</button>
<text class="order-status" wx-if="{{item.status == 'P'}}">
</view>
<button class="btn btn-sm btn-default">查看物流</button>
<view class="order-status" wx-if="{{item.status == 'P'}}">
</text>
<button class="btn btn-sm btn-default" data-id="{{item.id}}">查看物流</button>
<text class="order-status" wx-if="{{item.status == 'D'}}">
</view>
<button class="btn btn-sm btn-default">查看物流</button>
<view class="order-status" wx-if="{{item.status == 'D'}}">
</text>
<button class="btn btn-sm btn-default" data-id="{{item.id}}">查看物流</button>
<button class="btn btn-sm btn-default" bindtap="handelConfirmReceipt">确认收货</button>
<button class="btn btn-sm btn-default" data-id="{{item.id}}" bindtap="handelConfirmReceipt">确认收货</button>
<text class="order-status" wx-if="{{item.status == 'R'}}"/>
</view>
<view class="order-status" wx-if="{{item.status == 'R'}}" />
<!--<button class="btn btn-sm btn-primary btn-outline ">再来一单</button>-->
<!--<button class="btn btn-sm btn-primary btn-outline ">再来一单</button>-->
</view>
</view>
</view>
</view>
</block>
</block>
<view class="no-bottom">
<no-more wx:if="{{noMoreFlag}}" />
</view>
</view>
<view hidden="{{no_data}}" class="no-list df border_box">
当前无数据
</view>
</view>
</view>
<view class="no-bottom">
<no-more wx:if="{{noMoreFlag}}" />
</view>
</view>
src/pages/order/order.wxss
View file @
950a961f
...
@@ -114,4 +114,8 @@ scroll-view{
...
@@ -114,4 +114,8 @@ scroll-view{
.upload_Item_img{
.upload_Item_img{
width: 140rpx;
width: 140rpx;
height: 140rpx;
height: 140rpx;
}
}
.no-list {
padding-top: 300rpx;
font-size: 26rpx;
}
src/pages/orderDetail/orderDetail.js
View file @
950a961f
...
@@ -26,10 +26,30 @@ wxService.page({
...
@@ -26,10 +26,30 @@ wxService.page({
const
{
id
}
=
this
.
options
const
{
id
}
=
this
.
options
let
detailOrderList
=
wx
.
getStorageSync
(
'orderList'
)
let
detailOrderList
=
wx
.
getStorageSync
(
'orderList'
)
let
currentDetail
=
detailOrderList
.
filter
(
item
=>
item
.
id
==
id
)
let
currentDetail
=
detailOrderList
.
filter
(
item
=>
item
.
id
==
id
)
// /trade/buyer/{id} 订单详情
// if (!Object.keys(this.options).length){ return }
console
.
log
(
'id'
,
id
)
this
.
setData
({
if
(
id
)
{
detail
:
currentDetail
[
0
]
this
.
getOrderDetail
(
id
)
}
// this.setData({
// detail: currentDetail[0]
// })
},
getOrderDetail
(
id
){
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
wxService
.
get
(
`/sale/trade/buyer/
${
id
}
`
).
then
(
res
=>
{
if
(
res
)
{
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
wx
.
hideLoading
()
this
.
setData
({
detail
:
data
})
}
}
})
})
},
},
// 删除订单
// 删除订单
...
...
src/pages/productDetail/productDetail.wxml
View file @
950a961f
<!--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>
>
<!-- <buy-image-swiper image-data="{{imageData}}"/>
<view>
<!-- <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 class="swiper-image" mode="widthFix" src="{{baseImgUrl}}{{item.imageUrl}}"></image>
</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 class="dot{{index == swiperCurrent ? ' active' : ''}}"></view>
</block>
</block>
</view>
</view>
</view>
</view>
<view class="product-detail-wrap">
<view class="product-detail-wrap">
<view class="product-price">
<view class="product-price">
<view class="price-wrap">
<view class="price-wrap">
<view class="price-icon" wx:if="{{memberLevel}}">会员专享价</view>
<view class="price-icon" wx:if="{{memberLevel}}">会员专享价</view>
<text class="price">¥618</text>
<text class="price">¥618</text>
<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>
<view class="product-name">
<view class="product-name">
{{productInfo.productName}}
{{productInfo.productName}}
</view>
</view>
<view class="product-desc">
<view class="product-desc">
{{productInfo.productStatusDesc}}
{{productInfo.productStatusDesc}}
</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> -->
<view class="surplus">
<view class="surplus">
剩余:
剩余:
<text class="surplus-number">{{productInfo.stock}}</text>
<text class="surplus-number">{{productInfo.stock}}</text>
件
件
</view>
</view>
</view>
<view class="gray-line">
</view>
</view>
<view class="scroll-tips">
<view class="gray-line" />
继续拖动,查看图文详情
</view>
<view class="product-footer">
<view class="scroll-tips">
<view class="footer-icons clearfix">
继续拖动,查看图文详情
<form
</view>
class='get-formId'
bindsubmit="nav"
report-submit
name='home'
>
<navigator
class='get-formId--btn footer-icon'
data-url="/pages/page/page"
formType="submit"
open-type="switchTab"
>
<image src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-index.png" mode="widthFix" />
<view>首页</view>
</navigator>
</form>
<form
class='get-formId'
bindsubmit="nav"
report-submit
name='home'
>
<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>
</form>
<form
class='get-formId'
bindsubmit="nav"
report-submit
name='nav'
>
<navigator class='get-formId--btn footer-icon' open-type="switchTab" url="/pages/cart/cart">
<view class="product-footer">
<image class="contact-share-img" src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-shop-cart.png" />
<view class="footer-icons clearfix">
<view class="add-car-text">购物车</view>
<form
</navigator>
class='get-formId'
bindsubmit="nav"
report-submit
name='home'
>
<navigator
class='get-formId--btn footer-icon'
url="/pages/userCenter/userCenter"
formType="submit"
open-type="navigate"
>
<image src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-index.png" mode="widthFix" />
<view>首页</view>
</navigator>
</form>
<form
class='get-formId'
bindsubmit="nav"
report-submit
name='nav'
>
<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='home'
>
<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>
</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"
report-submit
report-submit
name='nav'
name='nav'
>
>
<button class="cart-button get-formId--btn" formType="submit">加入购物车</button>
<button class="cart-button get-formId--btn" formType="submit">加入购物车</button>
</form>
</form>
<form
<form
class='get-formId get-formId--form'
class='get-formId get-formId--form'
bindsubmit="goBuy"
bindsubmit="goBuy"
report-submit
report-submit
name='nav'
name='nav'
>
>
<button class="buy-button get-formId--btn" formType="submit">立即购买</button>
<button class="buy-button get-formId--btn" formType="submit">立即购买</button>
</form>
</form>
</block>
</block>
</view>
</view>
</block>
</block>
</view>
</view>
</view>
</view>
<sku-popup
<sku-popup
...
@@ -155,4 +155,5 @@
...
@@ -155,4 +155,5 @@
<!-- <sku-popup
<!-- <sku-popup
product-sku="{{productInfo.productSku}}"
product-sku="{{productInfo.productSku}}"
/> -->
/> -->
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment