修改bug,更改字体图标

This commit is contained in:
mabo
2021-05-18 18:03:00 +08:00
parent c3ed622031
commit 6d0e7b3825
45 changed files with 135 additions and 7493 deletions

View File

@@ -29,6 +29,7 @@
"sockjs-client": "^1.4.0",
"stompjs": "^2.3.3",
"swiper": "^6.3.5",
"vue-qr": "^2.3.0",
"view-design": "^4.2.0",
"vue": "^2.6.10",
"vue-awesome": "^4.0.2",

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.0 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -54,6 +54,12 @@ Vue.prototype.setStore = setStore;
Vue.prototype.getStore = getStore;
Vue.prototype.removeStore = removeStore;
Vue.prototype.md5 = md5;
Vue.prototype.linkTo = function (goodsId, skuId, link='https://pc-b2b2c.pickmall.cn') { // 跳转买家端商品
window.open(`${link}/goodsDetail?goodsId=${goodsId}&skuId=${skuId}`, '_blank')
};
Vue.prototype.wapLinkTo = function (goodsId, skuId) { // app端二维码
return `https://m-b2b2c.pickmall.cn/pages/product/goods?id=${skuId}&goodsId=${goodsId}`
};
Array.prototype.remove = function(from, to) {
var rest = this.slice((to || from) + 1 || this.length);

View File

@@ -31,7 +31,7 @@
<div style="margin-left: 13px;">
<div class="div-zoom" >
<a>{{scope.row.goodsName}}</a>
<a @click="linkTo(scope.row.id,scope.row.skuId)">{{scope.row.goodsName}}</a>
</div>
</div>
</div>

View File

@@ -1839,18 +1839,19 @@ export default {
this.$Message.error("请上传商品图片");
return;
}
if (
!this.baseInfoForm.storeCategoryPath ||
!this.baseInfoForm.storeCategoryPath.length
) {
this.submitLoading = false;
this.$Message.error("请选择店内分类");
return;
}
// if (
// !this.baseInfoForm.storeCategoryPath ||
// !this.baseInfoForm.storeCategoryPath.length
// ) {
// this.submitLoading = false;
// this.$Message.error("请选择店内分类");
// return;
// }
//如果选择的是买家承担运费 则运费模板重置为0
if (this.baseInfoForm.freightPayer == "BUYER") {
this.baseInfoForm.templateId = 0;
}
this.baseInfoForm.skuList = this.skuTableData.map((sku) => {
delete sku._index;
delete sku._rowKey;

View File

@@ -51,8 +51,8 @@
</Form>
</Row>
<Row class="operator padding-row">
<Button @click="add" type="primary">添加</Button>&nbsp;
<Button @click="delAll">批量下架</Button>&nbsp;
<Button @click="add" type="primary">添加</Button>
<Button @click="delAll" class="ml_10">批量下架</Button>
<!-- <Button @click="upAll">批量上架</Button> -->
</Row>
<Row class="padding-row">
@@ -106,7 +106,6 @@
<script>
import {
getShopCouponList,
deleteShopCoupon,
updateCouponStatus,
} from "@/api/promotion";

View File

@@ -545,11 +545,12 @@ export default {
this.form.promotionGoodsList.splice(index, 1);
},
selectedGoodsData(item) {
console.log(item);
// 回显已选商品
let ids = [];
let list = [];
this.form.promotionGoodsList.forEach((e) => {
ids.push(e.id);
ids.push(e.skuId);
});
item.forEach((e) => {
if (!ids.includes(e.id)) {

View File

@@ -501,7 +501,7 @@ export default {
let ids = [];
let list = [];
this.form.promotionGoodsList.forEach((e) => {
ids.push(e.id);
ids.push(e.skuId);
});
item.forEach((e) => {
if (!ids.includes(e.id)) {

View File

@@ -276,7 +276,7 @@ export default {
let ids = [];
let list = [];
this.goodsData.forEach((e) => {
ids.push(e.id);
ids.push(e.skuId);
});
item.forEach((e) => {
if (!ids.includes(e.id)) {

View File

@@ -364,7 +364,7 @@ export default {
let list = [];
this.goodsList[this.tabIndex].list.forEach((e) => {
ids.push(e.id);
ids.push(e.skuId);
});
item.forEach((e) => {
if (!ids.includes(e.id)) {