diff --git a/rc-busness/ajax/getData.js b/rc-busness/ajax/getData.js index a2a15752..32a02c8c 100644 --- a/rc-busness/ajax/getData.js +++ b/rc-busness/ajax/getData.js @@ -80,9 +80,8 @@ export const postCourseId = (productCode,buyCount,memberId, mobile,productImg,pr /** * 删除购物车 */ -export const deleteCart = (memberId, productCode) => { +export const deleteCart = ( productCode) => { var data = { - memberId: memberId, productCode:productCode } return fetch('cancelCartProductInfo',data,'POST') diff --git a/rc-busness/assets/css/global.less b/rc-busness/assets/css/global.less index 4a21e7a4..2ccdddb9 100644 --- a/rc-busness/assets/css/global.less +++ b/rc-busness/assets/css/global.less @@ -764,7 +764,15 @@ picture { max-width: 920px; } } +.pop_coupon{ + max-width: 440px; + width: 100%; + margin: 0 auto; + .el-dialog{ + width: 100%; + } +} #tns2-iw { height: 90px; } @@ -789,6 +797,7 @@ picture { .el-dialog__title { color: #e1001a; + font-weight: bold; } } diff --git a/rc-busness/assets/css/producted.less b/rc-busness/assets/css/producted.less index 9a06dab2..630cf207 100644 --- a/rc-busness/assets/css/producted.less +++ b/rc-busness/assets/css/producted.less @@ -1,3 +1,15 @@ +.pop_coupon{ + max-width: 440px; + width: 100%; + .el-dialog{ + width: 100%; + margin: 0 auto; + } + .rs-dis{ + max-height: 290px; + overflow-y: auto; + } +} .ts-product-detail{ i { font-style: normal; @@ -185,7 +197,7 @@ .rc-right { display: flex; flex-direction: column; - padding-left: 20px; + padding: 5px 10px; justify-content: center; height: 100%; i { @@ -425,10 +437,12 @@ height: 100%; i { font-style: normal; - font-size: 12px; + font-size: 18px; + font-weight: bold; } span { - font-size: 26px; + font-size: 45px; + font-weight: bold; } strong { font-style: normal; @@ -440,7 +454,7 @@ .rc-right { display: flex; flex-direction: column; - padding-left: 20px; + padding: 5px 10px; justify-content: center; height: 100%; i { diff --git a/rc-busness/components/address.vue b/rc-busness/components/address.vue index 615bb2f0..6aad0bf2 100644 --- a/rc-busness/components/address.vue +++ b/rc-busness/components/address.vue @@ -1,61 +1,41 @@ @@ -80,36 +60,11 @@ export default { provinceId: "", cityId: "", districtId: "", - list: [ - { - id: 1, - name: "张三", - tel: "13000000000", - address: "浙江省杭州市西湖区文三路 138 号", - isDefault: true, - }, - { - id: 2, - name: "李四", - tel: "1310000000", - address: "浙江省杭州市拱墅区莫干山路 50 号", - }, - { - id: 3, - name: "李四", - tel: "1310000000", - address: "浙江省杭州市拱墅区莫干山路 50 号", - }, - ], }; }, props: ["editAddressData"], methods: { onGetMenu(values) { - // console.log(values, +"111111"); - // let user = values[2].id; - // user = user.split("-"); - if (this.id == "") { this.provinceId = values[0].id; this.cityId = values[1].id; @@ -127,7 +82,6 @@ export default { }, register() { - console.log(this.tel); if (!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.tel) || this.tel === "") { this.$message({ type: "warning", @@ -200,33 +154,6 @@ export default { }); } }, - - editInfo() { - if (this.editAddressData.saveType == "edit") { - this.title = "修改收货地址"; - this.tel = this.editAddressData.tel; - this.alladdress = this.editAddressData.detailAddress; - this.userid = this.editAddressData.memberId; - this.userpeople = this.editAddressData.name; - this.provinceId = this.editAddressData.provinceId; - this.cityId = this.editAddressData.cityId; - this.districtId = this.editAddressData.districtId; - this.defaultValues = [ - { - id: this.provinceId, - name: this.editAddressData.provinceName, - }, - { - id: this.cityId, - name: this.editAddressData.cityName, - }, - { - id: this.districtId, - name: this.editAddressData.districtName, - }, - ]; - } - }, }, components: { addressInput, @@ -276,6 +203,81 @@ export default { diff --git a/rc-busness/pages/myorder/userrecord.vue b/rc-busness/pages/myorder/userrecord.vue index bd9a35bf..7ff2c4c2 100644 --- a/rc-busness/pages/myorder/userrecord.vue +++ b/rc-busness/pages/myorder/userrecord.vue @@ -106,11 +106,13 @@ --> +