Commit 71542fdf4b4e40923d37b72d9a2b237f915cc29b

Authored by vking
1 parent a287e59e

blue style

... ... @@ -11,8 +11,11 @@
<view style="max-width: 100%;width: 100%;">
<view class="name Semibold flex-ll">
<view class="sellername">{{seller.sellername}}</view>
<!--
<view class="ActivityShort" wx:if="{{hasActivityShort && seller.activity.length>0}}"></view>
-->
</view>
<view class="ActivityText" wx:if="{{hasActivityShort && seller.activity.length>0}}">此店有优惠</view>
<view wx:if="{{hasSlogan && seller.slogan}}" class="slogan">“{{seller.slogan}}”</view>
<view class="text flex-ll" wx:if="{{seller.cate.length>0}}">
<view class="text-item" wx:for="{{seller.cate}}" wx:key="seller.cate.key" wx:if="{{index<3}}">{{item.name}}</view>
... ...
... ... @@ -226,4 +226,12 @@
overflow: hidden;
text-overflow:ellipsis;
max-width: 320rpx;
}
.ActivityText{
height:34rpx;
font-size:24rpx;
font-weight:600;
color:rgba(34,137,243,1);
line-height:34rpx;
margin-top: 10rpx;
}
\ No newline at end of file
... ...
<!--components/tips/add-to-lite.wxml-->
<cover-view class="discount" style="top:{{statusBarHeightFull+a2lHeight}}px;width:{{hidden?'100rpx':'720rpx'}};" bindtap="gotoDiscount">
<cover-view style="position: relative;height: 100%;">
<cover-image class="discount-img" src="http://qn.colorcun.com/reserve/images/%E6%83%A03.png"></cover-image>
<cover-image class="discount-img" src="http://qn.colorcun.com/reserve/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20191114115105.png"></cover-image>
<cover-view style="position: relative;" wx:if="{{!hidden}}">
<cover-image src="http://qn.colorcun.com/reserve/images/%E4%BC%98%E6%83%A0%E6%B4%BB%E5%8A%A83.png"></cover-image>
<cover-image src="http://qn.colorcun.com/reserve/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_201911141151051.png"></cover-image>
<cover-view class="discount-view">
<cover-view class="text">精选折扣,周到安排用户专享</cover-view>
<cover-view class="text">蓝色店铺有优惠</cover-view>
<cover-view class="close" catchtap="hide"></cover-view>
</cover-view>
</cover-view>
... ...
... ... @@ -13,11 +13,12 @@
.discount .text{
position: absolute;
font-size: 32rpx;
color: #F8E6C4;
color: #FFFFFF;
left: 120rpx;
top: 52rpx;
height: 44rpx;
line-height: 44rpx;
font-weight: bold;
}
.discount .close{
position: absolute;
... ...
... ... @@ -521,6 +521,7 @@ Page({
display:'BYCLICK',
};
marker.calloutDisplay='BYCLICK';
let hasBigIcon=false
if(seller.mode.length>0){
seller.mode.forEach(x=>{
if(x.id==1){//大图标
... ... @@ -534,6 +535,7 @@ Page({
marker.iconPath+=cates_version
marker.width=20;
marker.height=25;
hasBigIcon=true
}
if(x.id==2){//商家名
marker.callout.display='ALWAYS';
... ... @@ -541,6 +543,9 @@ Page({
}
})
}
if(!hasBigIcon && seller.activity.length>0){
marker.iconPath="http://qn.colorcun.com/custom/lite-online/cates/circle-bue.png"+cates_version
}
markers.push(marker)
}
})
... ...