|
@@ -30,18 +30,10 @@
|
|
|
<view class="info-tit">收益:</view>
|
|
<view class="info-tit">收益:</view>
|
|
|
<view class="info-val">{{item.day}}天/{{item.proportion}}%</view>
|
|
<view class="info-val">{{item.day}}天/{{item.proportion}}%</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <!-- <view class="info-data">
|
|
|
|
|
- <view class="info-tit">开始时间:</view>
|
|
|
|
|
- <view class="info-val">10:20</view>
|
|
|
|
|
- </view> -->
|
|
|
|
|
<view class="info-data">
|
|
<view class="info-data">
|
|
|
<view class="info-tit">可获通证:</view>
|
|
<view class="info-tit">可获通证:</view>
|
|
|
<view class="info-val">{{item.pass}}%</view>
|
|
<view class="info-val">{{item.pass}}%</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <!-- <view class="info-data">
|
|
|
|
|
- <view class="info-tit">终止释放时间:</view>
|
|
|
|
|
- <view class="info-val">10:20</view>
|
|
|
|
|
- </view> -->
|
|
|
|
|
<view class="info-data" v-if="item.status == 1 || item.status == -1">
|
|
<view class="info-data" v-if="item.status == 1 || item.status == -1">
|
|
|
<view class="info-tit">是否中奖:</view>
|
|
<view class="info-tit">是否中奖:</view>
|
|
|
<view class="info-val">{{item.status == 1?'中奖':item.status == -1 ? '未中奖': ''}}</view>
|
|
<view class="info-val">{{item.status == 1?'中奖':item.status == -1 ? '未中奖': ''}}</view>
|
|
@@ -50,6 +42,17 @@
|
|
|
<view class="info-tit">价值:</view>
|
|
<view class="info-tit">价值:</view>
|
|
|
<view class="info-val">{{item.price}}</view>
|
|
<view class="info-val">{{item.price}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="upimg" v-if="item.status == 1">
|
|
|
|
|
+ <view class="up-tit">
|
|
|
|
|
+ 打款凭证:
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="img-wrap" v-if="item.pay_evaluation" @click="lookimg(item.pay_evaluation)">
|
|
|
|
|
+ <image :src="item.pay_evaluation" mode=""></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="" style="color: #0F253A;font-weight: bold;font-size: 26rpx;" v-else>
|
|
|
|
|
+ 上传支付凭证
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
<view class="btn-wrap flex" v-if="item.status == 1 || item.status == 2">
|
|
<view class="btn-wrap flex" v-if="item.status == 1 || item.status == 2">
|
|
|
<!-- <view class="btn" @click="open(item.id)"> -->
|
|
<!-- <view class="btn" @click="open(item.id)"> -->
|
|
|
<view class="btn" @click="navto('/pages/purchase/upload?id=' + item.id + '&paytype=' + JSON.stringify(item.touser) )">
|
|
<view class="btn" @click="navto('/pages/purchase/upload?id=' + item.id + '&paytype=' + JSON.stringify(item.touser) )">
|
|
@@ -62,25 +65,16 @@
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
|
</swiper-item>
|
|
</swiper-item>
|
|
|
</swiper>
|
|
</swiper>
|
|
|
- <uni-popup ref="popup1" type="center" :maskClick="false">
|
|
|
|
|
- <view class="upload-wrap">
|
|
|
|
|
- <view class="tit">
|
|
|
|
|
- 上传支付凭证
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="up-wrap" @click="imgsub('upimg')">
|
|
|
|
|
- <image :src="upimg" mode="" v-if="upimg"></image>
|
|
|
|
|
- <image v-else src="../../static/img/upimg.png" mode=""></image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="btn-wrap">
|
|
|
|
|
- <view class="btn qx" @click="qx">
|
|
|
|
|
- 取消
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="btn" @click="evaluationUpload">提交</view>
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <uni-popup ref="lookimg" type="center">
|
|
|
|
|
+ <view class="pop-wrap" style="position: relative;" >
|
|
|
|
|
+ <movable-area class="popup-box">
|
|
|
|
|
+ <movable-view class="popup-item" :scale="true" direction="all">
|
|
|
|
|
+ <image :src="chooseImg" mode=""></image>
|
|
|
|
|
+ </movable-view>
|
|
|
|
|
+ </movable-area>
|
|
|
|
|
+ <image src="../../static/icon/close.png" mode="" class="close" style="width: 80rpx;height: 80rpx;" @click="closePup"></image>
|
|
|
</view>
|
|
</view>
|
|
|
</uni-popup>
|
|
</uni-popup>
|
|
|
- <!-- <u-tabbar v-model="current" :list="tabbar" active-color="#FF0000" inactive-color="#f19c99"></u-tabbar> -->
|
|
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -144,6 +138,7 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ chooseImg: '',
|
|
|
height: '',
|
|
height: '',
|
|
|
currentIndex: 0,
|
|
currentIndex: 0,
|
|
|
navList: [{
|
|
navList: [{
|
|
@@ -201,6 +196,15 @@
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ lookimg(src) {
|
|
|
|
|
+ console.log(src,'chooseImg++++++')
|
|
|
|
|
+ this.chooseImg = src
|
|
|
|
|
+ this.$refs.lookimg.open()
|
|
|
|
|
+ },
|
|
|
|
|
+ closePup() {
|
|
|
|
|
+ this.chooseImg = ''
|
|
|
|
|
+ this.$refs.lookimg.close()
|
|
|
|
|
+ },
|
|
|
navto(url) {
|
|
navto(url) {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
url: url
|
|
url: url
|
|
@@ -411,6 +415,32 @@
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ .upimg {
|
|
|
|
|
+ padding-top: 10rpx;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+
|
|
|
|
|
+ .up-tit {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ font-size: 26rpx;
|
|
|
|
|
+ font-family: PingFang SC;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ color: #6D7C88;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .img-wrap {
|
|
|
|
|
+ width: 153rpx;
|
|
|
|
|
+ height: 152rpx;
|
|
|
|
|
+
|
|
|
|
|
+ border-radius: 20rpx;
|
|
|
|
|
+
|
|
|
|
|
+ image {
|
|
|
|
|
+ border-radius: 20rpx;
|
|
|
|
|
+ width: 153rpx;
|
|
|
|
|
+ height: 152rpx;
|
|
|
|
|
+ // background-color: red;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
.btn-wrap {
|
|
.btn-wrap {
|
|
|
padding-top: 20rpx;
|
|
padding-top: 20rpx;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -431,53 +461,41 @@
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .upload-wrap {
|
|
|
|
|
- width: 500rpx;
|
|
|
|
|
- height: 500rpx;
|
|
|
|
|
- background-color: #fff;
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .pop-wrap {
|
|
|
|
|
+ width: 522rpx;
|
|
|
|
|
+ height: 800rpx;
|
|
|
|
|
+ // background-color: red;
|
|
|
|
|
+ }
|
|
|
|
|
+ .popup-box {
|
|
|
|
|
+ width: 522rpx;
|
|
|
|
|
+ height: 800rpx;
|
|
|
border-radius: 20rpx;
|
|
border-radius: 20rpx;
|
|
|
- .tit {
|
|
|
|
|
- padding: 30rpx 25rpx;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- font-size: 32rpx;
|
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
- color: #101010;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .up-wrap {
|
|
|
|
|
- margin:auto;
|
|
|
|
|
- width: 225rpx;
|
|
|
|
|
- height: 225rpx;
|
|
|
|
|
- background: #FFFFFF;
|
|
|
|
|
- border-radius: 10rpx;
|
|
|
|
|
-
|
|
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ .popup-item {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
image {
|
|
image {
|
|
|
- width: 225rpx;
|
|
|
|
|
- height: 225rpx;
|
|
|
|
|
- border-radius: 10rpx;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- .btn-wrap {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- .btn {
|
|
|
|
|
- margin: 50rpx auto 0;
|
|
|
|
|
- width: 150rpx;
|
|
|
|
|
- line-height: 84rpx;
|
|
|
|
|
- background: linear-gradient(30deg, #FF4C4C, #FE6238);
|
|
|
|
|
- border-radius: 10rpx;
|
|
|
|
|
- font-size: 32rpx;
|
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
- color: #FFFFFF;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- }
|
|
|
|
|
- .qx {
|
|
|
|
|
- background: #fff;
|
|
|
|
|
- border: 1px solid #999;
|
|
|
|
|
- color: #999;
|
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ // height: 100%;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ .close {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ width: 40rpx;
|
|
|
|
|
+ height: 40rpx;
|
|
|
|
|
+ border: 50%;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ // background-color: red;
|
|
|
|
|
+ bottom: -100rpx;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ margin: 0 auto;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|