add sheeft

This commit is contained in:
刘亚磊 2022-07-19 11:00:14 +08:00
parent 691956da32
commit 4638ab5208
2 changed files with 119 additions and 113 deletions

View File

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

View File

@ -1,8 +1,10 @@
<template>
<view>
<view class="tabss" 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;">
<view class="tabss"
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>
</view>
@ -13,6 +15,7 @@
</view>
<view class="main" >
<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="item.enclosure" mode=""></image>
@ -68,7 +71,6 @@
</view>
<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>
<view class="bottom_part" style="padding: 0 12px;">
<view class="ddd" style="display: flex; justify-content: space-between; align-items: center;">
@ -108,6 +110,7 @@
</view>
</view>
@ -143,7 +146,7 @@
<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 style="width: 400rpx;">
@ -153,7 +156,10 @@
</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>
</template>
@ -173,11 +179,7 @@
}],
starvalue: 0,
orderList: [],
list1: [{
name: '已发布',
}, {
name: '已接单',
}, ],
tabNum: 1,
pingjiaobj: {},
baomingpingjia: [],
@ -190,11 +192,11 @@
},
methods: {
receiveevlaue(id) {
// /hallUser/sdpj
this.showShoudao = true
this.http.request('/hallUser/sdpj?id=' + id, {}, "POST").then(res => {
if (res.code == 200) {
// this.clickTab(1)
this.starsvalue = res.data.evaluate
this.showShoudao = true
@ -374,19 +376,23 @@
<style lang="scss">
page {
width: calc(100% - 64rpx);
margin: 0rpx 32rpx;
/* width: calc(100% - 64rpx);
margin: 0rpx 32rpx; */
background-color: #F5F5F5 !important;
}
.main{
padding: 0rpx 32rpx;
}
image {
width: 100%;
height: 60%;
}
.acttiveSty {
color: #9A2720;
font-weight: 700;
}
.but_box {
display: flex;
justify-content: flex-end;