修改banner参数,解决冲突
commit
e827ee4d5f
|
|
@ -39,7 +39,7 @@ watch(cid, (newCid, oldCid)=>{
|
|||
});
|
||||
|
||||
const getBanner = ()=>{
|
||||
let params = {key: `pc_business_${cid.value}` };
|
||||
let params = {key: `pc_business_${cid.value}`};
|
||||
http('/api/banner', params, 'get').then(res => {
|
||||
banner.value = Array.isArray(res.data) ? res.data[0] : {};
|
||||
}).catch(err => {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<span class="text-[#19191A] ml-28px text-39px font-bold">元</span>
|
||||
</div>
|
||||
<div class="px-50px">
|
||||
<div class="mt-28px flex items-center justify-between">
|
||||
<div class="mt-18px flex items-center justify-between">
|
||||
<div
|
||||
v-if="currentAttr.discount"
|
||||
class="bg-[#E73434] text-white text-28px font-bold rounded-4px px-18px h-43px flex items-center"
|
||||
|
|
@ -41,6 +41,10 @@
|
|||
<div>字数上限</div>
|
||||
<div>{{ formatNumber(data.equity.words) }}</div>
|
||||
</div>
|
||||
<div v-if="data.equity.article>0" class="flex justify-between items-center text-31px text-[#232323] mt-10px">
|
||||
<div>阅读文章</div>
|
||||
<div>{{ data.equity.article=='unlimit' ?'无限制':`${data.equity.article}篇` }}</div>
|
||||
</div>
|
||||
<van-divider class="!my-20px border-[#FFF4E0]" />
|
||||
<div
|
||||
class="text-[#886E43] text-35px font-bold"
|
||||
|
|
|
|||
Loading…
Reference in New Issue