|
|
@@ -37,7 +37,11 @@
|
|
|
<p>传真:<span>{{item.enterprise.enFax}}</span></p>
|
|
|
<!--<p>商家介绍: <nuxt-link :to="'/mobile/merchantDescription/'+item.uuid">点击查看</nuxt-link></p>-->
|
|
|
<!--<p>联系商家:<a @click="selectStoreInfo(item, $event)">点击查看</a></p>-->
|
|
|
- <i class="iconfont icon-shoucang" :style="item.isFocus=='true'?'color:#ff7800':'color:#bbb'" @click="focusStore(item, $event)"></i>
|
|
|
+ <!--<i class="iconfont icon-shoucang" :style="item.isFocus=='true'?'color:#ff7800':'color:#bbb'" @click="focusStore(item, $event)"></i>-->
|
|
|
+ <span class="focus" @click="focusStore(item, $event)">
|
|
|
+ <i class="iconfont icon-shoucang1" :class="item.isFocus == 'true' ? 'icon-shoucang1' : 'icon-shoucang2'"></i>
|
|
|
+ <span v-text="item.isFocus == 'true' ? '已关注' : '关注'" :class="item.isFocus == 'true' ? '' : 'right01'">已关注</span>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -351,13 +355,27 @@
|
|
|
white-space: nowrap;
|
|
|
width: 3.2rem;
|
|
|
}
|
|
|
+ span.focus{
|
|
|
+ font-size: .28rem;
|
|
|
+ color: #008bf7;
|
|
|
+ span{
|
|
|
+ position: absolute;
|
|
|
+ top: .55rem;
|
|
|
+ right: -.16rem;
|
|
|
+ font-size: .28rem;
|
|
|
+ color: #008bf7;
|
|
|
+ &.right01{
|
|
|
+ right: -0.05rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
i{
|
|
|
display:block;
|
|
|
position:absolute;
|
|
|
top: -.06rem;
|
|
|
right: -.06rem;
|
|
|
font-size:.5rem;
|
|
|
- color:#ff7800;
|
|
|
+ color:#008bf7;
|
|
|
width: .6rem;
|
|
|
height: .6rem;
|
|
|
text-align: center;
|