Commit 30e38298 by 高淑倩

modify: test_img_url

parent dcf5d47b
...@@ -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: `https://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) {
......
...@@ -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: `https://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) {
......
...@@ -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>
......
...@@ -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: 6rpx; border-radius: 15rpx;
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; */
} }
......
...@@ -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: `https://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链接列表
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment