Commit c11274a0 authored by zhengke's avatar zhengke

修改

parent 5f9298bb
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<view class="goods"> <view class="goods">
<view <view
v-if="setting.is_show_korea==0" v-if="setting.is_show_korea==0"
class="headStatus" class="KotraHeadStatus"
:style="[ :style="[
headStyle, headStyle,
{ {
background:'#F5F5F5' 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> <u-icon name="arrow-left" size="38" color="#000" @click="goback"></u-icon>
</view> </view>
<view class="title" style="color: #000000;">{{pageTitle}}</view> <view class="title" style="color: #000000;">{{pageTitle}}</view>
...@@ -17,19 +17,21 @@ ...@@ -17,19 +17,21 @@
</view> </view>
<view <view
v-else v-else
class="headStatus" class="KotraHeadStatus"
:style="[ :style="[
headStyle, headStyle,
{ {
background:'#F5F5F5' 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> <u-icon name="arrow-left" size="38" color="#000" @click="goback"></u-icon>
</view> </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;"> <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>
<view class="arrow"></view> <view class="arrow"></view>
</view> </view>
...@@ -380,7 +382,7 @@ ...@@ -380,7 +382,7 @@
<kotragoodsaction <kotragoodsaction
v-if="!loading" v-if="!loading"
:good-name="g.name" :good-name="g.name"
:cover-pic="g.cover_pic" :cover-pic="g.pic_url"
:favorite="g.favorite" :favorite="g.favorite"
:good-id="id" :good-id="id"
:total-stock="g.totalStock" :total-stock="g.totalStock"
...@@ -500,7 +502,7 @@ export default { ...@@ -500,7 +502,7 @@ export default {
console.log(option, "option"); console.log(option, "option");
this.nav = uni.getMenuButtonBoundingClientRect().top; this.nav = uni.getMenuButtonBoundingClientRect().top;
this.headStyle.paddingTop = this.nav +'px'; this.headStyle.paddingTop = this.nav+6 +'px';
if (option && option.id) { if (option && option.id) {
this.id = option.id ? option.id : 29; //40887 59512 46942 this.id = option.id ? option.id : 29; //40887 59512 46942
...@@ -1260,7 +1262,7 @@ export default { ...@@ -1260,7 +1262,7 @@ export default {
background-color: #fff; background-color: #fff;
border-radius: 3px; border-radius: 3px;
} }
.headStatus { .KotraHeadStatus {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
width: 140vw; 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