fix: 🐛 修复几个已知bug
parent
24554a0768
commit
78df54d153
|
@ -38,8 +38,16 @@ Vue.config.devtools = true;
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
const PC_URL = BASE.PC_URL; // 跳转买家端地址 pc端
|
const PC_URL = BASE.PC_URL; // 跳转买家端地址 pc端
|
||||||
const WAP_URL = BASE.WAP_URL; // 跳转买家端地址 wap端
|
const WAP_URL = BASE.WAP_URL; // 跳转买家端地址 wap端
|
||||||
Vue.prototype.linkTo = function (goodsId, skuId) { // 跳转买家端商品
|
Vue.prototype.linkTo = function (goodsId, skuId) {
|
||||||
window.open(`${PC_URL}/goodsDetail?skuId=${skuId}&goodsId=${goodsId}`, '_blank')
|
// 跳转买家端商品
|
||||||
|
let src;
|
||||||
|
if (skuId) {
|
||||||
|
src = `${PC_URL}/goodsDetail?skuId=${skuId}&goodsId=${goodsId}`;
|
||||||
|
} else {
|
||||||
|
src = `${PC_URL}/goodsDetail?goodsId=${goodsId}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
window.open(src, "_blank");
|
||||||
};
|
};
|
||||||
Vue.prototype.wapLinkTo = function (goodsId, skuId) { // app端二维码
|
Vue.prototype.wapLinkTo = function (goodsId, skuId) { // app端二维码
|
||||||
return `${WAP_URL}/pages/product/goods?id=${skuId}&goodsId=${goodsId}`
|
return `${WAP_URL}/pages/product/goods?id=${skuId}&goodsId=${goodsId}`
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div>
|
<div>
|
||||||
<Card>
|
<Card>
|
||||||
<Row>
|
<Row>
|
||||||
<Form ref="searchForm" :model="searchForm" @keydown.enter.native="handleSearch" inline :label-width="70" class="search-form">
|
<Form ref="searchForm" :model="searchForm" @keydown.enter.native="handleSearch" @submit.native.prevent inline :label-width="70" class="search-form">
|
||||||
<Form-item label="会员名称" prop="memberName">
|
<Form-item label="会员名称" prop="memberName">
|
||||||
<Input type="text" v-model="searchForm.memberName" placeholder="请输入会员名称" clearable style="width: 200px"/>
|
<Input type="text" v-model="searchForm.memberName" placeholder="请输入会员名称" clearable style="width: 200px"/>
|
||||||
</Form-item>
|
</Form-item>
|
||||||
|
@ -48,10 +48,10 @@
|
||||||
<div class="div-height"> 店铺名称:{{ infoData.storeName }}</div>
|
<div class="div-height"> 店铺名称:{{ infoData.storeName }}</div>
|
||||||
<div class="div-height"> 订单号:{{ infoData.orderNo }}</div>
|
<div class="div-height"> 订单号:{{ infoData.orderNo }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="border-b">
|
<div class="border-b">
|
||||||
<List>
|
<List>
|
||||||
|
|
||||||
<ListItem>
|
<ListItem>
|
||||||
<ListItemMeta :avatar="infoData.memberProfile" :title="infoData.memberName"
|
<ListItemMeta :avatar="infoData.memberProfile" :title="infoData.memberName"
|
||||||
:description="infoData.content"/>
|
:description="infoData.content"/>
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
v-for="(img,index) in infoData.images.split(',')" :src="img"
|
v-for="(img,index) in infoData.images.split(',')" :src="img"
|
||||||
alt="" :key="index"/>
|
alt="" :key="index"/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</List>
|
</List>
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
inline
|
inline
|
||||||
style="margin-top:10px"
|
style="margin-top:10px"
|
||||||
:label-width="70"
|
:label-width="70"
|
||||||
|
@submit.native.prevent
|
||||||
class="search-form"
|
class="search-form"
|
||||||
>
|
>
|
||||||
<Form-item label="会员名称" prop="username">
|
<Form-item label="会员名称" prop="username">
|
||||||
|
|
Loading…
Reference in New Issue