Compare commits

..

No commits in common. "ea0be4daf5ea34aecc295f7b2ec88f67a1dcb11d" and "077a9891243fe09fb6ba9486257fba1152a595bb" have entirely different histories.

4 changed files with 49 additions and 79 deletions

View File

@ -66,8 +66,9 @@
<div class="wrap1_1_3">
<input disabled placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="orderingInfo.endAt"/>
</div>
<div class="wrap1_1_4"></div>
</div>
<!-- <div class="wrap1_1">
<div class="wrap1_1_1">订单金额</div>
<div class="wrap1_1_2"></div>

View File

@ -264,7 +264,8 @@ export default {
mounted() {
const date = new Date();
date.setHours(0, 0, 0, 0);
this.minDate = date.getTime() + 120 * 24 * 60 * 60 * 1000;
this.minDate = date.getTime() + 24 * 60 * 60 * 1000;
// this.value1=this.timestampToDateString(date.getTime() + 24 * 60 * 60 * 1000)
this.getCycle()
if (this.$mp.query.url){
this.url=this.$mp.query.url

View File

@ -7,7 +7,6 @@
</div>
</template>-->
</title-block>
<div class="content2">
<div class="wrap1">合同名称</div>
<div class="wrap2">合同编号</div>
@ -16,14 +15,10 @@
<div class="content3" >
<scroll-view :style="{height:`${elementBottom}rpx`}" :scroll-y="true" @scrolltolower="loadMore">
<div class="wrap1" v-for="(item,index) in mainList" :key="index" @click="previewContract(item)">
<div class="wrap1" v-for="(item,index) in mainList" :key="index">
<div class="wrap1_1">{{item.contractTile}}</div>
<div class="wrap1_2">
{{ item.contractId.length > 10 ? `${item.contractId.slice(0, 10)}...` : item.contractId }}
</div>
<div class="wrap1_3">
<div class="wrap1_3_1">{{ item.signDate }}</div>
</div>
<div class="wrap1_2">{{item.contractId.length>10?`${item.contractId.slice(0,10)}...`:item.contractId}}</div>
<div class="wrap1_3"><div class="wrap1_3_1">{{item.signDate}}</div></div>
</div>
</scroll-view>
</div>
@ -40,7 +35,6 @@ export default {
components: {tabbar},
data(){
return{
show: false,
page:1,
pageSize:999,
mainList:[],
@ -56,18 +50,6 @@ export default {
},
methods:{
async previewContract(item) {
const data={
ID:item.ID
}
const res = await postDataByParams('/api/warehouse/fdd/pdf/url',data )
if (res.code===200){
uni.setStorageSync("jumpUrl",res.data.jumpUrl)
uni.navigateTo({
url: `/pages/signwebview/index`,
});
}
},
async getDistanceFromTopToPageBottom(classValue) {
const {windowHeight, windowWidth} = await uni.getSystemInfo();
const [{top}] = await new Promise(resolve => uni.createSelectorQuery().select(classValue).boundingClientRect().exec(resolve));
@ -104,7 +86,6 @@ export default {
background-size: cover;
width: 100vw;
height: 100vh;
.content3{
margin-top: 20rpx;
margin-bottom: 166rpx;
@ -116,7 +97,6 @@ export default {
background: #fff;
display: flex;
align-items: center;
.wrap1_1{
flex: 1 1 0rpx;
font-size: 28rpx;
@ -125,7 +105,6 @@ export default {
align-items: center;
flex-grow: 1;
}
.wrap1_2{
flex: 1 1 0rpx;
color: #808080;
@ -135,13 +114,11 @@ export default {
align-items: center;
flex-grow: 1;
}
.wrap1_3{
flex: 1 1 0rpx;
display: flex;
justify-content: center;
align-items: center;
.wrap1_3_1{
display: flex;
justify-content: center;
@ -156,14 +133,12 @@ export default {
}
}
}
.content2{
margin-top: 46rpx;
display: flex;
border-radius: 20rpx;
height: 70rpx;
background: #76C458;
.wrap1{
color: #fff;
font-size: 28rpx;
@ -172,7 +147,6 @@ export default {
align-items: center;
flex: 1 1 0rpx;
}
.wrap2{
color: #fff;
font-size: 28rpx;
@ -181,7 +155,6 @@ export default {
align-items: center;
flex: 1 1 0rpx;
}
.wrap3{
color: #fff;
font-size: 28rpx;
@ -192,21 +165,17 @@ export default {
}
}
.content1{
display: flex;
justify-content: space-between;
.wrap1{
width: 120rpx;
height: 20rpx;
}
.wrap2{
color: #4E964D;
font-size: 32rpx;
}
.wrap3{
image{
width: 132rpx;

View File

@ -15,8 +15,7 @@
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"condition": false
}
},
"compileType": "miniprogram",
"libVersion": "3.1.0",