From 88f327b1a70fd2f1bcbd4dac46cebe8634352a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Wed, 18 Oct 2023 16:37:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesC/servicerecord/servicerecord.scss | 36 +++---------------------- pagesC/servicerecord/servicerecord.vue | 32 ++++++++++++++++------ 2 files changed, 27 insertions(+), 41 deletions(-) diff --git a/pagesC/servicerecord/servicerecord.scss b/pagesC/servicerecord/servicerecord.scss index a39adf4..20fafa7 100644 --- a/pagesC/servicerecord/servicerecord.scss +++ b/pagesC/servicerecord/servicerecord.scss @@ -1,29 +1,4 @@ -@charset "UTF-8"; -/** - * 这里是uni-app内置的常用样式变量 - * - * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 - * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App - * - */ -/** - * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 - * - * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 - */ -/* 颜色变量 */ -/* 行为相关颜色 */ -/* 文字基本颜色 */ -/* 背景颜色 */ -/* 边框颜色 */ -/* 尺寸变量 */ -/* 文字尺寸 */ -/* 图片尺寸 */ -/* Border Radius */ -/* 水平间距 */ -/* 垂直间距 */ -/* 透明度 */ -/* 文章场景相关 */ + .app { background-color: #F7F5F5; height: 100vh; @@ -141,15 +116,10 @@ font-size: 28rpx; font-weight: 400; color: #868585; - left: 30%; + right: 4%; bottom: 16%; } -.app .record .evaluate ._span:nth-child(3) { - display: inline-block; - position: absolute; - right: 3%; - bottom: 10%; -} + .app .evaluateserver { width: 100%; font-size: 38rpx; diff --git a/pagesC/servicerecord/servicerecord.vue b/pagesC/servicerecord/servicerecord.vue index e9607aa..2a6393e 100644 --- a/pagesC/servicerecord/servicerecord.vue +++ b/pagesC/servicerecord/servicerecord.vue @@ -28,6 +28,12 @@ 立即评价 + + {{item.orderEvaluateInfo.createTime}} + + + @@ -55,6 +61,11 @@ 立即评价 + + {{item.orderEvaluateInfo.createTime}} + + @@ -81,6 +92,11 @@ 立即评价 + + {{item.orderEvaluateInfo.createTime}} + + @@ -149,7 +165,7 @@ query: { pageNum: 1, pageSize: 10, - identity: '', + identity: '371402199404167019 ', isEvaluate: '', }, FileList: [], @@ -158,7 +174,7 @@ }, onShow() { const value = uni.getStorageSync('userinfo'); - this.query.identity=value.cardNo + // this.query.identity=value.cardNo this.info() }, @@ -184,11 +200,11 @@ }) }, info() { - this.FileList=[] - this.noFileLists=[] - this.servicelist=[] + this.FileList = [] + this.noFileLists = [] + this.servicelist = [] record(this.query.identity).then(res => { - if(res.code==200){ + if (res.code == 200) { res.data.forEach(e => { if (e.orderEvaluateInfo) { this.FileList.push(e) @@ -197,7 +213,7 @@ } }) this.servicelist = res.data - }else if(res.code==500){ + } else if (res.code == 500) { this.$refs.uToast.show({ title: res.msg, type: 'error', @@ -229,4 +245,4 @@ + \ No newline at end of file