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
8f5ad584
Commit
8f5ad584
authored
Oct 09, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug-ZYW' into 'dev_7.1.0'
Fixbug zyw See merge request
!165
parents
8643eb74
3ad0b41e
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
98 additions
and
36 deletions
+98
-36
app.js
src/app.js
+2
-2
bottomTabs.wxml
src/component/bottomTabs/bottomTabs.wxml
+1
-1
wxHtml.wxss
src/component/html2wxml/wxHtml.wxss
+6
-1
personCenter.wxml
src/component/personCenter/personCenter.wxml
+2
-2
scrollDel.js
src/component/scrollDel/scrollDel.js
+7
-0
scrollDel.wxml
src/component/scrollDel/scrollDel.wxml
+4
-3
scrollDel.wxss
src/component/scrollDel/scrollDel.wxss
+10
-1
waterFlowLayout.wxss
src/component/waterFlowLayout/waterFlowLayout.wxss
+7
-2
index.js
src/config/index.js
+1
-1
cart.wxml
src/pages/cart/cart.wxml
+2
-2
wantToBuyDetail.wxml
src/pages/wantToBuyDetail/wantToBuyDetail.wxml
+15
-11
wantToBuyDetail.wxss
src/pages/wantToBuyDetail/wantToBuyDetail.wxss
+22
-3
project.config.json
src/project.config.json
+1
-1
myReleaseDetail.wxss
...ubPackage/page/pages/myReleaseDetail/myReleaseDetail.wxss
+8
-2
subPage.js
src/subPackage/page/pages/subPage/subPage.js
+6
-0
Http.js
src/utils/Http.js
+4
-4
No files found.
src/app.js
View file @
8f5ad584
...
@@ -124,8 +124,8 @@ App({
...
@@ -124,8 +124,8 @@ App({
// brandId: 2711,
// brandId: 2711,
// brandId: 2005,
// brandId: 2005,
// brandId: 1001,
// brandId: 1001,
brandId
:
1002
,
//
brandId: 1002,
//
brandId: 3001,
brandId
:
3001
,
// brandId: 3002,
// brandId: 3002,
}
}
})
})
src/component/bottomTabs/bottomTabs.wxml
View file @
8f5ad584
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
</view>
</view>
<view class="bottom-tab bgc fixed-bottom0" wx:if="{{tabBar.num == 5}}">
<view class="bottom-tab bgc fixed-bottom0" wx:if="{{tabBar.num == 5}}">
<block wx:for="{{tabBarList}}" wx:key="{{index}}" wx:for-item="tab">
<block wx:for="{{tabBarList}}" wx:key="{{index}}" wx:for-item="tab">
<view class="tab" data-item="{{tab}}"
bindtap="handelToPage"
>
<view class="tab" data-item="{{tab}}">
<!--当前页面需要授权 且未授权-->
<!--当前页面需要授权 且未授权-->
<view wx:if="{{tab.needAuth}}" class="btn-tab">
<view wx:if="{{tab.needAuth}}" class="btn-tab">
<view wx:if="{{!currentHasUserInfo}}" class="btn-tab">
<view wx:if="{{!currentHasUserInfo}}" class="btn-tab">
...
...
src/component/html2wxml/wxHtml.wxss
View file @
8f5ad584
/* component/html2wxml/wxHtml.wxss */
/* component/html2wxml/wxHtml.wxss */
@import '../../wxParser/index.wxss';
@import '../../wxParser/index.wxss';
/*
.wxParser image {
.wxParser image {
width:100%;
width:100%;
}
/* .wxParser .wxParser-p{
text-align: center;
} */
} */
\ No newline at end of file
src/component/personCenter/personCenter.wxml
View file @
8f5ad584
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</view>
</view>
</view>
</view>
<!--plus-->
<!--plus-->
<view class='df tc person-num' wx:if='{{currentMobile}}'>
<
!-- <
view class='df tc person-num' wx:if='{{currentMobile}}'>
<image class="" src='{{currentPlusStyle.imageUrl}}' data-row="{{currentPlusStyle.row}}" mode="widthFix" bindtap="toPlusPay"/>
<image class="" src='{{currentPlusStyle.imageUrl}}' data-row="{{currentPlusStyle.row}}" mode="widthFix" bindtap="toPlusPay"/>
</view>
</view>
-->
src/component/scrollDel/scrollDel.js
View file @
8f5ad584
...
@@ -62,6 +62,13 @@ Component({
...
@@ -62,6 +62,13 @@ Component({
this
.
triggerEvent
(
'addNumChange'
,
index
)
this
.
triggerEvent
(
'addNumChange'
,
index
)
})
})
},
},
//item点击
bindTapItem
(
e
){
let
productId
=
e
.
currentTarget
.
dataset
.
id
;
if
(
productId
){
wxService
.
router
(
'/pages/productDetail/productDetail?id='
+
productId
);
}
},
blurNum
(
e
){
blurNum
(
e
){
// value index
// value index
var
index
=
e
.
currentTarget
.
dataset
.
index
var
index
=
e
.
currentTarget
.
dataset
.
index
...
...
src/component/scrollDel/scrollDel.wxml
View file @
8f5ad584
...
@@ -3,10 +3,11 @@
...
@@ -3,10 +3,11 @@
<scroll-view scroll-y="{{isScroll}}">
<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}}"
class="checke-item" catchtap="checkPro"
>
<icon size="1
6" type="{{item.checked ? 'success' : 'circle'}}" color="{{checkedColor}}" data-index="{{index}}" catchtap="checkPro"
></icon>
<icon size="1
8" type="{{item.checked ? 'success' : 'circle'}}" color="{{checkedColor}}" data-index="{{index}}"
></icon>
</view>
</view>
<view class="pro-info">
<!-- bindtap="bindTapItem" data-id="{{item.id}}" -->
<view class="pro-info" bindtap="bindTapItem" data-id="{{item.productId}}">
<image class="pro-img" src="{{item.skuImgUrl}}" mode="widthFix"></image>
<image class="pro-img" src="{{item.skuImgUrl}}" mode="widthFix"></image>
<view class="pro-right-info">
<view class="pro-right-info">
<view class="pro-name">{{item.productName}}</view>
<view class="pro-name">{{item.productName}}</view>
...
...
src/component/scrollDel/scrollDel.wxss
View file @
8f5ad584
...
@@ -35,8 +35,17 @@
...
@@ -35,8 +35,17 @@
align-items: center;
align-items: center;
flex-shrink: 0;
flex-shrink: 0;
}
}
.checke-item{
flex: 0;
min-width: 48rpx;
max-width: 48rpx;
height: 180rpx;
display: flex;
align-items: center;
}
.pro-info{
.pro-info{
margin-left: 24rpx;
/* margin-left: 24rpx; */
flex: 1;
flex: 1;
display: flex;
display: flex;
border-bottom: 1rpx solid rgba(151,151,151,0.3);
border-bottom: 1rpx solid rgba(151,151,151,0.3);
...
...
src/component/waterFlowLayout/waterFlowLayout.wxss
View file @
8f5ad584
...
@@ -61,9 +61,14 @@
...
@@ -61,9 +61,14 @@
padding: 10rpx;
padding: 10rpx;
}
}
.share-oprate{
display: flex;
align-items: center;
}
.share-img{
.share-img{
width: 2
0
rpx;
width: 2
8
rpx;
height: 2
0
rpx;
height: 2
8
rpx;
}
}
.share-number{
.share-number{
font-size: 24rpx;
font-size: 24rpx;
...
...
src/config/index.js
View file @
8f5ad584
const
PROJECT_ENV
=
'
test
'
// 生产 prod, 开发 dev, 测试 test, 预生产 pre
const
PROJECT_ENV
=
'
prod
'
// 生产 prod, 开发 dev, 测试 test, 预生产 pre
const
needMock
=
''
//
const
needMock
=
''
//
// appid_dev_wx wxc3b64b09b1d3dfc2
// appid_dev_wx wxc3b64b09b1d3dfc2
...
...
src/pages/cart/cart.wxml
View file @
8f5ad584
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 空状态时 -->
<view class="empty" wx-if="{{cartList !== null && cartList.length == 0}}">
<view class="empty" wx-if="{{cartList !== null && cartList.length == 0}}">
<view class="empty-img">
<view class="empty-img">
<image class="no-cart-img" src="/assets/imgs/7_1_0/08_22/no-cart.png" mode="widthFix" />
<image class="no-cart-img" src="/assets/imgs/7_1_0/08_22/no-cart.png" mode="widthFix" />
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<view class="cart-bottom">
<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="1
6
" />
<icon type="{{checkAll ? 'success' : 'circle'}}" color="{{checkedColor}}" size="1
8
" />
<text class="all" >全选</text>
<text class="all" >全选</text>
</view>
</view>
<view class="total-amount">
<view class="total-amount">
...
...
src/pages/wantToBuyDetail/wantToBuyDetail.wxml
View file @
8f5ad584
...
@@ -4,17 +4,6 @@
...
@@ -4,17 +4,6 @@
<buy-image-swiper bind:updatePage="updatePage" image-data="{{contentInfo.shareShowPictureRESDTOList}}" />
<buy-image-swiper bind:updatePage="updatePage" image-data="{{contentInfo.shareShowPictureRESDTOList}}" />
<view class="buy-desc">
<view class="buy-desc">
<view> <x-html html="{{contentInfo.article}}" /></view>
<view> <x-html html="{{contentInfo.article}}" /></view>
<view class="share-wrap">
<view class="share-oprate" bindtap="gotoLike">
<image class="share-img" src="{{contentInfo.type ? '/assets/imgs/heart-primary.png' : '/assets/imgs/heart-default.png'}}" />
<text class="share-number">{{contentInfo.enjoySum || 0}}</text>
</view>
<view class="share-oprate" bindtap="onTapShare">
<image class="share-img" src="/assets/imgs/share.png" />
<text class="share-number">{{contentInfo.transmitSum || 0}}</text>
</view>
</view>
</view>
</view>
<view class="buy-product-wrap">
<view class="buy-product-wrap">
<view class="buy-product-content">
<view class="buy-product-content">
...
@@ -39,6 +28,21 @@
...
@@ -39,6 +28,21 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 点赞分享悬浮 -->
<view class="fixed-bottom">
<view class="share-wrap">
<view class="share-oprate" bindtap="gotoLike">
<image class="share-img" src="{{contentInfo.type ? '/assets/imgs/heart-primary.png' : '/assets/imgs/heart-default.png'}}" />
<text class="share-number">{{contentInfo.enjoySum || 0}}</text>
</view>
<view class="share-oprate" bindtap="onTapShare">
<image class="share-img" src="/assets/imgs/share.png" />
<text class="share-number">{{contentInfo.transmitSum || 0}}</text>
</view>
</view>
</view>
<card-modal
<card-modal
show-card-modal="{{showCardModal}}"
show-card-modal="{{showCardModal}}"
card-title="{{cardTitle}}"
card-title="{{cardTitle}}"
...
...
src/pages/wantToBuyDetail/wantToBuyDetail.wxss
View file @
8f5ad584
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
@import './../../base/base.wxss';
@import './../../base/base.wxss';
page{
page{
background: #ffffff;
background: #ffffff;
padding-bottom: 80rpx;
}
}
scroll-view{
scroll-view{
height: 100%;
height: 100%;
...
@@ -45,15 +46,22 @@ swiper {
...
@@ -45,15 +46,22 @@ swiper {
.buy-desc{
.buy-desc{
padding: 0 30rpx;
padding: 0 30rpx;
}
}
.share-oprate{
display: flex;
align-items: center;
}
.share-wrap{
.share-wrap{
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
margin-top: 31rpx;
align-items: center;
/* margin-top: 31rpx; */
}
}
.share-img{
.share-img{
width: 2
0
rpx;
width: 2
8
rpx;
height: 2
0
rpx;
height: 2
8
rpx;
}
}
.share-number{
.share-number{
font-size: 24rpx;
font-size: 24rpx;
...
@@ -129,6 +137,17 @@ swiper {
...
@@ -129,6 +137,17 @@ swiper {
float: right;
float: right;
}
}
.fixed-bottom{
position: fixed;
width: 100%;
height: auto;
bottom: 0;
left: 0;
padding: 20rpx;
box-sizing: border-box;
background: #ffffff;
border-top: solid 1px #eee;
}
...
...
src/project.config.json
View file @
8f5ad584
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
},
},
"compileType"
:
"miniprogram"
,
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.8.2"
,
"libVersion"
:
"2.8.2"
,
"appid"
:
"wx
ac09792264c49b5c
"
,
"appid"
:
"wx
313ec36b710125d4
"
,
"projectname"
:
"%E5%BE%AE%E5%95%86%E5%9F%8E"
,
"projectname"
:
"%E5%BE%AE%E5%95%86%E5%9F%8E"
,
"debugOptions"
:
{
"debugOptions"
:
{
"hidedInDevtools"
:
[]
"hidedInDevtools"
:
[]
...
...
src/subPackage/page/pages/myReleaseDetail/myReleaseDetail.wxss
View file @
8f5ad584
...
@@ -86,9 +86,15 @@ page{
...
@@ -86,9 +86,15 @@ page{
font-size: 26rpx;
font-size: 26rpx;
font-family: PingFangSC-Medium;
font-family: PingFangSC-Medium;
}
}
.share-oprate{
display: flex;
align-items: center;
}
.share-img{
.share-img{
width: 2
0
rpx;
width: 2
8
rpx;
height: 2
0
rpx;
height: 2
8
rpx;
}
}
.share-number{
.share-number{
font-size: 24rpx;
font-size: 24rpx;
...
...
src/subPackage/page/pages/subPage/subPage.js
View file @
8f5ad584
...
@@ -54,6 +54,12 @@ wxService.page({
...
@@ -54,6 +54,12 @@ wxService.page({
handlerDataOnPage
=
new
utils
.
HandlerDataOnPage
()
handlerDataOnPage
=
new
utils
.
HandlerDataOnPage
()
renderPage
=
require
(
'../../../../utils/renderPage'
).
getRenderPage
()
renderPage
=
require
(
'../../../../utils/renderPage'
).
getRenderPage
()
handlerDataOnPage
.
init
(
this
,
'pages'
)
handlerDataOnPage
.
init
(
this
,
'pages'
)
if
(
this
.
options
[
'scene'
])
{
let
idParam
=
decodeURIComponent
(
this
.
options
[
'scene'
]).
split
(
'&'
)[
0
];
let
shareId
=
idParam
&&
idParam
.
split
(
'='
)[
1
]
||
0
;
this
.
options
.
pageId
=
shareId
;
}
this
.
setData
({
this
.
setData
({
pageId
:
this
.
options
.
pageId
pageId
:
this
.
options
.
pageId
},()
=>
{
},()
=>
{
...
...
src/utils/Http.js
View file @
8f5ad584
...
@@ -99,8 +99,8 @@ class Http {
...
@@ -99,8 +99,8 @@ class Http {
url
,
url
,
method
:
'GET'
,
method
:
'GET'
,
header
:
{
header
:
{
'tunnel-token'
:
'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD'
,
// 测试
//
'tunnel-token': 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD', // 测试
//
'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8', // 生产
'tunnel-token'
:
'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8'
,
// 生产
'tentacle-content'
:
this
.
getTentacle
(),
'tentacle-content'
:
this
.
getTentacle
(),
// 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}'
// 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}'
...
@@ -131,8 +131,8 @@ class Http {
...
@@ -131,8 +131,8 @@ class Http {
url
,
url
,
method
:
'POST'
,
method
:
'POST'
,
header
:
{
header
:
{
'tunnel-token'
:
'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD'
,
// 测试
//
'tunnel-token': 'aa8a1bfb7f6c5031d172d94b6574293ef954a6f2d4e16657da008e0cc15588feD', // 测试
//
'tunnel-token' : 'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8', // 生产
'tunnel-token'
:
'd6db651f8b9c7db4176465accfc1c913843fd9ad328cd5f4fe201d918072c9e8'
,
// 生产
'tentacle-content'
:
this
.
getTentacle
()
'tentacle-content'
:
this
.
getTentacle
()
// 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}'
// 'tentacle-content': '{"id":"621346354647797760","tentacleType":3,"tentacleId":"611969009872691200","contentType":1}'
},
},
...
...
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