Commit 961f3ade authored by 刘殿昕's avatar 刘殿昕

统一修复

parent cf6f5727
...@@ -228,13 +228,14 @@ div { ...@@ -228,13 +228,14 @@ div {
.el-dialog__header { .el-dialog__header {
border-bottom: 1px solid #edf0ff; border-bottom: 1px solid #edf0ff;
padding: 20px 16px;
} }
.el-dialog__title { .el-dialog__title {
font-size: 16px; font-size: 18px;
font-weight: 700; font-weight: 700;
color: #1d1e20; color: #1d1e20;
padding-left: 8px; padding-left: 12px;
position: relative; position: relative;
} }
...@@ -246,7 +247,19 @@ div { ...@@ -246,7 +247,19 @@ div {
border-radius: 2px; border-radius: 2px;
background-color: #515fe7; background-color: #515fe7;
left: 0; left: 0;
top: 2px; top: 5px;
}
.el-dialog__headerbtn {
top: 24px;
}
.el-dialog__headerbtn .el-dialog__close {
color: #8890a7;
}
.el-dialog__headerbtn:focus .el-dialog__close, .el-dialog__headerbtn:hover .el-dialog__close {
color: #515fe7;
} }
.el-dialog__body { .el-dialog__body {
...@@ -1227,4 +1240,13 @@ border-radius:8px; ...@@ -1227,4 +1240,13 @@ border-radius:8px;
.el-input__inner:-ms-input-placeholder, .el-input__inner:-ms-input-placeholder,
.el-textarea__inner:-ms-input-placeholder { .el-textarea__inner:-ms-input-placeholder {
color: #a9aec0; color: #a9aec0;
}
[class*=" el-icon-"], [class^=el-icon-] {
font-weight: 700;
}
.el-rate__item .el-rate__icon {
font-size: 18px;
margin-right: 0;
} }
\ No newline at end of file
...@@ -12,10 +12,11 @@ ...@@ -12,10 +12,11 @@
<p class="comment-user_name" v-text="item.user_name"></p> <p class="comment-user_name" v-text="item.user_name"></p>
<div class="commnet-rate"> <div class="commnet-rate">
<el-rate <el-rate
:colors="['#e69232', '#e69232', '#e69232']" :colors="['#fac266', '#fac266', '#fac266']"
:value="item.score" :value="item.score"
disabled disabled
score-template="{value}" score-template="{value}"
disabled-void-color="#d9dce5"
> >
</el-rate> </el-rate>
</div> </div>
......
...@@ -7,9 +7,10 @@ ...@@ -7,9 +7,10 @@
<p class="comment-full_score">满分5分</p> <p class="comment-full_score">满分5分</p>
<div class="comment-total_rata"> <div class="comment-total_rata">
<el-rate <el-rate
:colors="['#e69232', '#e69232', '#e69232']" :colors="['#fac266', '#fac266', '#fac266']"
:value="data.score" :value="data.score"
disabled disabled
disabled-void-color="#d9dce5"
> >
</el-rate> </el-rate>
</div> </div>
...@@ -23,7 +24,7 @@ ...@@ -23,7 +24,7 @@
> >
<el-rate <el-rate
class="comments_score_item-rate" class="comments_score_item-rate"
:colors="['#8890a7', '#8890a7', '#8890a7']" :colors="['#fac266', '#fac266', '#fac266']"
:value="item.star" :value="item.star"
disabled disabled
disabled-void-color="transparent" disabled-void-color="transparent"
......
...@@ -25,10 +25,11 @@ ...@@ -25,10 +25,11 @@
</p> </p>
<div class="commnet-rate"> <div class="commnet-rate">
<el-rate <el-rate
:colors="['#e69232', '#e69232', '#e69232']" :colors="['#fac266', '#fac266', '#fac266']"
:value="item.score" :value="item.score"
disabled disabled
score-template="{value}" score-template="{value}"
disabled-void-color="#d9dce5"
></el-rate> ></el-rate>
</div> </div>
<p class="comment-description" v-text="item.message"></p> <p class="comment-description" v-text="item.message"></p>
...@@ -158,10 +159,10 @@ export default { ...@@ -158,10 +159,10 @@ export default {
<style> <style>
.comment-right > .commnet-rate .el-rate { .comment-right > .commnet-rate .el-rate {
height: 20px; height: 18px;
} }
.comment-right > .commnet-rate .el-rate__icon { .comment-right > .commnet-rate .el-rate__icon {
font-size: 20px; font-size: 18px;
margin-right: 0; margin-right: 0;
} }
</style> </style>
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-rate <el-rate
v-if="show_star" v-if="show_star"
class="item-rate" class="item-rate"
:colors="['#8890a7', '#8890a7', '#8890a7']" :colors="['#fac266', '#fac266', '#fac266']"
:value="option.star" :value="option.star"
disabled disabled
disabled-void-color="transparent" disabled-void-color="transparent"
......
...@@ -209,6 +209,7 @@ ...@@ -209,6 +209,7 @@
:colors="colors" :colors="colors"
show-score show-score
score-template="{value}" score-template="{value}"
disabled-void-color="#d9dce5"
></el-rate> ></el-rate>
</div> </div>
<p>填写评价:</p> <p>填写评价:</p>
...@@ -310,6 +311,7 @@ ...@@ -310,6 +311,7 @@
v-model="message.score" v-model="message.score"
disabled disabled
:colors="colors" :colors="colors"
disabled-void-color="#d9dce5"
></el-rate> ></el-rate>
</div> </div>
<div class="msg_title">评价详情:</div> <div class="msg_title">评价详情:</div>
...@@ -334,7 +336,7 @@ export default { ...@@ -334,7 +336,7 @@ export default {
}, },
data: () => ({ data: () => ({
visible: false, visible: false,
colors: ["#99A9BF", "#F7BA2A", "#FF9900"], colors: ["#fac266", "#fac266", "#fac266"],
serviceRate: null, serviceRate: null,
textarea: "", textarea: "",
showMsgBox: false, showMsgBox: false,
...@@ -436,11 +438,12 @@ export default { ...@@ -436,11 +438,12 @@ export default {
}); });
}, },
nextApply() { nextApply() {
console.log(this.cellItem.spec_app)
let query = {}; let query = {};
if (this.cellItem.order_type == 1) { if (this.cellItem.order_type == 1) {
query = { query = {
service_id: parseFloat(this.cellItem.service_id), service_id: parseFloat(this.cellItem.service_id),
spcs_id: this.cellItem.spcs_id, spec_id: this.cellItem.svc_spec_id,
duration: this.cellItem.duration, duration: this.cellItem.duration,
duration_unit: this.cellItem.duration_unit, duration_unit: this.cellItem.duration_unit,
}; };
...@@ -451,7 +454,7 @@ export default { ...@@ -451,7 +454,7 @@ export default {
} else if (this.cellItem.order_type == 2) { } else if (this.cellItem.order_type == 2) {
query = { query = {
app_id: parseFloat(this.cellItem.app_id), app_id: parseFloat(this.cellItem.app_id),
spec_id: this.cellItem.spec_app++, spec_id: this.cellItem.svc_spec_id,
duration: this.cellItem.duration, duration: this.cellItem.duration,
duration_unit: this.cellItem.duration_unit, duration_unit: this.cellItem.duration_unit,
}; };
...@@ -723,7 +726,7 @@ export default { ...@@ -723,7 +726,7 @@ export default {
font-size: 24px; font-size: 24px;
} }
.pop_rate .el-rate__text { .pop_rate .el-rate__text {
font-size: 20px; font-size: 18px;
margin-left: 20px; margin-left: 20px;
position: relative; position: relative;
top: 1px; top: 1px;
......
...@@ -7,7 +7,10 @@ ...@@ -7,7 +7,10 @@
<div class="com_cell_up_right"> <div class="com_cell_up_right">
<div class="up_title"> <div class="up_title">
<div class="up_tit_name_in"> <div class="up_tit_name_in">
<span class="up_tit_name" :title="cellData.app_name + ' ( V' + cellData.version + ' )'"> <span
class="up_tit_name"
:title="cellData.app_name + ' ( V' + cellData.version + ' )'"
>
{{ cellData.app_name }} ( V{{ cellData.version }} ) {{ cellData.app_name }} ( V{{ cellData.version }} )
</span> </span>
</div> </div>
...@@ -19,6 +22,8 @@ ...@@ -19,6 +22,8 @@
show-score show-score
text-color="#ea7d19" text-color="#ea7d19"
score-template="{value}" score-template="{value}"
:colors="['#fac266', '#fac266', '#fac266']"
disabled-void-color="#d9dce5"
></el-rate> ></el-rate>
<p class="get_num"> <p class="get_num">
获取次数: 获取次数:
...@@ -38,14 +43,14 @@ ...@@ -38,14 +43,14 @@
{{ cellData.yyjj }} {{ cellData.yyjj }}
</p> </p>
<el-row :gutter="16"> <el-row :gutter="16">
<el-col :span="14" class="com_other"> <el-col :span="14" class="com_other1">
<span class="name_title">应用类型:</span> <span class="name_title">应用类型:</span>
{{ cellData.type_name }} {{ cellData.type_name }}
&nbsp;&nbsp;{{ cellData.data_service_type2_name }} &nbsp;&nbsp;{{ &nbsp;&nbsp;{{ cellData.data_service_type2_name }} &nbsp;&nbsp;{{
cellData.data_service_type3_name cellData.data_service_type3_name
}} }}
</el-col> </el-col>
<el-col :span="10" class="com_other"> <el-col :span="10" class="com_other1">
<span class="name_title">业务领域:</span> <span class="name_title">业务领域:</span>
{{ cellData.area_name }} {{ cellData.area_name }}
</el-col> </el-col>
...@@ -197,7 +202,7 @@ export default { ...@@ -197,7 +202,7 @@ export default {
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
overflow: hidden; overflow: hidden;
height: 42px; height: 42px;
margin-bottom: 8px; margin-bottom: 5px;
} }
.com_other { .com_other {
color: #58617a; color: #58617a;
...@@ -207,15 +212,19 @@ export default { ...@@ -207,15 +212,19 @@ export default {
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
overflow: hidden; overflow: hidden;
} }
.com_other1 {
color: #58617a;
margin-bottom: 9px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}
.name_title { .name_title {
color: #8890a7; color: #8890a7;
} }
</style> </style>
<style> <style>
.com_cell .el-rate__item .el-rate__icon {
font-size: 20px;
margin-right: 0;
}
.com_cell .el-rate__text { .com_cell .el-rate__text {
margin-left: 4px; margin-left: 4px;
position: relative; position: relative;
......
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
disabled disabled
show-score show-score
text-color="#ea7d19" text-color="#ea7d19"
:colors="['#fac266', '#fac266', '#fac266']"
score-template="{value}" score-template="{value}"
disabled-void-color="#d9dce5"
></el-rate> ></el-rate>
<p class="get_num"> <p class="get_num">
获取次数: 获取次数:
...@@ -49,14 +51,14 @@ ...@@ -49,14 +51,14 @@
{{ cellData.descript }} {{ cellData.descript }}
</p> </p>
<el-row :gutter="16"> <el-row :gutter="16">
<el-col :span="14" class="com_other"> <el-col :span="14" class="com_other1">
<span class="name_title">服务类型:</span> <span class="name_title">服务类型:</span>
{{ cellData.data_service_type1_name }} {{ cellData.data_service_type1_name }}
&nbsp;&nbsp;{{ cellData.data_service_type2_name }} &nbsp;&nbsp;{{ &nbsp;&nbsp;{{ cellData.data_service_type2_name }} &nbsp;&nbsp;{{
cellData.data_service_type3_name cellData.data_service_type3_name
}} }}
</el-col> </el-col>
<el-col :span="10" class="com_other"> <el-col :span="10" class="com_other1">
<span class="name_title">服务领域:</span> <span class="name_title">服务领域:</span>
{{ cellData.sectors_name }} {{ cellData.sectors_name }}
</el-col> </el-col>
...@@ -208,7 +210,7 @@ export default { ...@@ -208,7 +210,7 @@ export default {
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
overflow: hidden; overflow: hidden;
height: 42px; height: 42px;
margin-bottom: 8px; margin-bottom: 5px;
} }
.com_other { .com_other {
color: #58617a; color: #58617a;
...@@ -218,15 +220,19 @@ export default { ...@@ -218,15 +220,19 @@ export default {
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
overflow: hidden; overflow: hidden;
} }
.com_other1 {
color: #58617a;
margin-bottom: 9px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}
.name_title { .name_title {
color: #8890a7; color: #8890a7;
} }
</style> </style>
<style> <style>
.com_cell .el-rate__item .el-rate__icon {
font-size: 20px;
margin-right: 0;
}
.com_cell .el-rate__text { .com_cell .el-rate__text {
margin-left: 4px; margin-left: 4px;
position: relative; position: relative;
......
...@@ -41,6 +41,8 @@ ...@@ -41,6 +41,8 @@
show-score show-score
text-color="#58617a" text-color="#58617a"
score-template="{value}" score-template="{value}"
:colors="['#fac266', '#fac266', '#fac266']"
disabled-void-color="#d9dce5"
></el-rate> ></el-rate>
<div class="com_cell_right_text"> <div class="com_cell_right_text">
<span class="com_cell_right_time_tit">本月获取次数:</span> <span class="com_cell_right_time_tit">本月获取次数:</span>
......
<template> <template>
<div class="apply_container"> <div class="apply_container">
<info-list :list_arr="module_arr"> <info-list :list_arr="module_arr">
<apply-form :formInline="formInline" ref="apply_info" slot="apply_info"></apply-form> <apply-form
<service-list ref="apply_service" slot="apply_service" :service_arr="service_arr"></service-list> :formInline="formInline"
ref="apply_info"
slot="apply_info"
></apply-form>
<service-list
ref="apply_service"
slot="apply_service"
:service_arr="service_arr"
></service-list>
</info-list> </info-list>
<div class="footout"> <div class="footout">
<span class="applybtn" @click="sub_service()">提交申请</span> <span class="applybtn" @click="sub_service()">提交申请</span>
<div class="count_money"> <div class="count_money">
<p> <p>
费用总计:&nbsp;&nbsp;&nbsp; <span>{{all_cost}}</span><span>金币</span> 费用总计:&nbsp;&nbsp;&nbsp; <span>{{ all_cost }}</span
><span>金币</span>
</p> </p>
<p> <p>
<span>{{service_arr.length}}项服务</span><span>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;账户余额: {{now_money}}金币</span> <span>{{ service_arr.length }}项服务</span
><span
>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;账户余额: {{ now_money }}金币</span
>
</p> </p>
</div> </div>
</div> </div>
...@@ -129,17 +141,16 @@ export default { ...@@ -129,17 +141,16 @@ export default {
}); });
this.get_car_list(temp_arr); this.get_car_list(temp_arr);
} }
this.get_account_money() this.get_account_money();
}, },
mounted() {}, mounted() {},
methods: { methods: {
get_account_money(){ get_account_money() {
this.$http this.$http.get(`/apaas/backmgt/user/myAccount`).then((res) => {
.get(`/apaas/backmgt/user/myAccount`).then(res=>{ if (res.data.success) {
if(res.data.success){ this.now_money = res.data.data.account_balance || 0;
this.now_money = res.data.data.account_balance || 0 }
} });
})
}, },
get_one_app(app_data) { get_one_app(app_data) {
this.$http this.$http
...@@ -160,14 +171,16 @@ export default { ...@@ -160,14 +171,16 @@ export default {
this.service_arr[0]["title"] = data.app_name; this.service_arr[0]["title"] = data.app_name;
this.service_arr[0]["type"] = data.type_name; this.service_arr[0]["type"] = data.type_name;
this.service_arr[0]["auth"] = data.org_name; this.service_arr[0]["auth"] = data.org_name;
this.service_arr[0]["size"] ="应用镜像部署权限:"+data.price+"金币/月"; this.service_arr[0]["size"] =
"应用镜像部署权限:" + data.price + "金币/月";
this.service_arr[0]["applytype"] = this.service_arr[0]["applytype"] =
"申请方式:" + (app_data.duration_unit == 1 ? "" : ""); "申请方式:" + (app_data.duration_unit == 1 ? "" : "");
this.service_arr[0]["num"] = `${app_data.duration}个月`; this.service_arr[0]["num"] = `${app_data.duration}个月`;
this.service_arr[0]["count"] = app_data.duration*parseFloat(data.price)+'金币'; this.service_arr[0]["count"] =
app_data.duration * parseFloat(data.price) + "金币";
this.service_arr[0]["isMg"] = false; this.service_arr[0]["isMg"] = false;
this.service_arr[0]["isapp"] = true; this.service_arr[0]["isapp"] = true;
this.all_cost = app_data.duration*parseFloat(data.price) this.all_cost = app_data.duration * parseFloat(data.price);
} }
}); });
}, },
...@@ -189,44 +202,48 @@ export default { ...@@ -189,44 +202,48 @@ export default {
); );
this.post_arr[0].duration = parseInt(service_data.duration); this.post_arr[0].duration = parseInt(service_data.duration);
this.post_arr[0].id = ""; this.post_arr[0].id = "";
this.service_arr.push({}); let objs = {};
this.service_arr[0]["img"] = data.cover; objs.img = data.cover;
this.service_arr[0]["title"] = data.name; objs.title = data.name;
this.service_arr[0]["type"] = data.data_service_type1_name; objs.type = data.data_service_type1_name;
this.service_arr[0]["tips"] = [ objs.tips = [
{ {
tip: this.share_arr[data.openness].name, tip: this.share_arr[data.openness].name,
type: this.share_arr[data.openness].val, type: this.share_arr[data.openness].val,
}, },
]; ];
this.service_arr[0]["auth"] = data.organization_name; objs.auth = data.organization_name;
this.service_arr[0]["size"] = ""; objs.size = "";
this.service_arr[0]["count"] = ""; objs.count = "";
data.request_spcs_info.forEach((el) => { data.request_spcs_info.forEach((el) => {
if (service_data.spec_id == el.id) { if (service_data.spec_id == el.id) {
let size = ""; let size = "";
let count = ""; let count = "";
if (el.spcs_type==1) { if (el.spcs_type == 1) {
size = `计次收费:${el.money}金币/${el.spcs_count}次`; size = `计次收费:${el.money}金币/${el.spcs_count}次`;
this.service_arr[0]["num"] = "不限时长" objs.num = "不限时长";
count = el.money; count = el.money;
} else { } else {
size = `${el.money}金币/${el.duration_unit == 1 ? "" : ""}`; size = `${el.money}金币/${
this.service_arr[0]["num"] = service_data.duration + (el.duration_unit == 1 ? "个月" : ""); el.duration_unit == 1 ? "" : ""
count = service_data.duration*el.money; }`;
} objs.num =
service_data.duration +
this.service_arr[0]["size"] = size; (el.duration_unit == 1 ? "个月" : "");
this.service_arr[0]["count"] = count+'金币'; count = service_data.duration * el.money;
this.all_cost = count; }
objs.size = size;
objs.count = count + "金币";
this.all_cost = count;
} }
}); });
this.service_arr[0]["applytype"] = objs.applytype =
"申请方式:" + (service_data.duration_unit == 1 ? "" : ""); "申请方式:" + (service_data.duration_unit == 1 ? "" : "");
this.service_arr[0]["isMg"] = data.openness == 3; objs.isMg = data.openness == 3;
this.service_arr[0]["data"] = JSON.parse(data.res_fields); objs.data = JSON.parse(data.res_fields);
console.log(this.service_arr[0]["data"]); objs.isapp = false;
this.service_arr[0]["isapp"] = false; this.service_arr = [objs];
console.log(this.service_arr);
} else { } else {
this.$message.error(response.data.errMsg); this.$message.error(response.data.errMsg);
} }
...@@ -264,9 +281,9 @@ export default { ...@@ -264,9 +281,9 @@ export default {
}); });
}, },
sub_service() { sub_service() {
if(this.all_cost>this.now_money){ if (this.all_cost > this.now_money) {
this.$message.error('余额不足,请进行充值') this.$message.error("余额不足,请进行充值");
return return;
} }
let formInline = this.$refs.apply_info.formInline; let formInline = this.$refs.apply_info.formInline;
let flag = null; let flag = null;
...@@ -358,7 +375,7 @@ export default { ...@@ -358,7 +375,7 @@ export default {
get_car_list(car_arr) { get_car_list(car_arr) {
this.service_arr = []; this.service_arr = [];
this.post_arr = []; this.post_arr = [];
var temp_cost = 0 var temp_cost = 0;
this.$http this.$http
.get(`/apaas/serviceapp/v3/shopcart/list`) .get(`/apaas/serviceapp/v3/shopcart/list`)
.then((response) => { .then((response) => {
...@@ -377,14 +394,21 @@ export default { ...@@ -377,14 +394,21 @@ export default {
this.service_arr[l]["title"] = e.application.app_name; this.service_arr[l]["title"] = e.application.app_name;
this.service_arr[l]["type"] = e.application.type_name; this.service_arr[l]["type"] = e.application.type_name;
this.service_arr[l]["auth"] = e.application.org_name; this.service_arr[l]["auth"] = e.application.org_name;
this.service_arr[l]["size"] ="应用镜像部署权限:"+e.application.price+"金币/月"; this.service_arr[l]["size"] =
"应用镜像部署权限:" + e.application.price + "金币/月";
this.service_arr[l]["applytype"] = this.service_arr[l]["applytype"] =
"申请方式:" + (e.duration_method == 1 ? "" : ""); "申请方式:" + (e.duration_method == 1 ? "" : "");
this.service_arr[l]["num"] = `${e.duration}${e.duration_unit == 1 ? "个月" : ""}`; this.service_arr[l]["num"] = `${e.duration}${
this.service_arr[l]["count"] = e.duration*parseFloat(e.application.price)+'金币'; e.duration_unit == 1 ? "个月" : ""
}`;
this.service_arr[l]["count"] =
e.duration * parseFloat(e.application.price) + "金币";
this.service_arr[l]["isMg"] = false; this.service_arr[l]["isMg"] = false;
this.service_arr[l]["isapp"] = true; this.service_arr[l]["isapp"] = true;
temp_cost = this.floatAdd(temp_cost, e.duration*parseFloat(e.application.price)) temp_cost = this.floatAdd(
temp_cost,
e.duration * parseFloat(e.application.price)
);
} else { } else {
//服务 //服务
this.service_arr[l]["img"] = e.service.cover; this.service_arr[l]["img"] = e.service.cover;
...@@ -402,20 +426,26 @@ export default { ...@@ -402,20 +426,26 @@ export default {
let spcs_type_1 = e.service.request_spcs_info.spcs_type_1 || []; let spcs_type_1 = e.service.request_spcs_info.spcs_type_1 || [];
let spcs_type_2 = e.service.request_spcs_info.spcs_type_2 || []; let spcs_type_2 = e.service.request_spcs_info.spcs_type_2 || [];
spcs_type_1.forEach((el,ind) => { spcs_type_1.forEach((el, ind) => {
if (e.spec_id == el.id) { if (e.spec_id == el.id) {
this.service_arr[l]["size"] = `计次收费:${el.money}金币/${el.spcs_count}次`; this.service_arr[l][
"size"
] = `计次收费:${el.money}金币/${el.spcs_count}次`;
this.service_arr[l]["num"] = "不限时长"; this.service_arr[l]["num"] = "不限时长";
this.service_arr[l]["count"] = e.duration*el.money+'金币'; this.service_arr[l]["count"] = e.duration * el.money + "金币";
temp_cost = this.floatAdd(temp_cost, e.duration*el.money); temp_cost = this.floatAdd(temp_cost, e.duration * el.money);
} }
}); });
spcs_type_2.forEach((el,ind) => { spcs_type_2.forEach((el, ind) => {
if (e.spec_id == el.id) { if (e.spec_id == el.id) {
this.service_arr[l]["size"] = `时长收费:${el.money}金币/${el.duration_unit == 1 ? "" : ""}`; this.service_arr[l]["size"] = `时长收费:${el.money}金币/${
this.service_arr[l]["num"] = `${e.duration}${el.duration_unit == 1 ? "个月" : ""}`; el.duration_unit == 1 ? "" : ""
this.service_arr[l]["count"] = e.duration*el.money+'金币'; }`;
temp_cost = this.floatAdd(temp_cost, e.duration*el.money); this.service_arr[l]["num"] = `${e.duration}${
el.duration_unit == 1 ? "个月" : ""
}`;
this.service_arr[l]["count"] = e.duration * el.money + "金币";
temp_cost = this.floatAdd(temp_cost, e.duration * el.money);
} }
}); });
...@@ -429,7 +459,7 @@ export default { ...@@ -429,7 +459,7 @@ export default {
this.service_arr[l]["isapp"] = false; this.service_arr[l]["isapp"] = false;
} }
}); });
this.all_cost = temp_cost this.all_cost = temp_cost;
// this.service_arr = // this.service_arr =
}) })
.catch((response) => {}); .catch((response) => {});
...@@ -466,7 +496,7 @@ export default { ...@@ -466,7 +496,7 @@ export default {
} }
return (arg1 + arg2) / m; return (arg1 + arg2) / m;
}, },
} },
}; };
</script> </script>
...@@ -498,29 +528,29 @@ export default { ...@@ -498,29 +528,29 @@ export default {
margin-left: 20px; margin-left: 20px;
cursor: pointer; cursor: pointer;
} }
.count_money{ .count_money {
float: right; float: right;
margin-top: -10px; margin-top: -10px;
} }
.count_money p:nth-of-type(1){ .count_money p:nth-of-type(1) {
font-size: 18px; font-size: 18px;
color: #242c43; color: #242c43;
margin-bottom: 10px; margin-bottom: 10px;
} }
.count_money p:nth-of-type(1) span{ .count_money p:nth-of-type(1) span {
color: #e56600; color: #e56600;
} }
.count_money p:nth-of-type(1) span:nth-of-type(1){ .count_money p:nth-of-type(1) span:nth-of-type(1) {
font-size: 24px; font-size: 24px;
} }
.count_money p:nth-of-type(1) span:nth-of-type(2){ .count_money p:nth-of-type(1) span:nth-of-type(2) {
font-size: 14px; font-size: 14px;
} }
.count_money p:nth-of-type(2){ .count_money p:nth-of-type(2) {
font-size: 14px; font-size: 14px;
color: #58617a; color: #58617a;
} }
.count_money p:nth-of-type(2) span:nth-of-type(2){ .count_money p:nth-of-type(2) span:nth-of-type(2) {
color: #a9aec0; color: #a9aec0;
margin-left: 20px; margin-left: 20px;
} }
......
...@@ -97,6 +97,7 @@ ...@@ -97,6 +97,7 @@
:colors="colors" :colors="colors"
show-score show-score
score-template="{value}" score-template="{value}"
disabled-void-color="#d9dce5"
></el-rate> ></el-rate>
</div> </div>
<p>填写评价:</p> <p>填写评价:</p>
...@@ -188,6 +189,7 @@ ...@@ -188,6 +189,7 @@
v-model="message.score" v-model="message.score"
disabled disabled
:colors="colors" :colors="colors"
disabled-void-color="#d9dce5"
></el-rate> ></el-rate>
</div> </div>
<div class="msg_title">评价详情:</div> <div class="msg_title">评价详情:</div>
...@@ -276,7 +278,7 @@ ...@@ -276,7 +278,7 @@
{{ orderDetail.single_money }}金币/ {{ orderDetail.single_money }}金币/
{{ {{
orderDetail.spcs_type == 1 orderDetail.spcs_type == 1
? orderDetail.spec_count + "" ? orderDetail.spcs_count + ""
: "" : ""
}} }}
</span> </span>
...@@ -486,7 +488,7 @@ export default { ...@@ -486,7 +488,7 @@ export default {
data: () => ({ data: () => ({
helper: helper, helper: helper,
visible: false, visible: false,
colors: ["#99A9BF", "#F7BA2A", "#FF9900"], colors: ["#fac266", "#fac266", "#fac266"],
serviceRate: 0, serviceRate: 0,
textarea: "", textarea: "",
orderDetail: {}, orderDetail: {},
...@@ -747,7 +749,7 @@ export default { ...@@ -747,7 +749,7 @@ export default {
if (this.orderDetail.order_type == 1) { if (this.orderDetail.order_type == 1) {
query = { query = {
service_id: parseFloat(this.orderDetail.service_id), service_id: parseFloat(this.orderDetail.service_id),
spcs_id: this.orderDetail.spcs_id, spec_id: this.orderDetail.svc_spec_id,
duration: this.orderDetail.duration, duration: this.orderDetail.duration,
duration_unit: this.orderDetail.duration_unit, duration_unit: this.orderDetail.duration_unit,
}; };
...@@ -759,7 +761,7 @@ export default { ...@@ -759,7 +761,7 @@ export default {
} else if (this.orderDetail.order_type == 2) { } else if (this.orderDetail.order_type == 2) {
query = { query = {
app_id: parseFloat(this.orderDetail.app_id), app_id: parseFloat(this.orderDetail.app_id),
spcs_id: this.orderDetail.spcs_id, spec_id: this.orderDetail.svc_spec_id,
duration: this.orderDetail.duration, duration: this.orderDetail.duration,
duration_unit: this.orderDetail.duration_unit, duration_unit: this.orderDetail.duration_unit,
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment