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
ef6bf2b6
Commit
ef6bf2b6
authored
Sep 23, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug-ZYW' into 'dev_7.1.0'
Fixbug zyw See merge request
!152
parents
51be3781
52bf2509
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
10 deletions
+13
-10
cardModal.wxml
src/component/cardModal/cardModal.wxml
+2
-2
sharePoster.json
src/component/sharePoster/sharePoster.json
+2
-0
sharePoster.wxml
src/component/sharePoster/sharePoster.wxml
+3
-3
sharePoster.wxss
src/component/sharePoster/sharePoster.wxss
+3
-3
extendProduct.js
src/pages/extendProduct/extendProduct.js
+3
-2
No files found.
src/component/cardModal/cardModal.wxml
View file @
ef6bf2b6
<!--component/cardModal/cardModal.wxml-->
<!--component/cardModal/cardModal.wxml-->
<view>
<view>
<view class="commodity_screen2" bindtap='closeCardModal' style='opacity: 0.5;' hidden="{{!showCardModal}}"></view>
<view class="commodity_screen2" bindtap='closeCardModal' style='opacity: 0.5;' hidden="{{!showCardModal}}"
catchtouchmove='true'
></view>
<view class="card-modal" hidden="{{!showCardModal}}">
<view class="card-modal" hidden="{{!showCardModal}}"
catchtouchmove='true'
>
<view class="card-modal-content">
<view class="card-modal-content">
<view class="modal-header">
<view class="modal-header">
<image class="brand-img" src="http://t2.hddhhn.com/uploads/tu/201806/9999/91480c0c87.jpg"></image>
<image class="brand-img" src="http://t2.hddhhn.com/uploads/tu/201806/9999/91480c0c87.jpg"></image>
...
...
src/component/sharePoster/sharePoster.json
View file @
ef6bf2b6
{
{
"component"
:
true
,
"component"
:
true
,
"disableScroll"
:
true
,
"usingComponents"
:
{}
"usingComponents"
:
{}
}
}
\ No newline at end of file
src/component/sharePoster/sharePoster.wxml
View file @
ef6bf2b6
<view class="commodity_screen2" bindtap='closePoste' style='opacity: 0.5;' wx:if="{{showpost}}" catchtouchmove='
fals
e'></view>
<view class="commodity_screen2" bindtap='closePoste' style='opacity: 0.5;' wx:if="{{showpost}}" catchtouchmove='
tru
e'></view>
<view class='poste_box' bindlongpress='saveShareImg' hidden='{{!showpost}}'>
<view class='poste_box' bindlongpress='saveShareImg' hidden='{{!showpost}}'
catchtouchmove='true'
>
<view class='poste_content' id='canvas-container'>
<view class='poste_content' id='canvas-container'>
<canvas canvas-id="myCanvas" style="width:100%;height:{{imgHeight}}px;"
/
>
<canvas canvas-id="myCanvas" style="width:100%;height:{{imgHeight}}px;"
> <cover-view></cover-view> </canvas
>
</view>
</view>
<view class="save-poster">
<view class="save-poster">
<button class="save-btn" bindtap="saveShareImg">保存海报</button>
<button class="save-btn" bindtap="saveShareImg">保存海报</button>
...
...
src/component/sharePoster/sharePoster.wxss
View file @
ef6bf2b6
...
@@ -150,10 +150,10 @@
...
@@ -150,10 +150,10 @@
width: 524rpx;
width: 524rpx;
margin: auto;
margin: auto;
overflow: hidden;
overflow: hidden;
margin-top: 153rpx;
/* margin-top: 153rpx; */
background-color: #fff;
/* background-color: #fff; */
position: fixed;
position: fixed;
top:
0
;
top:
153rpx
;
z-index: 9999;
z-index: 9999;
border-radius: 5rpx;
border-radius: 5rpx;
}
}
...
...
src/pages/extendProduct/extendProduct.js
View file @
ef6bf2b6
...
@@ -25,7 +25,8 @@ wxService.page({
...
@@ -25,7 +25,8 @@ wxService.page({
extendProList
:[],
extendProList
:[],
myExtendList
:[],
myExtendList
:[],
myShareCount
:
''
,
myShareCount
:
''
,
extendProBanner
:
''
extendProBanner
:
''
,
proData
:
[]
},
},
/**
/**
...
@@ -133,7 +134,7 @@ wxService.page({
...
@@ -133,7 +134,7 @@ wxService.page({
// 获取选择推广的商品
// 获取选择推广的商品
getChooseExtendPro
(
type
){
getChooseExtendPro
(
type
){
if
(
!
this
.
data
.
proData
)
{
if
(
!
this
.
data
.
proData
.
length
)
{
wx
.
showToast
({
wx
.
showToast
({
title
:
'请先选择商品'
,
title
:
'请先选择商品'
,
icon
:
'none'
icon
:
'none'
...
...
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