Commit 9bb661b2 authored by youjie's avatar youjie

no message

parent 82a6bb42
...@@ -1530,12 +1530,12 @@ export default { ...@@ -1530,12 +1530,12 @@ export default {
if (qsearchDate) { if (qsearchDate) {
this.qMsg.StartDate = qsearchDate; this.qMsg.StartDate = qsearchDate;
}else { }else {
this.qMsg.StartDate = date.formatDate(date.addToDate(new Date(), { days: 0 }), "YYYY/MM/DD") this.qMsg.StartDate = date.formatDate(date.addToDate(new Date(), { days: 8 }), "YYYY/MM/DD")
} }
if (qsearchEndDate) { if (qsearchEndDate) {
this.qMsg.EndDate = qsearchEndDate; this.qMsg.EndDate = qsearchEndDate;
}else { }else {
this.qMsg.EndDate = date.formatDate(date.addToDate(new Date(), { days: 1 }), "YYYY/MM/DD") this.qMsg.EndDate = date.formatDate(date.addToDate(new Date(), { days: 9 }), "YYYY/MM/DD")
} }
if(areaId) { if(areaId) {
......
...@@ -35,7 +35,9 @@ ...@@ -35,7 +35,9 @@
<div class="row"> <div class="row">
<q-img v-if="details.imageList&&details.imageList.length" <q-img v-if="details.imageList&&details.imageList.length"
:src="details.imageList&&details.imageList.length?details.imageList[0]:'https://image.kkday.com/v2/image/get/s1.kkday.com/product_138437/20230217083232_t5rcO/jpg'" :src="details.imageList&&details.imageList.length?details.imageList[0]:'https://image.kkday.com/v2/image/get/s1.kkday.com/product_138437/20230217083232_t5rcO/jpg'"
class="rounded-borders" spinner-color="grey-3" spinner-size="20px" style="width: 80px; height: 80px" /> class="rounded-borders" spinner-color="grey-3" spinner-size="20px"
style="width: 80px; height: 80px"
:ratio="16/9" />
<q-img v-else src="../../assets/img/errImg.png" class="rounded-borders" spinner-color="grey-3" <q-img v-else src="../../assets/img/errImg.png" class="rounded-borders" spinner-color="grey-3"
spinner-size="20px" style="width: 80px;" /> spinner-size="20px" style="width: 80px;" />
<div class="q-ml-md col"> <div class="q-ml-md col">
...@@ -212,7 +214,8 @@ ...@@ -212,7 +214,8 @@
<div class="row q-mt-md"> <div class="row q-mt-md">
<q-img v-if="details&&details.imageList.length" <q-img v-if="details&&details.imageList.length"
:src="details.imageList&&details.imageList.length?details.imageList[0]:'https://image.kkday.com/v2/image/get/s1.kkday.com/product_138437/20230217083232_t5rcO/jpg'" :src="details.imageList&&details.imageList.length?details.imageList[0]:'https://image.kkday.com/v2/image/get/s1.kkday.com/product_138437/20230217083232_t5rcO/jpg'"
class="rounded-borders" spinner-color="grey-3" style="width: 80px" /> class="rounded-borders" spinner-color="grey-3" style="width: 80px"
:ratio="16/9"/>
<q-img v-else src="../../assets/img/errImg.png" class="rounded-borders" spinner-color="grey-3" <q-img v-else src="../../assets/img/errImg.png" class="rounded-borders" spinner-color="grey-3"
spinner-size="20px" style="width: 80px;" /> spinner-size="20px" style="width: 80px;" />
<div class="q-ml-md col"> <div class="q-ml-md col">
......
...@@ -55,11 +55,19 @@ ...@@ -55,11 +55,19 @@
</div> </div>
<div class="q-mt-sm" :class="{'row':$q.platform.is.desktop,'column':$q.platform.is.mobile}"> <div class="q-mt-sm" :class="{'row':$q.platform.is.desktop,'column':$q.platform.is.mobile}">
<div class="row col full-width"> <div class="row col full-width">
<q-img <q-img v-if="item.goodsPic"
:src="item.goodsPic" :src="item.goodsPic"
class="rounded-borders q-mr-md" class="rounded-borders q-mr-md"
spinner-color="grey-2" spinner-color="grey-2"
:style="{width: $q.platform.is.desktop?'150px':'80px',height:$q.platform.is.desktop?'80px':'40px'}" :style="{width: $q.platform.is.desktop?'150px':'80px',height:$q.platform.is.desktop?'80px':'40px'}"
:ratio="16/9"
/>
<q-img v-else
src="../../assets/img/errImg2.png"
class="rounded-borders q-mr-md"
spinner-color="grey-2"
:style="{width: $q.platform.is.desktop?'150px':'80px',height:$q.platform.is.desktop?'80px':'40px'}"
:ratio="16/9"
/> />
<div class="col"> <div class="col">
<div class="text-body1 ellipsis cursor-pointer">{{ item.goodsName }}</div> <div class="text-body1 ellipsis cursor-pointer">{{ item.goodsName }}</div>
......
...@@ -53,13 +53,20 @@ ...@@ -53,13 +53,20 @@
<q-card class="rounded-borders q-pa-md q-mt-md" flat> <q-card class="rounded-borders q-pa-md q-mt-md" flat>
<div class="text-subtitle1 text-weight-bolder">商品訊息</div> <div class="text-subtitle1 text-weight-bolder">商品訊息</div>
<div class="row q-mt-md"> <div class="row q-mt-md">
<q-img <q-img v-if="detail.GoodsPic"
:src="detail.GoodsPic" :src="detail.GoodsPic"
class="rounded-borders q-mr-md" class="rounded-borders q-mr-md"
spinner-color="grey-2" spinner-color="grey-2"
style="width: 150px" style="width: 150px"
:ratio="16/9" :ratio="16/9"
/> />
<q-img
src="../../../assets/img/errImg2.png"
class="rounded-borders q-mr-md"
spinner-color="grey-2"
style="width: 150px"
:ratio="16/9"
/>
<div class="col"> <div class="col">
<div class="text-body1 ellipsis">{{detail.GoodsName}}</div> <div class="text-body1 ellipsis">{{detail.GoodsName}}</div>
<div class="q-mt-sm text-grey-6">{{detail.OrderMake}}</div> <div class="q-mt-sm text-grey-6">{{detail.OrderMake}}</div>
......
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