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
705e8130
Commit
705e8130
authored
Sep 27, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug-ZYW' into 'dev_7.1.0'
Fixbug zyw See merge request
!162
parents
b8e221f4
9d2288bf
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
18 additions
and
11 deletions
+18
-11
plus-sm.png
src/assets/imgs/7_1_0/plus-sm.png
+0
-0
buyImageSwiper.wxml
src/component/buyImageSwiper/buyImageSwiper.wxml
+1
-1
productListStyleOne.wxss
src/component/productListStyleOne/productListStyleOne.wxss
+2
-1
productListStyleTwo.wxml
src/component/productListStyleTwo/productListStyleTwo.wxml
+2
-2
productListStyleTwo.wxss
src/component/productListStyleTwo/productListStyleTwo.wxss
+1
-1
waterFlowLayout.wxss
src/component/waterFlowLayout/waterFlowLayout.wxss
+1
-0
extendProduct.js
src/pages/extendProduct/extendProduct.js
+3
-1
wantToBuyDetail.js
src/pages/wantToBuyDetail/wantToBuyDetail.js
+3
-0
categoryPro.json
src/subPackage/page/pages/categoryPro/categoryPro.json
+1
-1
myInvite.js
src/subPackage/page/pages/myInvite/myInvite.js
+2
-2
myReleaseDetail.js
src/subPackage/page/pages/myReleaseDetail/myReleaseDetail.js
+1
-1
orderBenefit.js
src/subPackage/page/pages/orderBenefit/orderBenefit.js
+1
-1
No files found.
src/assets/imgs/7_1_0/plus-sm.png
View replaced file @
b8e221f4
View file @
705e8130
1.14 KB
|
W:
|
H:
2.19 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/component/buyImageSwiper/buyImageSwiper.wxml
View file @
705e8130
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
>
>
<block wx:for="{{imageData}}" wx:key="{{item}}">
<block wx:for="{{imageData}}" wx:key="{{item}}">
<swiper-item class="swiper-item">
<swiper-item class="swiper-item">
<image src="{{item.url}}" wx:if="{{!item.videoUrl}}" data-appid="{{item.id}}" data-path="{{item.link.url}}" data-link="{{item.link}}" data-item="{{item}}" bindtap='preview' class="slide-image" />
<image src="{{item.url}}" wx:if="{{!item.videoUrl}}" data-appid="{{item.id}}" data-path="{{item.link.url}}" data-link="{{item.link}}" data-item="{{item}}" bindtap='preview' class="slide-image"
mode="aspectFit"
/>
<video class="slide-image" src="{{utils.formateUrl(item.videoUrl,baseImgUrl)}}" wx:if="{{item.videoUrl}}" controls="true" autoplay="true"></video>
<video class="slide-image" src="{{utils.formateUrl(item.videoUrl,baseImgUrl)}}" wx:if="{{item.videoUrl}}" controls="true" autoplay="true"></video>
</swiper-item>
</swiper-item>
</block>
</block>
...
...
src/component/productListStyleOne/productListStyleOne.wxss
View file @
705e8130
...
@@ -80,6 +80,6 @@
...
@@ -80,6 +80,6 @@
margin-left: 13rpx;
margin-left: 13rpx;
}
}
.pro-member-price image{
.pro-member-price image{
width:
30
rpx;
width:
51
rpx;
margin-left: 13rpx;
margin-left: 13rpx;
}
}
\ No newline at end of file
src/component/productListStyleTwo/productListStyleTwo.wxml
View file @
705e8130
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<view class="item-name">{{item.productName}}</view>
<view class="item-name">{{item.productName}}</view>
<view class="item-desc">{{item.productStatusDesc}}</view>
<view class="item-desc">{{item.productStatusDesc}}</view>
<view class="item-vip-price weui-flex">
<view class="item-vip-price weui-flex">
<text class="vip-sale-price border_box">¥{{item.memberPrice ? utils.numberFormat(item.memberPrice / 100) : utils.numberFormat(item.minSalePrice / 100)}}</text>
<view class="" >
<view class="" >
<image
<image
class="item-vip"
class="item-vip"
...
@@ -22,10 +23,10 @@
...
@@ -22,10 +23,10 @@
wx:if="{{item.memberPrice}}"
wx:if="{{item.memberPrice}}"
/>
/>
</view>
</view>
<text class="vip-sale-price border_box">¥{{item.memberPrice ? utils.numberFormat(item.memberPrice / 100) : utils.numberFormat(item.minSalePrice / 100)}}</text>
<!-- <text class="vip-original-price">¥189</text> -->
<!-- <text class="vip-original-price">¥189</text> -->
</view>
</view>
<view class="item-plus-price weui-flex" wx:if="{{item.plusPrice}}">
<view class="item-plus-price weui-flex" wx:if="{{item.plusPrice}}">
<text class="vip-plus-price vip-sale-price border_box">¥{{utils.numberFormat(item.plusPrice / 100)}}</text>
<view class="">
<view class="">
<image
<image
class="item-plus"
class="item-plus"
...
@@ -36,7 +37,6 @@
...
@@ -36,7 +37,6 @@
bindload=""
bindload=""
/>
/>
</view>
</view>
<text class="vip-plus-price vip-sale-price border_box">¥{{utils.numberFormat(item.plusPrice / 100)}}</text>
</view>
</view>
<view/>
<view/>
...
...
src/component/productListStyleTwo/productListStyleTwo.wxss
View file @
705e8130
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
margin-top: 12rpx;
margin-top: 12rpx;
}
}
.vip-sale-price {
.vip-sale-price {
padding: 0 10rpx;
padding: 0 10rpx
0 0
;
}
}
.vip-original-price {
.vip-original-price {
width: 62rpx;
width: 62rpx;
...
...
src/component/waterFlowLayout/waterFlowLayout.wxss
View file @
705e8130
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
align-items: center;
align-items: center;
}
}
.item-img{
.item-img{
max-height: 480rpx;
width: 100%;
width: 100%;
border-top-left-radius: 10rpx;
border-top-left-radius: 10rpx;
border-top-right-radius: 10rpx;
border-top-right-radius: 10rpx;
...
...
src/pages/extendProduct/extendProduct.js
View file @
705e8130
...
@@ -263,6 +263,7 @@ wxService.page({
...
@@ -263,6 +263,7 @@ wxService.page({
// 获取我的推广订单列表
// 获取我的推广订单列表
getMyExtendOrderList
(
pageNum
,
pageSize
){
getMyExtendOrderList
(
pageNum
,
pageSize
){
console
.
log
(
'pageNum----'
,
pageNum
)
wx
.
showLoading
({
wx
.
showLoading
({
title
:
'加载中'
,
title
:
'加载中'
,
mask
:
true
mask
:
true
...
@@ -276,7 +277,7 @@ wxService.page({
...
@@ -276,7 +277,7 @@ wxService.page({
wxService
.
getContentByContentType
(
item
.
tentacleContent
)
wxService
.
getContentByContentType
(
item
.
tentacleContent
)
})
})
this
.
setData
({
this
.
setData
({
myExtendList
:
this
.
data
.
pageNum
==
1
?
[...
data
.
content
]
:
[...
this
.
data
.
myExtendList
,
...
data
.
content
],
myExtendList
:
pageNum
==
1
?
[...
data
.
content
]
:
[...
this
.
data
.
myExtendList
,
...
data
.
content
],
myTotalPages
:
data
.
totalPages
,
myTotalPages
:
data
.
totalPages
,
noMoreFlag
:
data
.
content
.
length
<
pageSize
?
true
:
false
,
noMoreFlag
:
data
.
content
.
length
<
pageSize
?
true
:
false
,
},
()
=>
{
},
()
=>
{
...
@@ -366,6 +367,7 @@ wxService.page({
...
@@ -366,6 +367,7 @@ wxService.page({
})
})
}
}
}
else
{
}
else
{
console
.
log
(
'11111111111'
,
this
.
data
.
pageNum
)
if
(
this
.
data
.
pageNum
<
this
.
data
.
myTotalPages
)
{
if
(
this
.
data
.
pageNum
<
this
.
data
.
myTotalPages
)
{
this
.
setData
({
this
.
setData
({
pageNum
:
this
.
data
.
pageNum
+
1
,
pageNum
:
this
.
data
.
pageNum
+
1
,
...
...
src/pages/wantToBuyDetail/wantToBuyDetail.js
View file @
705e8130
...
@@ -194,6 +194,9 @@ wxService.page({
...
@@ -194,6 +194,9 @@ wxService.page({
//获取内容下商品列表
//获取内容下商品列表
getProList
(){
getProList
(){
var
params
=
{
var
params
=
{
productIds
:
this
.
data
.
contentInfo
.
productIds
productIds
:
this
.
data
.
contentInfo
.
productIds
}
}
...
...
src/subPackage/page/pages/categoryPro/categoryPro.json
View file @
705e8130
{
{
"navigationBarTitleText"
:
"
聚FUN
"
,
"navigationBarTitleText"
:
"
商品列表
"
,
"usingComponents"
:
{
"usingComponents"
:
{
"product-list-style-one"
:
"/component/productListStyleOne/productListStyleOne"
,
"product-list-style-one"
:
"/component/productListStyleOne/productListStyleOne"
,
"product-list-style-two"
:
"/component/productListStyleTwo/productListStyleTwo"
,
"product-list-style-two"
:
"/component/productListStyleTwo/productListStyleTwo"
,
...
...
src/subPackage/page/pages/myInvite/myInvite.js
View file @
705e8130
...
@@ -54,7 +54,7 @@ wxService.page({
...
@@ -54,7 +54,7 @@ wxService.page({
const
{
result
,
data
}
=
res
.
data
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
if
(
result
==
0
)
{
this
.
setData
({
this
.
setData
({
isGoToInvite
:
data
isGoToInvite
:
data
||
''
})
})
}
}
}).
finally
(()
=>
{
}).
finally
(()
=>
{
...
@@ -123,7 +123,7 @@ wxService.page({
...
@@ -123,7 +123,7 @@ wxService.page({
if
(
result
==
0
)
{
if
(
result
==
0
)
{
wx
.
hideLoading
()
wx
.
hideLoading
()
this
.
setData
({
this
.
setData
({
inviteBanner
:
data
.
gradientAwardPage
inviteBanner
:
data
&&
data
.
gradientAwardPage
||
''
},
()
=>
{
},
()
=>
{
})
})
// let now = new Date().getTime()
// let now = new Date().getTime()
...
...
src/subPackage/page/pages/myReleaseDetail/myReleaseDetail.js
View file @
705e8130
...
@@ -108,7 +108,7 @@ wxService.page({
...
@@ -108,7 +108,7 @@ wxService.page({
//跳转商品详情
//跳转商品详情
onTapToGoodsInfo
(
e
)
{
onTapToGoodsInfo
(
e
)
{
console
.
log
(
e
)
console
.
log
(
'0000'
,
e
)
let
item
=
e
.
currentTarget
.
dataset
.
item
;
let
item
=
e
.
currentTarget
.
dataset
.
item
;
let
productId
=
e
.
currentTarget
.
dataset
.
productid
;
let
productId
=
e
.
currentTarget
.
dataset
.
productid
;
//组装一个临时触点信息对象到本地
//组装一个临时触点信息对象到本地
...
...
src/subPackage/page/pages/orderBenefit/orderBenefit.js
View file @
705e8130
...
@@ -70,7 +70,7 @@ wxService.page({
...
@@ -70,7 +70,7 @@ wxService.page({
if
(
result
==
0
)
{
if
(
result
==
0
)
{
wx
.
hideLoading
()
wx
.
hideLoading
()
this
.
setData
({
this
.
setData
({
orderBenefitList
:
this
.
data
.
pageNum
==
1
?
[...
data
.
content
]
:
[...
this
.
data
.
orderBenefitList
,
...
data
.
content
],
orderBenefitList
:
pageNum
==
1
?
[...
data
.
content
]
:
[...
this
.
data
.
orderBenefitList
,
...
data
.
content
],
totalPages
:
data
.
totalPages
totalPages
:
data
.
totalPages
},
()
=>
{
},
()
=>
{
})
})
...
...
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