This commit is contained in:
lnn19986213 2022-07-19 11:18:52 +08:00
commit 75eb5b96cd
2 changed files with 119 additions and 113 deletions

View File

@ -1,6 +1,6 @@
{ {
"name" : "艺象心", "name" : "艺象心",
"appid" : "__UNI__77CA6BC", "appid" : "__UNI__C2FB70F",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",

View File

@ -1,8 +1,10 @@
<template> <template>
<view> <view>
<view class="tabss" style="display: flex;justify-content: space-between; align-items: center;background-color: #FFFFFF; "> <view class="tabss"
<view @click="clickTab(1)" :class="{'acttiveSty': tabNum==1}" style="flex: 1; text-align: center;height: 40px; line-height: 40px;"> style="display: flex;justify-content: space-between; align-items: center;background-color: #FFFFFF; ">
<view @click="clickTab(1)" :class="{'acttiveSty': tabNum==1}"
style="flex: 1; text-align: center;height: 40px; line-height: 40px;">
<text>已发布</text> <text>已发布</text>
</view> </view>
@ -13,6 +15,7 @@
</view> </view>
<view class="main" >
<view class="art_act_itm" v-for="(item,i) in orderList" :key="i" @click="goActDeat(i)" v-if="tabNum==1"> <view class="art_act_itm" v-for="(item,i) in orderList" :key="i" @click="goActDeat(i)" v-if="tabNum==1">
<!-- <image src="../../static/icon12.jpg" mode=""></image> --> <!-- <image src="../../static/icon12.jpg" mode=""></image> -->
<image :src="item.enclosure" mode=""></image> <image :src="item.enclosure" mode=""></image>
@ -68,7 +71,6 @@
</view> </view>
<view class="art_act_itm" v-for="(item,i) in orderList" :key="i" @click="goActDeat(i)" v-if="tabNum==2"> <view class="art_act_itm" v-for="(item,i) in orderList" :key="i" @click="goActDeat(i)" v-if="tabNum==2">
<!-- <image :src="../../static/icon12.jpg" mode=""></image> -->
<image :src="item.enclosure" mode=""></image> <image :src="item.enclosure" mode=""></image>
<view class="bottom_part" style="padding: 0 12px;"> <view class="bottom_part" style="padding: 0 12px;">
<view class="ddd" style="display: flex; justify-content: space-between; align-items: center;"> <view class="ddd" style="display: flex; justify-content: space-between; align-items: center;">
@ -108,6 +110,7 @@
</view> </view>
</view>
@ -143,7 +146,7 @@
<u-modal :show="showShoudao" @close="closeRecive()" title="收到的评价" :closeOnClickOverlay="true"> <u-modal :show="showShoudao" @close="closeRecive()" title="收到的评价" :closeOnClickOverlay="true">
<u-rate count=5 v-model='starsvalue' ></u-rate> <u-rate count=5 v-model='starsvalue' readonly></u-rate>
<view slot="confirmButton" style="display: flex; justify-content: center; align-items: center;"> <view slot="confirmButton" style="display: flex; justify-content: center; align-items: center;">
<view style="width: 400rpx;"> <view style="width: 400rpx;">
@ -153,7 +156,10 @@
</u-modal> </u-modal>
<view v-if="!(orderList.length>0)" >
<u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" >
</u-empty>
</view>
</view> </view>
</template> </template>
@ -173,15 +179,11 @@
}], }],
starvalue: 0, starvalue: 0,
orderList: [], orderList: [],
list1: [{
name: '已发布',
}, {
name: '已接单',
}, ],
tabNum: 1, tabNum: 1,
pingjiaobj: {}, pingjiaobj: {},
baomingpingjia: [], baomingpingjia: [],
starsvalue:0 starsvalue: 0
}; };
}, },
@ -190,12 +192,12 @@
}, },
methods: { methods: {
receiveevlaue(id) { receiveevlaue(id) {
// /hallUser/sdpj
this.showShoudao = true this.showShoudao = true
this.http.request('/hallUser/sdpj?id=' + id, {}, "POST").then(res => { this.http.request('/hallUser/sdpj?id=' + id, {}, "POST").then(res => {
if (res.code == 200) { if (res.code == 200) {
// this.clickTab(1)
this.starsvalue=res.data.evaluate this.starsvalue = res.data.evaluate
this.showShoudao = true this.showShoudao = true
} }
@ -374,19 +376,23 @@
<style lang="scss"> <style lang="scss">
page { page {
width: calc(100% - 64rpx); /* width: calc(100% - 64rpx);
margin: 0rpx 32rpx; margin: 0rpx 32rpx; */
background-color: #F5F5F5 !important; background-color: #F5F5F5 !important;
} }
.main{
padding: 0rpx 32rpx;
}
image { image {
width: 100%; width: 100%;
height: 60%; height: 60%;
} }
.acttiveSty{
.acttiveSty {
color: #9A2720; color: #9A2720;
font-weight: 700; font-weight: 700;
} }
.but_box { .but_box {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;