|
|
@ -9,11 +9,12 @@ |
|
|
<ul> |
|
|
<ul> |
|
|
<li> |
|
|
<li> |
|
|
<view class="name"> |
|
|
<view class="name"> |
|
|
<view style="flex:1;">{{item.saleName}}</view> |
|
|
<view class="sale-name">{{item.saleName}}</view> |
|
|
<view class="btn-list"> |
|
|
<view class="btn-list"> |
|
|
<view class="bj-btn" @tap.stop="inputDialogToggle('edit', item)">编辑</view> |
|
|
<view class="bj-btn" @tap.stop="inputDialogToggle('edit', item)">编辑</view> |
|
|
<view class="bj-btn" @tap.stop="scanCodeAdd(item.id)">扫码开单</view> |
|
|
|
|
|
<view class="bj-btn" @tap.stop="toggle('center',item)">语音备注</view> |
|
|
<view class="bj-btn" @tap.stop="toggle('center',item)">语音备注</view> |
|
|
|
|
|
<view class="bj-btn" @tap.stop="scanCodeAdd(item)">扫码选货</view> |
|
|
|
|
|
<view class="bj-btn" @tap.stop="goSaleGoods()">开单</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="name-date"> |
|
|
<view class="name-date"> |
|
|
@ -29,16 +30,20 @@ |
|
|
<text style="color: red;">备注:</text> |
|
|
<text style="color: red;">备注:</text> |
|
|
{{item.remark}} |
|
|
{{item.remark}} |
|
|
</view> |
|
|
</view> |
|
|
<view class="shop-list" v-for="items in item.saleDetailDTOList"> |
|
|
<view class="shop-list" v-for="(items,index1) in item.saleDetailDTOList"> |
|
|
<view class="order-name"> |
|
|
<view class="order-name"> |
|
|
{{items.productName}} {{items.productSn}} |
|
|
{{items.productName}} {{items.productSn}} |
|
|
<img :src="items.purchasePrice" @tap.stop="largeImg" alt=""> |
|
|
<img :src="items.productPicture" @tap.stop="largeImg(items.productPicture)" alt=""> |
|
|
</view> |
|
|
</view> |
|
|
<view class="specs-name" v-for="itemss in items.saleDetailQueryDTO"> |
|
|
<view class="specs-name" v-for="(itemss,index2) in items.stockLogList1"> |
|
|
{{itemss.attributeList}} * {{itemss.productCount}} |
|
|
<view style="margin-right:5%;" @tap="delGoodsPrecs(item,index1,index2)"> |
|
|
|
|
|
<uni-icons color="red" type="minus" size="26"></uni-icons> |
|
|
|
|
|
</view> |
|
|
|
|
|
{{itemss.attributeList | sliceMsg}} * {{itemss.productCount}} |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="del-icon" @tap.stop="delGoods(item,items.productId)"> |
|
|
|
|
|
<uni-icons color="red" type="trash" size="26"></uni-icons> |
|
|
</view> |
|
|
</view> |
|
|
<view class="del-icon" @tap.stop="delGoodsPrecs"><uni-icons color="red" type="trash" |
|
|
|
|
|
size="26"></uni-icons></view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -82,7 +87,8 @@ |
|
|
<view class="shop-popup-title-right-box" style="color: #088FEB;">{{goodsDetail.productName}} |
|
|
<view class="shop-popup-title-right-box" style="color: #088FEB;">{{goodsDetail.productName}} |
|
|
</view> |
|
|
</view> |
|
|
<view class="shop-popup-title-right-box">{{goodsDetail.productSn}}</view> |
|
|
<view class="shop-popup-title-right-box">{{goodsDetail.productSn}}</view> |
|
|
<view class="popup-title-right-box" style="color: darkorange;" @tap="inputDialogToggle('payDialog')"> |
|
|
<view class="popup-title-right-box" style="color: darkorange;" |
|
|
|
|
|
@tap="inputDialogToggle('payDialog')"> |
|
|
<text style="margin-right:20rpx;">修改价格</text> |
|
|
<text style="margin-right:20rpx;">修改价格</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -152,7 +158,7 @@ |
|
|
<!-- 查看大图弹出层 --> |
|
|
<!-- 查看大图弹出层 --> |
|
|
<uni-popup ref="imgPopup" background-color="#fff" @change="change"> |
|
|
<uni-popup ref="imgPopup" background-color="#fff" @change="change"> |
|
|
<view class="img-popup-content"> |
|
|
<view class="img-popup-content"> |
|
|
<img src="/static/images/logo.png" alt="" style="width: 100%;height: 100%;"> |
|
|
<img :src="bigImg" alt="" style="width: 100%;height: 100%;"> |
|
|
</view> |
|
|
</view> |
|
|
</uni-popup> |
|
|
</uni-popup> |
|
|
</view> |
|
|
</view> |
|
|
@ -167,9 +173,9 @@ |
|
|
voiceText: '', |
|
|
voiceText: '', |
|
|
recordState: false, |
|
|
recordState: false, |
|
|
pageNumber: 1, |
|
|
pageNumber: 1, |
|
|
regList:[], |
|
|
regList: [], |
|
|
list:[], |
|
|
list: [], |
|
|
value:'', |
|
|
value: '', |
|
|
indexList: [], |
|
|
indexList: [], |
|
|
pageNum: 1, //分页的页码 |
|
|
pageNum: 1, //分页的页码 |
|
|
shopList: [], |
|
|
shopList: [], |
|
|
@ -189,10 +195,23 @@ |
|
|
evalue: [], |
|
|
evalue: [], |
|
|
attributeList: [], |
|
|
attributeList: [], |
|
|
purchasePrice: 0, |
|
|
purchasePrice: 0, |
|
|
zPrice:0, |
|
|
zPrice: 0, |
|
|
zNum:0, |
|
|
zNum: 0, |
|
|
storageType:0, |
|
|
storageType: 0, |
|
|
hangId:'' |
|
|
hangId: '', |
|
|
|
|
|
bigImg: '' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
filters: { |
|
|
|
|
|
sliceMsg(val) { |
|
|
|
|
|
var name = '' |
|
|
|
|
|
if (typeof(val) == 'string') { |
|
|
|
|
|
let newObj = JSON.parse(val) |
|
|
|
|
|
for (let as in newObj) { |
|
|
|
|
|
name += newObj[as] + '/' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
return name; |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onLoad() { |
|
|
onLoad() { |
|
|
@ -210,7 +229,7 @@ |
|
|
} |
|
|
} |
|
|
this.tui.request("/app/sale/listPages", "POST", obj, false, false).then((res) => { |
|
|
this.tui.request("/app/sale/listPages", "POST", obj, false, false).then((res) => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
for (let i=0;i<res.result.records.length;i++) { |
|
|
for (let i = 0; i < res.result.records.length; i++) { |
|
|
res.result.records[i].isCollapse = false |
|
|
res.result.records[i].isCollapse = false |
|
|
} |
|
|
} |
|
|
this.regList = res.result.records; |
|
|
this.regList = res.result.records; |
|
|
@ -273,7 +292,7 @@ |
|
|
|
|
|
|
|
|
// 识别错误事件 |
|
|
// 识别错误事件 |
|
|
manager.onError = (res) => { |
|
|
manager.onError = (res) => { |
|
|
if(res.retcode == '-40001'){ |
|
|
if (res.retcode == '-40001') { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '使用次数超限制,请联系管理员!', |
|
|
title: '使用次数超限制,请联系管理员!', |
|
|
icon: 'none' |
|
|
icon: 'none' |
|
|
@ -282,10 +301,15 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//扫一扫功能 |
|
|
//扫一扫功能 |
|
|
scanCodeAdd(id) { |
|
|
scanCodeAdd(item) { |
|
|
uni.scanCode({ |
|
|
uni.scanCode({ |
|
|
success: (res) => { |
|
|
success: (res) => { |
|
|
this.hangId = id |
|
|
this.hangId = item.id |
|
|
|
|
|
if (item.saleDetailDTOList) { |
|
|
|
|
|
for (let i = 0; i < item.saleDetailDTOList.length; i++) { |
|
|
|
|
|
this.carList.push(item.saleDetailDTOList[i]) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
this.toggle('bottom', res.result); |
|
|
this.toggle('bottom', res.result); |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
@ -305,13 +329,12 @@ |
|
|
this.goodsDetail.attributeList[index].value[index1].isChecked = true; |
|
|
this.goodsDetail.attributeList[index].value[index1].isChecked = true; |
|
|
var name = '', |
|
|
var name = '', |
|
|
evalue = [], |
|
|
evalue = [], |
|
|
obj = {}, |
|
|
obj = {} |
|
|
specsList = [] |
|
|
|
|
|
for (var i = 0; i < this.goodsDetail.attributeList.length; i++) { |
|
|
for (var i = 0; i < this.goodsDetail.attributeList.length; i++) { |
|
|
for (var m = 0, Ien = this.goodsDetail.attributeList[i].value; m < Ien.length; m++) { |
|
|
for (var m = 0, Ien = this.goodsDetail.attributeList[i].value; m < Ien.length; m++) { |
|
|
if (Ien[m].isChecked == true) { |
|
|
if (Ien[m].isChecked == true) { |
|
|
evalue.push(Ien[m].value) |
|
|
evalue.push(Ien[m].value) |
|
|
name += Ien[m].value |
|
|
name += Ien[m].value + '/' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -325,12 +348,18 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (this.goodsDetail.attributeList.length == jishuqi) { |
|
|
if (this.goodsDetail.attributeList.length == jishuqi) { |
|
|
let data = {} |
|
|
|
|
|
this.attributeList = { |
|
|
this.attributeList = { |
|
|
attributeList: JSON.stringify(obj), |
|
|
attributeList: JSON.stringify(obj), |
|
|
productCount: this.temporaryNum, |
|
|
productCount: this.temporaryNum, |
|
|
name:name, |
|
|
name: name, |
|
|
price:this.purchasePrice |
|
|
price: this.purchasePrice |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for (let i = 0; i < this.goodsDetail.attributeList.length; i++) { |
|
|
|
|
|
this.goodsDetail.attributeList[i].isChecked = false; |
|
|
|
|
|
for (let m = 0; m < this.goodsDetail.attributeList[i].value.length; m++) { |
|
|
|
|
|
this.goodsDetail.attributeList[i].value[m].isChecked = false |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
if (this.temporaryList.length == 0) { |
|
|
if (this.temporaryList.length == 0) { |
|
|
this.temporaryList.push(this.attributeList); |
|
|
this.temporaryList.push(this.attributeList); |
|
|
@ -340,7 +369,7 @@ |
|
|
this.temporaryList[i] = this.attributeList |
|
|
this.temporaryList[i] = this.attributeList |
|
|
return |
|
|
return |
|
|
} else { |
|
|
} else { |
|
|
if (this.temporaryList.length == (i+1)) { |
|
|
if (this.temporaryList.length == (i + 1)) { |
|
|
this.temporaryList.push(this.attributeList); |
|
|
this.temporaryList.push(this.attributeList); |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -348,48 +377,45 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
temporaryChange(val) { |
|
|
temporaryChange(val) { |
|
|
this.zNum = 0 |
|
|
this.zNum = 0 |
|
|
for (var i=0;i<this.temporaryList.length;i++) { |
|
|
for (var i = 0; i < this.temporaryList.length; i++) { |
|
|
this.zNum += this.temporaryList[i].productCount |
|
|
this.zNum += this.temporaryList[i].productCount |
|
|
} |
|
|
} |
|
|
this.zPrice = this.zNum * this.purchasePrice |
|
|
this.zPrice = this.zNum * this.purchasePrice |
|
|
}, |
|
|
}, |
|
|
//弹窗选择规格后,点击弹窗中选好了按钮 |
|
|
//弹窗选择规格后,点击弹窗中选好了按钮 |
|
|
temporaryCheck() { |
|
|
temporaryCheck() { |
|
|
if(this.storageType == 0 && this.purchasePrice == 0){ |
|
|
if (this.storageType == 0 && this.purchasePrice == 0) { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: "请输入实际价格!", |
|
|
title: "请输入实际价格!", |
|
|
icon: 'none' |
|
|
icon: 'none' |
|
|
}) |
|
|
}) |
|
|
}else{ |
|
|
} else { |
|
|
let data = { |
|
|
let data = { |
|
|
discount: 10, |
|
|
discount: 10, |
|
|
productId: this.goodsDetail.id, |
|
|
productId: this.goodsDetail.id, |
|
|
realPrice: this.zPrice, |
|
|
realPrice: this.zPrice, |
|
|
productCount: this.zNum, |
|
|
productCount: this.zNum, |
|
|
discountAmount:this.zPrice, |
|
|
discountAmount: this.zPrice, |
|
|
productName: this.goodsDetail.productName, |
|
|
productName: this.goodsDetail.productName, |
|
|
productSn: this.goodsDetail.productSn, |
|
|
productSn: this.goodsDetail.productSn, |
|
|
productPicture: this.goodsDetail.productPicture, |
|
|
productPicture: this.goodsDetail.productPicture, |
|
|
supplierName: this.goodsDetail.supplierName, |
|
|
supplierName: this.goodsDetail.supplierName, |
|
|
saleDetailQueryDTO:this.temporaryList |
|
|
stockLogList1: this.temporaryList |
|
|
} |
|
|
} |
|
|
// if(){ |
|
|
|
|
|
|
|
|
|
|
|
// } |
|
|
|
|
|
this.carList.push(data) |
|
|
this.carList.push(data) |
|
|
console.log(this.carList); |
|
|
// this.temporaryList = [] |
|
|
this.temporaryList = [] |
|
|
this.purchasePrice = '' |
|
|
this.purchasePrice = '' |
|
|
|
|
|
this.zPrice = '' |
|
|
this.zPrice = '' |
|
|
this.zNum = '' |
|
|
this.zNum = '' |
|
|
for(let i=0;i<this.goodsDetail.attributeList.length;i++){ |
|
|
for (let i = 0; i < this.goodsDetail.attributeList.length; i++) { |
|
|
this.goodsDetail.attributeList[i].isChecked = false; |
|
|
this.goodsDetail.attributeList[i].isChecked = false; |
|
|
for (let m=0;m<this.goodsDetail.attributeList[i].value.length;m++) { |
|
|
for (let m = 0; m < this.goodsDetail.attributeList[i].value.length; m++) { |
|
|
this.goodsDetail.attributeList[i].value[m].isChecked = false |
|
|
this.goodsDetail.attributeList[i].value[m].isChecked = false |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -399,11 +425,11 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
//保存扫码选择的商品 |
|
|
//保存扫码选择的商品、删除整条商品数据都用这个方法 |
|
|
setSaleDetail(){ |
|
|
setSaleDetail() { |
|
|
this.tui.request("/app/sale/setSaleDetail", "post", { |
|
|
this.tui.request("/app/sale/setSaleDetail", "post", { |
|
|
saleDetailList:this.carList, |
|
|
saleDetailList: this.carList, |
|
|
saleId:this.hangId |
|
|
saleId: this.hangId |
|
|
}, false, false).then((res) => { |
|
|
}, false, false).then((res) => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
this.getRegList() |
|
|
this.getRegList() |
|
|
@ -427,21 +453,21 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//新增挂单弹窗 |
|
|
//新增挂单弹窗 |
|
|
inputDialogToggle(type,list) { |
|
|
inputDialogToggle(type, list) { |
|
|
this.value = '' |
|
|
this.value = '' |
|
|
if(type=="add"){ |
|
|
if (type == "add") { |
|
|
this.$refs.inputDialog.open() |
|
|
this.$refs.inputDialog.open() |
|
|
}else if(type=='edit'){ |
|
|
} else if (type == 'edit') { |
|
|
this.list = list; |
|
|
this.list = list; |
|
|
this.value = list.saleName |
|
|
this.value = list.saleName |
|
|
this.$refs.setDialog.open() |
|
|
this.$refs.setDialog.open() |
|
|
}else{ |
|
|
} else { |
|
|
this.$refs.payDialog.open() |
|
|
this.$refs.payDialog.open() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//通过商品id查询商品详细信息 |
|
|
//通过商品id查询商品详细信息 |
|
|
getById(id) { |
|
|
getById(id) { |
|
|
this.tui.request("/app/product/getById/"+id, "POST", {}, false, true).then((res) => { |
|
|
this.tui.request("/app/product/getById/" + id, "POST", {}, false, true).then((res) => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
this.goodsDetail = res.result; |
|
|
this.goodsDetail = res.result; |
|
|
if (typeof(this.goodsDetail.attributeList) == 'string') { |
|
|
if (typeof(this.goodsDetail.attributeList) == 'string') { |
|
|
@ -477,7 +503,8 @@ |
|
|
}).catch((res) => {}) |
|
|
}).catch((res) => {}) |
|
|
}, |
|
|
}, |
|
|
//查看大图 |
|
|
//查看大图 |
|
|
largeImg() { |
|
|
largeImg(img) { |
|
|
|
|
|
this.bigImg = img |
|
|
this.$refs.imgPopup.open() |
|
|
this.$refs.imgPopup.open() |
|
|
}, |
|
|
}, |
|
|
//新增挂单 |
|
|
//新增挂单 |
|
|
@ -495,33 +522,69 @@ |
|
|
this.tui.toast(res) |
|
|
this.tui.toast(res) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
//删除商品规格确认弹窗 |
|
|
//删除整条挂单 |
|
|
delGoodsPrecs(id) { |
|
|
delHangOrder() { |
|
|
|
|
|
let that = this; |
|
|
uni.showModal({ |
|
|
uni.showModal({ |
|
|
title: "提示", |
|
|
title: "提示", |
|
|
content: "确定删除此条商品吗?", |
|
|
content: "确定删除此条挂单记录吗?", |
|
|
success: function(res) { |
|
|
success: function(res) { |
|
|
this.tui.request("/app/sale/delById", "POST", { |
|
|
that.tui.request("/app/sale/delById", "POST", { |
|
|
id: id |
|
|
id: id |
|
|
}, false, false).then((res) => { |
|
|
}, false, false).then((res) => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
this.tui.toast("删除成功") |
|
|
that.tui.toast("删除成功") |
|
|
this.getRegList(); |
|
|
that.getRegList(); |
|
|
} else { |
|
|
} else { |
|
|
this.tui.toast(res.message) |
|
|
that.tui.toast(res.message) |
|
|
} |
|
|
} |
|
|
}).catch((res) => { |
|
|
}).catch((res) => { |
|
|
this.tui.toast(res) |
|
|
that.tui.toast(res) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
//删除整条商品 |
|
|
|
|
|
delGoods(item, productId) { |
|
|
|
|
|
let that = this; |
|
|
|
|
|
this.hangId = item.id; |
|
|
|
|
|
console.log(item.saleDetailDTOList) |
|
|
|
|
|
uni.showModal({ |
|
|
|
|
|
title: "提示", |
|
|
|
|
|
content: "确定删除此条商品吗?", |
|
|
|
|
|
success: function(res) { |
|
|
|
|
|
for (let i = 0; i < item.saleDetailDTOList.length; i++) { |
|
|
|
|
|
if (item.saleDetailDTOList[i].productId == productId) { |
|
|
|
|
|
item.saleDetailDTOList.splice(item.saleDetailDTOList[i], 1) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
that.carList = item.saleDetailDTOList |
|
|
|
|
|
that.setSaleDetail(); |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
//删除商品下的单条规格 |
|
|
|
|
|
delGoodsPrecs(item, index, index1) { |
|
|
|
|
|
let that = this; |
|
|
|
|
|
this.hangId = item.id; |
|
|
|
|
|
console.log(item.saleDetailDTOList) |
|
|
|
|
|
uni.showModal({ |
|
|
|
|
|
title: "提示", |
|
|
|
|
|
content: "确定删除此条规格吗?", |
|
|
|
|
|
success: function(res) { |
|
|
|
|
|
item.saleDetailDTOList[index].stockLogList1.splice(item.saleDetailDTOList[index] |
|
|
|
|
|
.stockLogList1[index1], 1) |
|
|
|
|
|
that.carList = item.saleDetailDTOList |
|
|
|
|
|
that.setSaleDetail(); |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
//编辑挂单信息 |
|
|
//编辑挂单信息 |
|
|
setDetail(){ |
|
|
setDetail() { |
|
|
this.tui.request("/app/sale/updateOrder", "POST", { |
|
|
this.tui.request("/app/sale/updateOrder", "POST", { |
|
|
saleName:this.value, |
|
|
saleName: this.value, |
|
|
id:this.list.id, |
|
|
id: this.list.id, |
|
|
remark:this.voiceText |
|
|
remark: this.voiceText |
|
|
}, false, false).then((res) => { |
|
|
}, false, false).then((res) => { |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
this.tui.toast("编辑成功") |
|
|
this.tui.toast("编辑成功") |
|
|
@ -534,9 +597,15 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
//选择是零售价还是批发价 |
|
|
//选择是零售价还是批发价 |
|
|
checkPay(price){ |
|
|
checkPay(price) { |
|
|
this.purchasePrice = price; |
|
|
this.purchasePrice = price; |
|
|
this.$refs.payDialog.close() |
|
|
this.$refs.payDialog.close() |
|
|
|
|
|
}, |
|
|
|
|
|
//带参数跳转到开单页 |
|
|
|
|
|
goSaleGoods() { |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: '/pages/inventory/goodsList1' |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@ -545,7 +614,7 @@ |
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
button { |
|
|
button { |
|
|
color: #ffffff; |
|
|
color: #ffffff; |
|
|
background: #5fd9ee; |
|
|
background: linear-gradient(90deg, #60F3FF, #088FEB); |
|
|
width: 90%; |
|
|
width: 90%; |
|
|
margin-top: 20upx; |
|
|
margin-top: 20upx; |
|
|
} |
|
|
} |
|
|
@ -574,8 +643,8 @@ |
|
|
|
|
|
|
|
|
.name { |
|
|
.name { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
display: flex; |
|
|
display: flex; |
|
|
float: left; |
|
|
float: left; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.del-icon { |
|
|
.del-icon { |
|
|
@ -630,7 +699,10 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.specs-name { |
|
|
.specs-name { |
|
|
|
|
|
display: flex; |
|
|
padding-bottom: 20rpx; |
|
|
padding-bottom: 20rpx; |
|
|
|
|
|
height: 60rpx; |
|
|
|
|
|
line-height: 60rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.order-name { |
|
|
.order-name { |
|
|
@ -638,6 +710,7 @@ |
|
|
font-size: 32rpx; |
|
|
font-size: 32rpx; |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
line-height: 80rpx; |
|
|
line-height: 80rpx; |
|
|
|
|
|
|
|
|
img { |
|
|
img { |
|
|
height: 32rpx; |
|
|
height: 32rpx; |
|
|
width: 32rpx; |
|
|
width: 32rpx; |
|
|
@ -722,59 +795,79 @@ |
|
|
margin: 0 auto; |
|
|
margin: 0 auto; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.sale-name { |
|
|
|
|
|
width: 300rpx; |
|
|
|
|
|
height: 80rpx; |
|
|
|
|
|
padding: 0 20rpx; |
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.btn-list { |
|
|
.btn-list { |
|
|
flex: 1; |
|
|
// flex: 1; |
|
|
} |
|
|
} |
|
|
.shop-popup-content{ |
|
|
|
|
|
|
|
|
.shop-popup-content { |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
padding: 15px; |
|
|
padding: 15px; |
|
|
height: 1200rpx; |
|
|
height: 1200rpx; |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
} |
|
|
} |
|
|
.shop-popup-title{ |
|
|
|
|
|
|
|
|
.shop-popup-title { |
|
|
display: flex; |
|
|
display: flex; |
|
|
height: 180rpx; |
|
|
height: 180rpx; |
|
|
border-bottom: 1px solid #eee; |
|
|
border-bottom: 1px solid #eee; |
|
|
margin-top: 20rpx; |
|
|
margin-top: 20rpx; |
|
|
} |
|
|
} |
|
|
.shop-popup-title-left{ |
|
|
|
|
|
|
|
|
.shop-popup-title-left { |
|
|
width: 150rpx; |
|
|
width: 150rpx; |
|
|
height: 150rpx; |
|
|
height: 150rpx; |
|
|
} |
|
|
} |
|
|
.shop-popup-title-right{ |
|
|
|
|
|
|
|
|
.shop-popup-title-right { |
|
|
width: 400rpx; |
|
|
width: 400rpx; |
|
|
margin-left: 30rpx; |
|
|
margin-left: 30rpx; |
|
|
} |
|
|
} |
|
|
.shop-popup-title-right-box{ |
|
|
|
|
|
|
|
|
.shop-popup-title-right-box { |
|
|
height: 50rpx; |
|
|
height: 50rpx; |
|
|
line-height: 50rpx; |
|
|
line-height: 50rpx; |
|
|
} |
|
|
} |
|
|
.shop-checkList{ |
|
|
|
|
|
|
|
|
.shop-checkList { |
|
|
display: flex; |
|
|
display: flex; |
|
|
height: 50rpx; |
|
|
height: 50rpx; |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
line-height: 50rpx; |
|
|
line-height: 50rpx; |
|
|
margin: 20rpx 0; |
|
|
margin: 20rpx 0; |
|
|
} |
|
|
} |
|
|
.shop-checkList-box{ |
|
|
|
|
|
|
|
|
.shop-checkList-box { |
|
|
height: 50rpx; |
|
|
height: 50rpx; |
|
|
width: 60%; |
|
|
width: 60%; |
|
|
} |
|
|
} |
|
|
.shop-popup-bottom{ |
|
|
|
|
|
|
|
|
.shop-popup-bottom { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 100rpx; |
|
|
height: 100rpx; |
|
|
position: fixed; |
|
|
position: fixed; |
|
|
bottom: 0; |
|
|
bottom: 0; |
|
|
display: flex; |
|
|
display: flex; |
|
|
} |
|
|
} |
|
|
.shop-popup-bottom-left{ |
|
|
|
|
|
|
|
|
.shop-popup-bottom-left { |
|
|
width: 50%; |
|
|
width: 50%; |
|
|
line-height: 80rpx; |
|
|
line-height: 80rpx; |
|
|
} |
|
|
} |
|
|
.shop-popup-bottom-right{ |
|
|
|
|
|
|
|
|
.shop-popup-bottom-right { |
|
|
width: 50%; |
|
|
width: 50%; |
|
|
line-height: 100rpx; |
|
|
line-height: 100rpx; |
|
|
|
|
|
|
|
|
.bottom-btn { |
|
|
.bottom-btn { |
|
|
width: 70%; |
|
|
width: 70%; |
|
|
line-height: 35px; |
|
|
line-height: 35px; |
|
|
@ -787,31 +880,36 @@ |
|
|
border-radius: 70rpx; |
|
|
border-radius: 70rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.shop-popup-container{ |
|
|
|
|
|
|
|
|
.shop-popup-container { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
background: #fff; |
|
|
background: #fff; |
|
|
height: 50rpx; |
|
|
height: 50rpx; |
|
|
} |
|
|
} |
|
|
.shop-purchase-price{ |
|
|
|
|
|
|
|
|
.shop-purchase-price { |
|
|
display: flex; |
|
|
display: flex; |
|
|
line-height: 40px; |
|
|
line-height: 40px; |
|
|
height: 80rpx; |
|
|
height: 80rpx; |
|
|
width: 95%; |
|
|
width: 95%; |
|
|
margin: 20rpx auto; |
|
|
margin: 20rpx auto; |
|
|
} |
|
|
} |
|
|
.shop-title-fur{ |
|
|
|
|
|
|
|
|
.shop-title-fur { |
|
|
width: 95%; |
|
|
width: 95%; |
|
|
height: 70rpx; |
|
|
height: 70rpx; |
|
|
margin: 0 auto; |
|
|
margin: 0 auto; |
|
|
} |
|
|
} |
|
|
.shop-name{ |
|
|
|
|
|
|
|
|
.shop-name { |
|
|
font-size: 30rpx; |
|
|
font-size: 30rpx; |
|
|
width: 50%; |
|
|
width: 50%; |
|
|
float: left; |
|
|
float: left; |
|
|
height: 70rpx; |
|
|
height: 70rpx; |
|
|
line-height: 70rpx; |
|
|
line-height: 70rpx; |
|
|
} |
|
|
} |
|
|
.shop-attrs{ |
|
|
|
|
|
|
|
|
.shop-attrs { |
|
|
text { |
|
|
text { |
|
|
display: inline-block; |
|
|
display: inline-block; |
|
|
border: 1px solid #5fd9ee; |
|
|
border: 1px solid #5fd9ee; |
|
|
@ -829,12 +927,14 @@ |
|
|
color: #fff; |
|
|
color: #fff; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.shop-popup-title-left img { |
|
|
.shop-popup-title-left img { |
|
|
width: 150rpx; |
|
|
width: 150rpx; |
|
|
height: 150rpx; |
|
|
height: 150rpx; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
.popup-pay-content{ |
|
|
|
|
|
|
|
|
.popup-pay-content { |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
justify-content: center; |
|
|
padding: 15px; |
|
|
padding: 15px; |
|
|
@ -842,12 +942,14 @@ |
|
|
height: auto; |
|
|
height: auto; |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.popup-pay-title { |
|
|
.popup-pay-title { |
|
|
font-size: 36rpx; |
|
|
font-size: 36rpx; |
|
|
font-weight: bold; |
|
|
font-weight: bold; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
position: relative; |
|
|
position: relative; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.popup-pay-container { |
|
|
.popup-pay-container { |
|
|
margin-top: 20rpx; |
|
|
margin-top: 20rpx; |
|
|
height: 100rpx; |
|
|
height: 100rpx; |
|
|
|