Commit 71542fdf4b4e40923d37b72d9a2b237f915cc29b

Authored by vking
1 parent a287e59e

blue style

@@ -11,8 +11,11 @@ @@ -11,8 +11,11 @@
11 <view style="max-width: 100%;width: 100%;"> 11 <view style="max-width: 100%;width: 100%;">
12 <view class="name Semibold flex-ll"> 12 <view class="name Semibold flex-ll">
13 <view class="sellername">{{seller.sellername}}</view> 13 <view class="sellername">{{seller.sellername}}</view>
  14 + <!--
14 <view class="ActivityShort" wx:if="{{hasActivityShort && seller.activity.length>0}}"></view> 15 <view class="ActivityShort" wx:if="{{hasActivityShort && seller.activity.length>0}}"></view>
  16 + -->
15 </view> 17 </view>
  18 + <view class="ActivityText" wx:if="{{hasActivityShort && seller.activity.length>0}}">此店有优惠</view>
16 <view wx:if="{{hasSlogan && seller.slogan}}" class="slogan">“{{seller.slogan}}”</view> 19 <view wx:if="{{hasSlogan && seller.slogan}}" class="slogan">“{{seller.slogan}}”</view>
17 <view class="text flex-ll" wx:if="{{seller.cate.length>0}}"> 20 <view class="text flex-ll" wx:if="{{seller.cate.length>0}}">
18 <view class="text-item" wx:for="{{seller.cate}}" wx:key="seller.cate.key" wx:if="{{index<3}}">{{item.name}}</view> 21 <view class="text-item" wx:for="{{seller.cate}}" wx:key="seller.cate.key" wx:if="{{index<3}}">{{item.name}}</view>
@@ -226,4 +226,12 @@ @@ -226,4 +226,12 @@
226 overflow: hidden; 226 overflow: hidden;
227 text-overflow:ellipsis; 227 text-overflow:ellipsis;
228 max-width: 320rpx; 228 max-width: 320rpx;
  229 +}
  230 +.ActivityText{
  231 + height:34rpx;
  232 + font-size:24rpx;
  233 + font-weight:600;
  234 + color:rgba(34,137,243,1);
  235 + line-height:34rpx;
  236 + margin-top: 10rpx;
229 } 237 }
1 <!--components/tips/add-to-lite.wxml--> 1 <!--components/tips/add-to-lite.wxml-->
2 <cover-view class="discount" style="top:{{statusBarHeightFull+a2lHeight}}px;width:{{hidden?'100rpx':'720rpx'}};" bindtap="gotoDiscount"> 2 <cover-view class="discount" style="top:{{statusBarHeightFull+a2lHeight}}px;width:{{hidden?'100rpx':'720rpx'}};" bindtap="gotoDiscount">
3 <cover-view style="position: relative;height: 100%;"> 3 <cover-view style="position: relative;height: 100%;">
4 - <cover-image class="discount-img" src="http://qn.colorcun.com/reserve/images/%E6%83%A03.png"></cover-image> 4 + <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>
5 <cover-view style="position: relative;" wx:if="{{!hidden}}"> 5 <cover-view style="position: relative;" wx:if="{{!hidden}}">
6 - <cover-image src="http://qn.colorcun.com/reserve/images/%E4%BC%98%E6%83%A0%E6%B4%BB%E5%8A%A83.png"></cover-image> 6 + <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>
7 <cover-view class="discount-view"> 7 <cover-view class="discount-view">
8 - <cover-view class="text">精选折扣,周到安排用户专享</cover-view> 8 + <cover-view class="text">蓝色店铺有优惠</cover-view>
9 <cover-view class="close" catchtap="hide"></cover-view> 9 <cover-view class="close" catchtap="hide"></cover-view>
10 </cover-view> 10 </cover-view>
11 </cover-view> 11 </cover-view>
@@ -13,11 +13,12 @@ @@ -13,11 +13,12 @@
13 .discount .text{ 13 .discount .text{
14 position: absolute; 14 position: absolute;
15 font-size: 32rpx; 15 font-size: 32rpx;
16 - color: #F8E6C4; 16 + color: #FFFFFF;
17 left: 120rpx; 17 left: 120rpx;
18 top: 52rpx; 18 top: 52rpx;
19 height: 44rpx; 19 height: 44rpx;
20 line-height: 44rpx; 20 line-height: 44rpx;
  21 + font-weight: bold;
21 } 22 }
22 .discount .close{ 23 .discount .close{
23 position: absolute; 24 position: absolute;
@@ -521,6 +521,7 @@ Page({ @@ -521,6 +521,7 @@ Page({
521 display:'BYCLICK', 521 display:'BYCLICK',
522 }; 522 };
523 marker.calloutDisplay='BYCLICK'; 523 marker.calloutDisplay='BYCLICK';
  524 + let hasBigIcon=false
524 if(seller.mode.length>0){ 525 if(seller.mode.length>0){
525 seller.mode.forEach(x=>{ 526 seller.mode.forEach(x=>{
526 if(x.id==1){//大图标 527 if(x.id==1){//大图标
@@ -534,6 +535,7 @@ Page({ @@ -534,6 +535,7 @@ Page({
534 marker.iconPath+=cates_version 535 marker.iconPath+=cates_version
535 marker.width=20; 536 marker.width=20;
536 marker.height=25; 537 marker.height=25;
  538 + hasBigIcon=true
537 } 539 }
538 if(x.id==2){//商家名 540 if(x.id==2){//商家名
539 marker.callout.display='ALWAYS'; 541 marker.callout.display='ALWAYS';
@@ -541,6 +543,9 @@ Page({ @@ -541,6 +543,9 @@ Page({
541 } 543 }
542 }) 544 })
543 } 545 }
  546 + if(!hasBigIcon && seller.activity.length>0){
  547 + marker.iconPath="http://qn.colorcun.com/custom/lite-online/cates/circle-bue.png"+cates_version
  548 + }
544 markers.push(marker) 549 markers.push(marker)
545 } 550 }
546 }) 551 })