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
30e38298
Commit
30e38298
authored
Jun 18, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify: test_img_url
parent
dcf5d47b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
9 deletions
+15
-9
bottom.js
src/component/bottom/bottom.js
+1
-1
imageSwiper.js
src/component/imageSwiper/imageSwiper.js
+1
-1
personCenter.wxml
src/component/personCenter/personCenter.wxml
+3
-3
personCenter.wxss
src/component/personCenter/personCenter.wxss
+9
-3
picNavServe.js
src/component/picNavServe/picNavServe.js
+1
-1
No files found.
src/component/bottom/bottom.js
View file @
30e38298
...
@@ -75,7 +75,7 @@ Component({
...
@@ -75,7 +75,7 @@ Component({
}
else
if
(
link
.
type
==
3
)
{
}
else
if
(
link
.
type
==
3
)
{
// 预览
// 预览
wx
.
previewImage
({
wx
.
previewImage
({
current
:
`http
s://images.unsplash
.com/
${
currentClickType
.
imageUrl
}
`
,
// 当前显示图片的http链接
current
:
`http
://testimg3.bigaka
.com/
${
currentClickType
.
imageUrl
}
`
,
// 当前显示图片的http链接
urls
:
[
`http://testimg3.bigaka.com/
${
currentClickType
.
link
.
url
}
`
]
// 需要预览的图片http链接列表
urls
:
[
`http://testimg3.bigaka.com/
${
currentClickType
.
link
.
url
}
`
]
// 需要预览的图片http链接列表
})
})
}
else
if
(
link
.
type
==
4
)
{
}
else
if
(
link
.
type
==
4
)
{
...
...
src/component/imageSwiper/imageSwiper.js
View file @
30e38298
...
@@ -61,7 +61,7 @@ Component({
...
@@ -61,7 +61,7 @@ Component({
}
else
if
(
link
.
type
==
3
)
{
}
else
if
(
link
.
type
==
3
)
{
// 预览
// 预览
wx
.
previewImage
({
wx
.
previewImage
({
current
:
`http
s://images.unsplash
.com/
${
currentClickType
.
imageUrl
}
`
,
// 当前显示图片的http链接
current
:
`http
://testimg3.bigaka
.com/
${
currentClickType
.
imageUrl
}
`
,
// 当前显示图片的http链接
urls
:
[
`http://testimg3.bigaka.com/
${
currentClickType
.
link
.
url
}
`
]
// 需要预览的图片http链接列表
urls
:
[
`http://testimg3.bigaka.com/
${
currentClickType
.
link
.
url
}
`
]
// 需要预览的图片http链接列表
})
})
}
else
if
(
link
.
type
==
4
)
{
}
else
if
(
link
.
type
==
4
)
{
...
...
src/component/personCenter/personCenter.wxml
View file @
30e38298
...
@@ -2,12 +2,12 @@
...
@@ -2,12 +2,12 @@
<!--<view wx:if='{{!memberActivateStatus}}' class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{'background-image: url(../../assets/imgs/user-bg.png)'}}">
<!--<view wx:if='{{!memberActivateStatus}}' class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{'background-image: url(../../assets/imgs/user-bg.png)'}}">
<button type="primary" plain='false' bindtap="handleTtoActiveMemebr">激活立享会员特权</button>
<button type="primary" plain='false' bindtap="handleTtoActiveMemebr">激活立享会员特权</button>
</view>-->
</view>-->
<view wx:if='{{!currentMobile}}' class="member-unActive" bindtap="handleTtoActiveMemebr">
<view wx:if='{{!currentMobile}}' class="member-unActive
{{personCenter.noactiveBackgroundImageUrl ?'':'member-unActive-bgc'}}
" bindtap="handleTtoActiveMemebr">
<!-- <text class="un-active-btn">升级7-Eleven会员2.0版本</text>-->
<!-- <text class="un-active-btn">升级7-Eleven会员2.0版本</text>-->
<image src="
" mode="scaleToFill
"></image>
<image src="
http://testimg3.bigaka.com{{personCenter.noactiveBackgroundImageUrl}}" class="no-active-img" mode="widthFix
"></image>
</view>
</view>
<!--<view wx:if='{{currentMobile}}' catchtap="handleToMemberOfOwn" class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{personData.backgroundImageUrl ? 'background-image: url('+ personData.backgroundImageUrl +');' : 'background-image: url(' + baseUrl + ');'}}">-->
<!--<view wx:if='{{currentMobile}}' catchtap="handleToMemberOfOwn" class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{personData.backgroundImageUrl ? 'background-image: url('+ personData.backgroundImageUrl +');' : 'background-image: url(' + baseUrl + ');'}}">-->
<view wx:if='{{currentMobile}}' catchtap="handleToMemberOfOwn" class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{personData.backgroundImageUrl ? 'background-image: url('+ personData.backgroundImageUrl +');' : 'background-color: ' + baseUrl + ';'}}">
<view wx:if='{{currentMobile}}' catchtap="handleToMemberOfOwn" class="activation-content activation-bg {{true ? 'user-content' : ''}}" style="{{personData.backgroundImageUrl ? 'background-image: url(
http://testimg3.bigaka.com
'+ personData.backgroundImageUrl +');' : 'background-color: ' + baseUrl + ';'}}">
<view class='user-info' wx:if='{{currentMobile}}'>
<view class='user-info' wx:if='{{currentMobile}}'>
<view class="user-avatar">
<view class="user-avatar">
<open-data type="userAvatarUrl"></open-data>
<open-data type="userAvatarUrl"></open-data>
...
...
src/component/personCenter/personCenter.wxss
View file @
30e38298
...
@@ -73,7 +73,11 @@
...
@@ -73,7 +73,11 @@
padding:0 0 5rpx 0;
padding:0 0 5rpx 0;
box-sizing:border-box;
box-sizing:border-box;
}
}
.no-active-img {
width: 100%;
height: 100% !important;
border-radius:15rpx;
}
.userinfo-nickname,.user-id {
.userinfo-nickname,.user-id {
color: #fff;
color: #fff;
}
}
...
@@ -89,17 +93,19 @@
...
@@ -89,17 +93,19 @@
.member-unActive{
.member-unActive{
margin: 18rpx 0;
margin: 18rpx 0;
background-color: #02bb70;
color: #FFF;
color: #FFF;
text-align: center;
text-align: center;
height: 200rpx;
height: 200rpx;
line-height: 200rpx;
line-height: 200rpx;
border-radius:
6
rpx;
border-radius:
15
rpx;
font-size: 36rpx;
font-size: 36rpx;
font-weight: 700;
font-weight: 700;
letter-spacing: 5rpx;
letter-spacing: 5rpx;
cursor: pointer;
cursor: pointer;
}
}
.member-unActive-bgc {
background-color: #02bb70;
}
.un-active-btn{
.un-active-btn{
/* font-family:"iconfont-711" !important; */
/* font-family:"iconfont-711" !important; */
}
}
...
...
src/component/picNavServe/picNavServe.js
View file @
30e38298
...
@@ -29,7 +29,7 @@ Component({
...
@@ -29,7 +29,7 @@ Component({
preview
(
e
)
{
preview
(
e
)
{
const
{
url
,
currentUrl
}
=
e
.
currentTarget
.
dataset
const
{
url
,
currentUrl
}
=
e
.
currentTarget
.
dataset
wx
.
previewImage
({
wx
.
previewImage
({
current
:
`http
s://images.unsplash
.com/
${
currentUrl
}
`
,
// 当前显示图片的http链接
current
:
`http
://testimg3.bigaka
.com/
${
currentUrl
}
`
,
// 当前显示图片的http链接
urls
:
[
`http://testimg3.bigaka.com/
${
url
}
`
]
// 需要预览的图片http链接列表
urls
:
[
`http://testimg3.bigaka.com/
${
url
}
`
]
// 需要预览的图片http链接列表
})
})
}
}
...
...
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