Commit c11274a0 authored by zhengke's avatar zhengke

修改

parent 5f9298bb
......@@ -2,14 +2,14 @@
<view class="goods">
<view
v-if="setting.is_show_korea==0"
class="headStatus"
class="KotraHeadStatus"
:style="[
headStyle,
{
background:'#F5F5F5'
},
]">
<view class="arrow">
<view class="arrow" style="padding-left:10px;">
<u-icon name="arrow-left" size="38" color="#000" @click="goback"></u-icon>
</view>
<view class="title" style="color: #000000;">{{pageTitle}}</view>
......@@ -17,19 +17,21 @@
</view>
<view
v-else
class="headStatus"
class="KotraHeadStatus"
:style="[
headStyle,
{
background:'#F5F5F5'
},
]">
<view class="arrow">
<view class="arrow" style="padding-left:10px;">
<u-icon name="arrow-left" size="38" color="#000" @click="goback"></u-icon>
</view>
<view class="title" style="color: #000000;display: flex;align-items: center;width: 90%;justify-content:center" :class="{'kotraGoodLeft':g.name.length>10}">
<view class="title" style="color: #000000;display: flex;align-items: center;width: 90%;justify-content:center" :class="{'kotraGoodLeft':g.name.length>15}">
<img :src="g.goodsLogo" style="width:15px;height:15px;margin-right:5px;flex-shrink: 0;">
<view style="white-space: nowrap;overflow: hidden;text-overflow:ellipsis;">{{g.name}}</view>
<view style="white-space: nowrap;overflow: hidden;text-overflow:ellipsis;" v-if="g.name">
{{g.name.length>15?g.name.substring(0,15)+'...':g.name}}
</view>
</view>
<view class="arrow"></view>
</view>
......@@ -380,7 +382,7 @@
<kotragoodsaction
v-if="!loading"
:good-name="g.name"
:cover-pic="g.cover_pic"
:cover-pic="g.pic_url"
:favorite="g.favorite"
:good-id="id"
:total-stock="g.totalStock"
......@@ -500,7 +502,7 @@ export default {
console.log(option, "option");
this.nav = uni.getMenuButtonBoundingClientRect().top;
this.headStyle.paddingTop = this.nav +'px';
this.headStyle.paddingTop = this.nav+6 +'px';
if (option && option.id) {
this.id = option.id ? option.id : 29; //40887 59512 46942
......@@ -1260,7 +1262,7 @@ export default {
background-color: #fff;
border-radius: 3px;
}
.headStatus {
.KotraHeadStatus {
overflow: hidden;
position: relative;
width: 140vw;
......
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