Commit 606a2d10 authored by 阮藤's avatar 阮藤

问题修改

parent 504a5596
......@@ -59,15 +59,15 @@
<view class="u-p-t-20 u-p-l-30 u-p-r-30 u-p-b-20">
<view v-if="!isEmpty" class="u-m-b-20 bd_rad1 u-p-30" @click="dateilEnt(item,'item')" v-for="item in entrustmentList" :key="item.id" style="background: #fff;">
<view class="u-m-b-30 u-flex justify-between">
<view class="entrus_list_title u-font-32">{{ item.materialName }}</view>
<view class="entrus_list_title u-font-32 ov_hid">{{ item.materialName }}</view>
<view class="u-font-28">{{ item.status | filterStatus }}</view>
</view>
<view class="dis_flex">
<image class="hs-img-160" :src="`${$IMG_URL}${item.pictureCode}`" mode="cover"></image>
<view class="u-m-l-20">
<view class="u-m-l-20 u-flex-1">
<view class="u-m-b-10">
<span class="color_00004">建模服务商</span>
<span class="u-m-l-20">{{ item.enterpriseName }}</span>
<span class="u-m-l-20 ov_hid">{{ item.enterpriseName }}</span>
</view>
<view class="u-m-b-10">
<span class="color_00004">截止日期</span>
......@@ -218,7 +218,6 @@ export default {
this.statusBtn = true;
}, 1000);
let a = JSON.stringify(object);
console.log(a,object.scrollTop,this.headerHeight)
if (object.scrollTop >= this.headerHeight - 90) {
this.background.backgroundColor = 'rgba(245,245,245,1)';
} else {
......@@ -263,7 +262,6 @@ export default {
setOffestTop() {
let systemInfo = uni.getSystemInfoSync();
let topPx = systemInfo.statusBarHeight + 44; // 顶部状态栏+沉浸式自定义顶部导航
console.log(systemInfo, topPx);
this.offsetTop = topPx / (uni.upx2px(topPx) / topPx); // px转rpx
},
DateYMD() {
......@@ -327,7 +325,6 @@ export default {
confirm() {
// this.delEntrustment();
this.$http('modeling.reminders', { id: this.id }).then(res => {
console.log(res);
let { code, data } = res;
if (code === 200) {
this.$refs.uToast.show({
......@@ -479,7 +476,13 @@ export default {
border-radius: 10rpx;
overflow: hidden;
}
.ov_hid{
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
.entrus_list_title {
flex: 1;
&::before {
content: '';
display: inline-block;
......
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