From 55479046ed3346c5fe32e9761ff3e7c5a9206eac Mon Sep 17 00:00:00 2001
From: youmengting <2080639302@qq.com>
Date: Fri, 21 Apr 2023 10:33:21 +0800
Subject: [PATCH] update
---
App.vue | 13 +-
Utils/physicalObject.js | 33 +-
components/dataList/dataList.vue | 553 ----------
components/dataList/emptyImage.js | 3 -
components/pick-regions/pick-regions.vue | 1 +
pages.json | 14 +-
pages/address/addNewAddress/addNewAddress.vue | 10 +-
pages/address/addNewAddress/demo.vue | 350 -------
pages/address/address.vue | 354 ++++---
pages/classify/cart-choose/cart-choose.vue | 43 +-
pages/classify/cart-choose/data.json | 46 -
pages/classify/cart/cart.vue | 199 ++--
pages/classify/goods-list/goods-list.vue | 4 +-
pages/classify/goods-search/data2.json | 582 -----------
pages/classify/goods-search/goods-search.vue | 11 +-
pages/classify/goodsDetail/data.json | 46 -
pages/classify/goodsDetail/goodsDetail.vue | 876 ++++++++--------
pages/classify/order/orderDetail.vue | 54 +-
pages/classify/order/orderList.vue | 2 +-
pages/classify/order/pay.vue | 600 ++++++++---
pages/classify/order/paymentResult.vue | 70 +-
.../detail-popup/detail-popup.vue | 497 +++++----
pages/settleAccounts/settleAccounts.vue | 987 ++++++++++++++----
pages/tabBar/classify/classify.vue | 3 +-
pages/user/order_list/order_list.vue | 78 +-
uni.scss | 8 +
26 files changed, 2512 insertions(+), 2925 deletions(-)
delete mode 100644 components/dataList/dataList.vue
delete mode 100644 components/dataList/emptyImage.js
delete mode 100644 pages/address/addNewAddress/demo.vue
delete mode 100644 pages/classify/cart-choose/data.json
delete mode 100644 pages/classify/goods-search/data2.json
delete mode 100644 pages/classify/goodsDetail/data.json
diff --git a/App.vue b/App.vue
index a4a6c6b..7448537 100644
--- a/App.vue
+++ b/App.vue
@@ -66,8 +66,7 @@
pelletoilList: '',
//分享领取次数
shareNum:0,
- // 购物车数量
- cartNum:0,
+
},
onLaunch: function() {},
@@ -231,15 +230,7 @@
}
}
})
- uni.getStorage({
- key: 'cartNum',
- success(e) {
- if (e.data) {
- that.globalData.cartNum = e.data;
- console.log(that.globalData.cartNum,"getStorage")
- }
- }
- })
+
// #endif
},
onHide: function() {}
diff --git a/Utils/physicalObject.js b/Utils/physicalObject.js
index 02c281f..58f022e 100644
--- a/Utils/physicalObject.js
+++ b/Utils/physicalObject.js
@@ -2,8 +2,13 @@ import {
POST
} from "./Request.js";
let app = getApp();
+
let base = app.globalData.url;
-// let orderbase = app.globalData.orderurl;
+
+// let base = "http://192.168.1.16:9301/crest/";
+
+let orderbase = app.globalData.orderurl;
+
// let userbase = app.globalData.userurl;
// let v1base = app.globalData.v1url;
// let brestBase = app.globalData.brestUrl;
@@ -37,8 +42,8 @@ export const insertShoppingCart = params => {
}
// 增加商品数量
-export const goodsAddNum = params => {
- return POST('GET', `${base}/shoppingCart/goodsAddNum`, params).then(res => res.data);
+export const goodsEditNum = params => {
+ return POST('GET', `${base}/shoppingCart/goodsEditNum`, params).then(res => res.data);
}
// 删除购物车商品
export const deleteShoppingCart = params => {
@@ -77,7 +82,7 @@ export const findDeliveryAddressById = params => {
// 根据id 删除收货地址
export const deleteAddress = params => {
- return POST('GET', `${base}/deliveryAddress/deleteShoppingCart`, params).then(res => res.data);
+ return POST('GET', `${base}/deliveryAddress/deleteDeliveryAddress`, params).then(res => res.data);
}
// 查询物流信息
@@ -87,4 +92,24 @@ export const getLogisticsMsg = params => {
// 根据区域查询运费和包邮价格
export const getRegionFreight = params => {
return POST('GET', `${base}/common/getRegionFreight`, params).then(res => res.data);
+}
+
+// 查询收货地址包邮金额和运费金额
+export const getAddressPrice = params => {
+ return POST('GET', `${base}/deliveryAddress/getAddressPrice`, params).then(res => res.data);
+}
+
+//查询可用优惠券
+export const getUserExclusiveDiscount = params => {
+ return POST('GET', `${base}/userDiscount/getUserExclusiveDiscount`, params).then(res => res.data);
+}
+
+//下单
+export const createOrder = params => {
+ return POST('POST', `${orderbase}/create`, params).then(res => res.data);
+}
+
+//查询用户相关内容,积分
+export const findUser = params => {
+ return POST('GET', `${base}/highUser/findUser`, params).then(res => res.data);
}
\ No newline at end of file
diff --git a/components/dataList/dataList.vue b/components/dataList/dataList.vue
deleted file mode 100644
index aa305c2..0000000
--- a/components/dataList/dataList.vue
+++ /dev/null
@@ -1,553 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ refreshText[refreshStatus] }}
-
-
-
-
-
-
-
- 加载中...
-
-
-
-
-
- {{ emptyText }}
-
-
-
-
-
-
-
- {{ loadText[loadStatus] }}
-
-
-
-
-
-
-
-
-
-
diff --git a/components/dataList/emptyImage.js b/components/dataList/emptyImage.js
deleted file mode 100644
index e511579..0000000
--- a/components/dataList/emptyImage.js
+++ /dev/null
@@ -1,3 +0,0 @@
-export default {
- data: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAMAAABOo35HAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABEZVhJZk1NACoAAAAIAAGHaQAEAAAAAQAAABoAAAAAAAOgAQADAAAAAQABAACgAgAEAAAAAQAAASygAwAEAAAAAQAAASwAAAAA2GCC5wAAAvFQTFRFR3BM7fD49Pf78PP3////9/f79/f7v8vf8PT35+716e305Ovx8PT44ejy+Pv85u30+/v/6fD08/P33+Xv2uPt1+Dt3uXv+/v77fD42uPs8/f71d/q7PD46u30ztro4+rx9/v73Obv8/f36fH08/f74ejy4eju0tzp097q3ujw5Ovy5+rzzNnn8/f39/v7+/v/6e708/f73OLs2OLu7fD07fD07PT44Ofx1d/q09vq5+v0v83fyNXl6e/z7vD37PD0z9no5+rxytLo0dzo+v//0tLi5+7x5+71wczgytbm2ODs8/P3+/v70d3rxMTy2+Xv5Orz6fH42uLrzNfnxuPtws3g2d7u3OPvz9fo6/H1wc3hw87i3+bzwtDi3eTw5evz5evzwMzg+vr/3OTv4+r05u3xxc7hytfm2OHqwczi3eXv3OTx2ePt3eXx3eTy2eLu2+Lw3eXz3eXy3OTx3OXx5evzwM/h6/D32uPw0dvo4Ojx2uLv1+Dp2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wCH+TgqIQXMmcujWBu6D/o6ey4+3Ev5UqlYKhbzxXy+cd84GBehHxvncbjEQrFQaDzE85hLjadA6vPdE713dWA7HE6FU2DhcCwcAwtfAmP1WL2eql9eUw87sXujH/B6vXPeOTBvW+T8incFrH2+r/UDBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQ/zf/AWlElrMd+pdyAAAAAElFTkSuQmCC'
-}
\ No newline at end of file
diff --git a/components/pick-regions/pick-regions.vue b/components/pick-regions/pick-regions.vue
index 0e584dc..1c9cb75 100644
--- a/components/pick-regions/pick-regions.vue
+++ b/components/pick-regions/pick-regions.vue
@@ -68,6 +68,7 @@
}else if(region&®ion.length == 6){
this.handleDefaultRegion(region)
}else{
+ console.log(region)
console.warn('defaultRegion非有效格式')
}
},
diff --git a/pages.json b/pages.json
index 0c85258..dc99681 100644
--- a/pages.json
+++ b/pages.json
@@ -117,13 +117,13 @@
// "enablePullDownRefresh": false
// }
// },
- // {
- // "path": "pages/classify/order/pay",
- // "style": {
- // "navigationBarTitleText": "收银台页",
- // "enablePullDownRefresh": false
- // }
- // },
+ {
+ "path": "pages/classify/order/pay",
+ "style": {
+ "navigationBarTitleText": "收银台页",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path": "pages/classify/order/paymentResult",
"style": {
diff --git a/pages/address/addNewAddress/addNewAddress.vue b/pages/address/addNewAddress/addNewAddress.vue
index 0ed682c..17de1d3 100644
--- a/pages/address/addNewAddress/addNewAddress.vue
+++ b/pages/address/addNewAddress/addNewAddress.vue
@@ -10,7 +10,7 @@
联系电话*
-
@@ -147,9 +147,10 @@
address: resData.address,
is_default: resData.whetherDefault,
}
- console.log(this.defaultRegionCode)
- this.defaultRegionCode = resData.regionId
- console.log(this.defaultRegionCode)
+ // console.log(this.defaultRegionCode)
+ this.defaultRegionCode = resData.regionId;
+ this.regionId = resData.regionId;
+ // console.log(this.defaultRegionCode)
}else{
uni.showToast({
@@ -209,7 +210,6 @@
let isVali = this.fields_check(this.userAddress, validation);
if(isVali){
-
if(this.dataParams.id){
this.updateAddress(this.dataParams.id)
}else{
diff --git a/pages/address/addNewAddress/demo.vue b/pages/address/addNewAddress/demo.vue
deleted file mode 100644
index 9a3877d..0000000
--- a/pages/address/addNewAddress/demo.vue
+++ /dev/null
@@ -1,350 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/address/address.vue b/pages/address/address.vue
index 4e3b159..322a935 100644
--- a/pages/address/address.vue
+++ b/pages/address/address.vue
@@ -1,135 +1,152 @@
-
-
-
+
+
+
-
-
-
- {{item.consignee}}
- {{item.phone}}
-
-
- 地址:{{item.regionName +" " +item.address}}
-
-
-
-
-
-
-
- 默认地址
+
+
+
+ {{item.consignee}}
+ {{item.phone}}
+
+
+ 地址:{{item.regionName +" " +item.address}}
+
+
-
-
-
+
+
+
+
+ 默认地址
+
+
+
+
+
+
-
-
-
-
+
+
添加新地址
- 导入系统地址
+
\ No newline at end of file
+
diff --git a/pages/classify/cart-choose/cart-choose.vue b/pages/classify/cart-choose/cart-choose.vue
index c138c39..29a1a1a 100644
--- a/pages/classify/cart-choose/cart-choose.vue
+++ b/pages/classify/cart-choose/cart-choose.vue
@@ -16,7 +16,7 @@
-
+
@@ -69,7 +69,7 @@
加入购物车
- 领券购买
+ 立即购买
@@ -77,6 +77,11 @@
加入购物车
+
+
+ 立即购买
+
+
@@ -108,6 +113,10 @@
status:{
type:Number,
default:0,
+ },
+ goodsDetail:{
+ type:Object,
+ default:{}
}
},
components:{
@@ -157,7 +166,7 @@
goodsId:this.specificationList[this.chooseIndex].goodsId,
num:this.chooseNumber,
sku:this.specificationList[this.chooseIndex].id,
- whetherCheck:true
+ whetherCheck:false
}
insertShoppingCart(params).then(async res=>{
@@ -175,7 +184,7 @@
duration: 2000
})
-
+ this.chooseNumber = 1;
this.$emit("close")
@@ -184,9 +193,29 @@
},
- //领券购买
+ //立即购买
toBuy(){
- this.$emit("close")
+
+ console.log(this.specificationList[this.chooseIndex],this.goodsDetail)
+
+ let _this = this
+ let obj =[{
+ goodsId:_this.specificationList[this.chooseIndex].goodsId,
+ img: _this.specificationList[this.chooseIndex].showImg,
+ num: _this.chooseNumber,
+ price: _this.specificationList[this.chooseIndex].price,
+ sku: _this.specificationList[this.chooseIndex].id,
+ skuName: _this.specificationList[this.chooseIndex].name,
+ title: _this.goodsDetail.name,
+ originalPrice:_this.specificationList[this.chooseIndex].originalPrice
+ }]
+ obj = JSON.stringify(obj)
+
+ uni.navigateTo({
+ url: '/pages/settleAccounts/settleAccounts?goodsList='+obj
+ })
+
+ // this.$emit("close")
},
//
select(index){
diff --git a/pages/classify/cart-choose/data.json b/pages/classify/cart-choose/data.json
deleted file mode 100644
index 55d4dcd..0000000
--- a/pages/classify/cart-choose/data.json
+++ /dev/null
@@ -1,46 +0,0 @@
-
- {
- "id": "2",
- "realstore_id": "0",
- "realstore_goods_id": "0",
- "shop_id": "1",
- "shop_user_id": "1",
- "shop_category_id": "1",
- "shop_settle_price": "0.00",
- "shop_settle_rate": "0.00",
- "brand_id": "2",
- "site_type": "-1",
- "title": "苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G",
- "title_color": "",
- "simple_desc": "1.芯片功能强大 iPhone芯片的更新频率比友商少,但每次iPhone芯片更新时,都会成为关注和追赶的对象。",
- "model": "iPhone 6 Plus",
- "place_origin": "0",
- "inventory": "7983",
- "inventory_unit": "步",
- "images": ["https://gw.alicdn.com/bao/uploaded/i2/708446530/O1CN01WZY06s1y6mybMkFwh_!!708446530.jpg_300x300q90.jpg_.webp","https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451274847894.jpg"],
- "original_price": "4500.00-6800.00",
- "min_original_price": "4500.00",
- "max_original_price": "6800.00",
- "price": "4500.00-6800.00",
- "min_price": "4500.00",
- "max_price": "6800.00",
- "give_integral": "30",
- "buy_min_number": "1",
- "buy_max_number": "0",
- "is_deduction_inventory": "1",
- "is_shelves": "1",
- "content_web": "
进入指定页面>>
打开一个a标签地址
进入博客
",
- "photo_count": "2",
- "sales_count": "266",
- "access_count": "13333",
- "is_exist_many_spec": "1",
- "spec_base": "",
- "plugins_membershiplevelvip_price_extends": "",
- "seo_title": "",
- "seo_keywords": "",
- "seo_desc": "",
- "is_delete_time": "0",
- "add_time": "2019-01-14 15:40:24",
- "upd_time": "2023-03-24 17:46:26"
-
- }
diff --git a/pages/classify/cart/cart.vue b/pages/classify/cart/cart.vue
index df4e7d0..25cc02c 100644
--- a/pages/classify/cart/cart.vue
+++ b/pages/classify/cart/cart.vue
@@ -1,27 +1,27 @@
-
-
+
+
-
+
-
-
+
@@ -33,14 +33,21 @@
-
-
- ¥{{item.price}}
+
+
+
+ ¥{{item.price}}
+
+
-
+
+
-
+
@@ -75,7 +82,11 @@
退出编辑
+
+
合计:¥{{priceAll}}
+
+
结算
@@ -103,7 +114,7 @@
import uniNumberBox from '@/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue'
import {
getShoppingCartList,
- goodsAddNum,
+ goodsEditNum,
deleteShoppingCart
} from '@/Utils/physicalObject.js'
@@ -123,20 +134,24 @@
},
//
- swipe_options: [{
- isCheck: false,
- text: "收藏",
- icon: ' shoucang32 ',
- style: {
- backgroundColor: '#f6c133'
- }
- }, {
- text: '删除',
- icon: ' delete ',
- style: {
- backgroundColor: '#E64340'
- }
- }],
+ swipe_options: [
+ {
+ text: '删除',
+ icon: ' delete ',
+ style: {
+ backgroundColor: '#E64340'
+ }
+ },
+ // {
+ // isCheck: false,
+ // text: "收藏",
+ // icon: ' shoucang32 ',
+ // style: {
+ // backgroundColor: '#f6c133'
+ // }
+ // },
+
+ ],
swipe_item_index: null,
numberValue: 0,
cartList: [],
@@ -154,8 +169,8 @@
"uni-number-box": uniNumberBox
},
computed: {
+ //现价金额
priceAll() {
- //总计金额
var str = 0;
for (var i = 0; i < this.cartList.length; i++) {
if (this.cartList[i].whetherCheck) {
@@ -163,15 +178,22 @@
}
}
return str;
+ },
+ // 原价
+ priceOrigin(){
+ var str = 0;
+ for (var i = 0; i < this.cartList.length; i++) {
+ if (this.cartList[i].whetherCheck) {
+ str += this.cartList[i].num * this.cartList[i].originalPrice;
+ }
+ }
+ return str;
+
+
}
},
onLoad() {
- // this.cartList=[
- // {id:111,name:"小香风",isFailure:true,img:"https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451274847894.jpg",title:"夏季复古ins风格网红SP同款",price:20,num:1},
- // {id:222,name:"小香风",isFailure:false,img:"https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451274847894.jpg",title:"夏季复古ins风格网红SP同款",price:30,num:1},
- // {id:333,name:"小香风",isFailure:false,img:"https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451274847894.jpg",title:"夏季复古ins风格网红SP同款",price:20,num:1},
- // {id:444,name:"小香风",isFailure:false,img:"https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451274847894.jpg",title:"夏季复古ins风格网红SP同款",price:30,num:1},
- // ]
+
// this.cartList.map(item=>{
// this.$set(item, 'checked', false);
// })
@@ -187,7 +209,7 @@
console.log(res.return_data)
this.cartList = res.return_data;
this.allCheckInit();
-
+
} else {
uni.showToast({
title: res.return_msg,
@@ -201,7 +223,7 @@
this.isEdit = !this.isEdit;
if (!this.isEdit) { //退出编辑
this.cartList.map(item => {
- if (item.whetherCheck && item.isFailure) {
+ if (item.whetherCheck && item.loseEfficacy) {
item.whetherCheck = false;
}
})
@@ -220,8 +242,8 @@
this.allCheck.whetherCheck = !this.allCheck.whetherCheck;
if (this.allCheck.whetherCheck) {
this.cartList.map(item => {
- if (!this.isEdit) { //商品的全选事件
- if (!item.isFailure) {
+ if (!this.isEdit) { //商品的全选事件,loseEfficacy商品的失效,默认undefined
+ if (!item.loseEfficacy) {
item.whetherCheck = true
}
} else { //编辑的全选事件
@@ -239,9 +261,9 @@
// 单个商品的选择
checkClick(item) {
item.whetherCheck = !item.whetherCheck;
-
+
if (!item.whetherCheck) {
- if (!this.isEdit && !item.isFailure) { //商品
+ if (!this.isEdit && !item.loseEfficacy) { //商品
this.allCheck.whetherCheck = false;
} else if (this.isEdit) {
this.allCheck.whetherCheck = false;
@@ -251,7 +273,7 @@
// // 判断每一个商品是否是被选择的状态
// const goods = this.cartList.every(item => {
// if(!this.isEdit){//商品
- // if(item.isFailure){
+ // if(item.loseEfficacy){
// return true;
// }
// }
@@ -269,19 +291,19 @@
}
},
allCheckInit() {
-
- if(this.cartList.length == 0){
+
+ if (this.cartList.length == 0) {
this.allCheck.whetherCheck = false;
return
}
-
+
// 判断每一个商品是否是被选择的状态
const goods = this.cartList.every(item => {
- // if (!this.isEdit) { //商品
- // if (item.isFailure) {
- // return true;
- // }
- // }
+ if (!this.isEdit) { //商品
+ if (item.loseEfficacy) {
+ return true;
+ }
+ }
return item.whetherCheck === true
})
if (goods) {
@@ -289,7 +311,7 @@
} else {
this.allCheck.whetherCheck = false
}
- // console.log(this.allCheck.whetherCheck,goods)
+
},
// 判断购物车内是否有商品
@@ -324,7 +346,7 @@
return
} else {
// console.log(select.join(), "要移除的商品id")
- let str=select.join();
+ let str = select.join();
this.noMoreLess(str)
}
@@ -335,8 +357,12 @@
if (!this.isHaveGoods()) return;
if (this.priceAll > 0) {
+ let selestArr = this.cartList.filter(item=>item.whetherCheck == true)
+ selestArr = JSON.stringify(selestArr)
+
+ // console.log(selestArr)
uni.navigateTo({
- url: '/pages/settleAccounts/settleAccounts'
+ url: '/pages/settleAccounts/settleAccounts?goodsList='+selestArr
})
} else {
uni.showToast({
@@ -348,10 +374,10 @@
},
// 滑动点击
- swipe_opt_event(e,id) {
+ swipe_opt_event(e, id) {
console.log(e, "dianji")
- if (e.index == 0) { //收藏
+ if (e.index == 1) { //收藏
// console.log(e.content.isCheck)
// e.content.isCheck=!e.content.isCheck
@@ -365,16 +391,11 @@
return
}
- if (e.index == 1) { //删除
-
- this.noMoreLess(id+"")
-
-
- // this.showAction = 'right';
-
+ if (e.index == 0) { //删除
+ this.noMoreLess(id + "")
return
}
-
+
},
// 滑动事件
swipe_change(e, id) {
@@ -389,25 +410,27 @@
content: '确定把该商品移除购物车吗?',
success: function(res) {
if (res.confirm) {
- console.log('用户点击确定,要删除的id',ids);
- let params={ids:ids};
- deleteShoppingCart(params).then(res=>{
- let title ;
+ console.log('用户点击确定,要删除的id', ids);
+ let params = {
+ ids: ids
+ };
+ deleteShoppingCart(params).then(res => {
+ let title;
if (res.return_code == '000000') {
- title = res.return_data;
- }else{
+ title = res.return_data;
+ } else {
title = res.return_msg;
}
uni.showToast({
title: title,
icon: 'none',
duration: 2000
- })
-
+ })
+
_this.initData();
-
+
})
-
+
} else if (res.cancel) {
console.log('用户点击取消');
@@ -416,15 +439,16 @@
});
},
-
+
changeNumValue(v, id) {
- // console.log(v,id)
+ console.log(v,id)
// console.log(this.cartList)
let params = {
- id: id
+ id: id,
+ num:v
}
- goodsAddNum(params).then(res => {
-
+
+ goodsEditNum(params).then(res => {
if (res.return_code == '000000') {
uni.showToast({
title: res.return_data,
@@ -432,12 +456,26 @@
duration: 2000
})
} else {
+ //增加数量失败
+ // this.cartList.map(item=>{
+ // if(item.id == id){
+ // item.num = 1;
+ // }
+ // })
+
+
+ //重新刷新数据
+ this.initData();
+
uni.showToast({
title: res.return_msg,
icon: 'none',
duration: 2000
})
}
+
+
+
})
}
@@ -516,8 +554,13 @@
}
+.pont-event{
+ pointer-events: none;
+}
+
// 失效
- .isFailure {
+ .loseEfficacy {
+
.cart-img {
position: relative;
diff --git a/pages/classify/goods-list/goods-list.vue b/pages/classify/goods-list/goods-list.vue
index 73246aa..875037a 100644
--- a/pages/classify/goods-list/goods-list.vue
+++ b/pages/classify/goods-list/goods-list.vue
@@ -34,7 +34,7 @@
{{item.name}}
- {{item.listDescribe}}
+ {{item.listDescribe || ''}}
@@ -93,7 +93,7 @@
{{item.name}}
- {{item.listDescribe}}
+ {{item.listDescribe || ''}}
diff --git a/pages/classify/goods-search/data2.json b/pages/classify/goods-search/data2.json
deleted file mode 100644
index 8ae5059..0000000
--- a/pages/classify/goods-search/data2.json
+++ /dev/null
@@ -1,582 +0,0 @@
-[
- {
- "id": "11",
- "realstore_id": "0",
- "realstore_goods_id": "0",
- "shop_id": "0",
- "shop_user_id": "0",
- "shop_category_id": "0",
- "shop_settle_price": "0.00",
- "shop_settle_rate": "0.00",
- "brand_id": "3",
- "site_type": "3",
- "title": "夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙",
- "title_color": "",
- "simple_desc": "",
- "model": "",
- "place_origin": "0",
- "inventory": "2659",
- "inventory_unit": "件",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547455566118614.jpg",
- "original_price": "160.00-258.00",
- "min_original_price": "160.00",
- "max_original_price": "258.00",
- "price": "160.00-258.00",
- "min_price": "160.00",
- "max_price": "258.00",
- "give_integral": "0",
- "buy_min_number": "1",
- "buy_max_number": "0",
- "is_deduction_inventory": "1",
- "is_shelves": "1",
- "content_web": "【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦
XS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~
大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~
肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~
",
- "photo_count": "4",
- "sales_count": "405",
- "access_count": "20298",
- "video": "https://d1.shopxo.vip/static/upload/video/goods/2022/05/26/1653551880214151.mp4",
- "is_exist_many_spec": "1",
- "spec_base": "",
- "plugins_membershiplevelvip_price_extends": "",
- "seo_title": "",
- "seo_keywords": "",
- "seo_desc": "",
- "is_delete_time": "0",
- "add_time": "2019-01-14 16:48:20",
- "upd_time": "2023-03-24 11:29:13",
- "price_container": {
- "price": "160.00-258.00",
- "min_price": "160.00",
- "max_price": "258.00",
- "original_price": "268.00-422.00",
- "min_original_price": "268.00",
- "max_original_price": "422.00"
- },
- "goods_url": "/pages/goods-detail/goods-detail?id=11",
- "images_old": "/static/upload/images/goods/2019/01/14/1547455566118614.jpg",
- "video_old": "/static/upload/video/goods/2022/05/26/1653551880214151.mp4",
- "place_origin_name": null,
- "brand_name": "阿迪达斯",
- "specifications": {
- "choose": [
- {
- "id": "566",
- "goods_id": "11",
- "value": [
- {
- "name": "M",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547455907486857.jpg",
- "is_only_level_one": 1,
- "inventory": "885"
- },
- {
- "name": "L",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547455907256518.jpg",
- "is_only_level_one": 1,
- "inventory": "887"
- },
- {
- "name": "XL",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547455601528614.jpg",
- "is_only_level_one": 1,
- "inventory": "887"
- }
- ],
- "name": "尺码",
- "add_time": "2023-03-27 13:43:53"
- }
- ]
- },
- "show_field_original_price_text": "原价",
- "show_field_price_text": "活动价",
- "plugins_view_panel_data": [],
- "plugins_view_icon_data": []
- },
- {
- "id": "1",
- "realstore_id": "0",
- "realstore_goods_id": "0",
- "shop_id": "1",
- "shop_user_id": "1",
- "shop_category_id": "1",
- "shop_settle_price": "0.00",
- "shop_settle_rate": "0.00",
- "brand_id": "1",
- "site_type": "-1",
- "title": "MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD",
- "title_color": "",
- "simple_desc": "国产知名品牌,国民手机",
- "model": "",
- "place_origin": "0",
- "inventory": "882",
- "inventory_unit": "步",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547450781101144.jpg",
- "original_price": "2100.00",
- "min_original_price": "2100.00",
- "max_original_price": "2100.00",
- "price": "2100.00",
- "min_price": "2100.00",
- "max_price": "2100.00",
- "give_integral": "10",
- "buy_min_number": "1",
- "buy_max_number": "0",
- "is_deduction_inventory": "1",
- "is_shelves": "1",
- "content_web": "
",
- "photo_count": "2",
- "sales_count": "398",
- "access_count": "19933",
- "video": "",
- "is_exist_many_spec": "0",
- "spec_base": "",
- "plugins_membershiplevelvip_price_extends": "",
- "seo_title": "",
- "seo_keywords": "",
- "seo_desc": "",
- "is_delete_time": "0",
- "add_time": "2019-01-14 15:28:41",
- "upd_time": "2023-03-26 00:59:12",
- "price_container": {
- "price": "2100.00",
- "min_price": "2100.00",
- "max_price": "2100.00",
- "original_price": "3200.00",
- "min_original_price": "3200.00",
- "max_original_price": "3200.00"
- },
- "goods_url": "/pages/goods-detail/goods-detail?id=1",
- "images_old": "/static/upload/images/goods/2019/01/14/1547450781101144.jpg",
- "video_old": "",
- "place_origin_name": null,
- "brand_name": "强生",
- "specifications": {
- "choose": []
- },
- "show_field_original_price_text": "原价",
- "show_field_price_text": "活动价",
- "plugins_view_panel_data": [],
- "plugins_view_icon_data": []
- },
- {
- "id": "2",
- "realstore_id": "0",
- "realstore_goods_id": "0",
- "shop_id": "1",
- "shop_user_id": "1",
- "shop_category_id": "1",
- "shop_settle_price": "0.00",
- "shop_settle_rate": "0.00",
- "brand_id": "2",
- "site_type": "-1",
- "title": "苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G",
- "title_color": "",
- "simple_desc": "1.芯片功能强大 iPhone芯片的更新频率比友商少,但每次iPhone芯片更新时,都会成为关注和追赶的对象。",
- "model": "iPhone 6 Plus",
- "place_origin": "0",
- "inventory": "7983",
- "inventory_unit": "步",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451274847894.jpg",
- "original_price": "4500.00-6800.00",
- "min_original_price": "4500.00",
- "max_original_price": "6800.00",
- "price": "4500.00-6800.00",
- "min_price": "4500.00",
- "max_price": "6800.00",
- "give_integral": "30",
- "buy_min_number": "1",
- "buy_max_number": "0",
- "is_deduction_inventory": "1",
- "is_shelves": "1",
- "content_web": "进入指定页面>>
打开一个a标签地址
进入博客
",
- "photo_count": "2",
- "sales_count": "266",
- "access_count": "13330",
- "video": "https://d1.shopxo.vip/static/upload/video/goods/2019/01/14/1547458876723311.mp4",
- "is_exist_many_spec": "1",
- "spec_base": "",
- "plugins_membershiplevelvip_price_extends": "",
- "seo_title": "",
- "seo_keywords": "",
- "seo_desc": "",
- "is_delete_time": "0",
- "add_time": "2019-01-14 15:40:24",
- "upd_time": "2023-03-24 17:46:26",
- "price_container": {
- "price": "4500.00-6800.00",
- "min_price": "4500.00",
- "max_price": "6800.00",
- "original_price": "6000.00-7600.00",
- "min_original_price": "6000.00",
- "max_original_price": "7600.00"
- },
- "goods_url": "/pages/goods-detail/goods-detail?id=2",
- "images_old": "/static/upload/images/goods/2019/01/14/1547451274847894.jpg",
- "video_old": "/static/upload/video/goods/2019/01/14/1547458876723311.mp4",
- "place_origin_name": null,
- "brand_name": "佳洁士",
- "specifications": {
- "choose": [
- {
- "id": "562",
- "goods_id": "2",
- "value": [
- {
- "name": "套餐一",
- "images": ""
- },
- {
- "name": "套餐二",
- "images": ""
- }
- ],
- "name": "套餐",
- "add_time": "2023-03-27 13:43:53"
- },
- {
- "id": "563",
- "goods_id": "2",
- "value": [
- {
- "name": "金色",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451274847894.jpg"
- },
- {
- "name": "银色",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451576558478.jpg"
- }
- ],
- "name": "颜色",
- "add_time": "2023-03-27 13:43:53"
- },
- {
- "id": "564",
- "goods_id": "2",
- "value": [
- {
- "name": "32G",
- "images": ""
- },
- {
- "name": "64G",
- "images": ""
- },
- {
- "name": "128G",
- "images": ""
- }
- ],
- "name": "容量",
- "add_time": "2023-03-27 13:43:53"
- }
- ]
- },
- "show_field_original_price_text": "原价",
- "show_field_price_text": "活动价",
- "plugins_view_panel_data": [],
- "plugins_view_icon_data": []
- },
- {
- "id": "4",
- "realstore_id": "0",
- "realstore_goods_id": "0",
- "shop_id": "1",
- "shop_user_id": "1",
- "shop_category_id": "1",
- "shop_settle_price": "0.00",
- "shop_settle_rate": "0.00",
- "brand_id": "1",
- "site_type": "-1",
- "title": "Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓",
- "title_color": "",
- "simple_desc": "",
- "model": "",
- "place_origin": "0",
- "inventory": "878",
- "inventory_unit": "步",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547452474332334.jpg",
- "original_price": "1999.00",
- "min_original_price": "1999.00",
- "max_original_price": "1999.00",
- "price": "1999.00",
- "min_price": "1999.00",
- "max_price": "1999.00",
- "give_integral": "19",
- "buy_min_number": "1",
- "buy_max_number": "0",
- "is_deduction_inventory": "1",
- "is_shelves": "1",
- "content_web": "
",
- "photo_count": "2",
- "sales_count": "219",
- "access_count": "10998",
- "video": "",
- "is_exist_many_spec": "0",
- "spec_base": "",
- "plugins_membershiplevelvip_price_extends": "{\"4\":{\"min_price\":\"1600.00\",\"max_price\":\"1600.00\",\"price\":\"1600.00\"}}",
- "seo_title": "",
- "seo_keywords": "",
- "seo_desc": "",
- "is_delete_time": "0",
- "add_time": "2019-01-14 15:55:53",
- "upd_time": "2023-03-21 20:44:15",
- "price_container": {
- "price": "1999.00",
- "min_price": "1999.00",
- "max_price": "1999.00",
- "original_price": "2300.00",
- "min_original_price": "2300.00",
- "max_original_price": "2300.00"
- },
- "goods_url": "/pages/goods-detail/goods-detail?id=4",
- "images_old": "/static/upload/images/goods/2019/01/14/1547452474332334.jpg",
- "video_old": "",
- "place_origin_name": null,
- "brand_name": "强生",
- "specifications": {
- "choose": []
- },
- "show_field_original_price_text": "原价",
- "show_field_price_text": "活动价",
- "plugins_view_panel_data": [],
- "plugins_view_icon_data": []
- },
- {
- "id": "3",
- "realstore_id": "0",
- "realstore_goods_id": "0",
- "shop_id": "1",
- "shop_user_id": "1",
- "shop_category_id": "1",
- "shop_settle_price": "0.00",
- "shop_settle_rate": "0.00",
- "brand_id": "2",
- "site_type": "-1",
- "title": "Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白",
- "title_color": "",
- "simple_desc": "",
- "model": "",
- "place_origin": "0",
- "inventory": "885",
- "inventory_unit": "步",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451909951171.jpg",
- "original_price": "3888.00",
- "min_original_price": "3888.00",
- "max_original_price": "3888.00",
- "price": "3888.00",
- "min_price": "3888.00",
- "max_price": "3888.00",
- "give_integral": "20",
- "buy_min_number": "1",
- "buy_max_number": "0",
- "is_deduction_inventory": "1",
- "is_shelves": "1",
- "content_web": "
",
- "photo_count": "2",
- "sales_count": "207",
- "access_count": "10375",
- "video": "",
- "is_exist_many_spec": "0",
- "spec_base": "",
- "plugins_membershiplevelvip_price_extends": null,
- "seo_title": "",
- "seo_keywords": "",
- "seo_desc": "",
- "is_delete_time": "0",
- "add_time": "2019-01-14 15:46:47",
- "upd_time": "2023-03-27 04:16:09",
- "price_container": {
- "price": "3888.00",
- "min_price": "3888.00",
- "max_price": "3888.00",
- "original_price": "6866.00",
- "min_original_price": "6866.00",
- "max_original_price": "6866.00"
- },
- "goods_url": "/pages/goods-detail/goods-detail?id=3",
- "images_old": "/static/upload/images/goods/2019/01/14/1547451909951171.jpg",
- "video_old": "",
- "place_origin_name": null,
- "brand_name": "佳洁士",
- "specifications": {
- "choose": []
- },
- "show_field_original_price_text": "原价",
- "show_field_price_text": "活动价",
- "plugins_view_panel_data": [],
- "plugins_view_icon_data": []
- },
- {
- "id": "10",
- "realstore_id": "0",
- "realstore_goods_id": "0",
- "shop_id": "0",
- "shop_user_id": "0",
- "shop_category_id": "0",
- "shop_settle_price": "0.00",
- "shop_settle_rate": "0.00",
- "brand_id": "0",
- "site_type": "1",
- "title": "夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服",
- "title_color": "",
- "simple_desc": "",
- "model": "",
- "place_origin": "0",
- "inventory": "888",
- "inventory_unit": "件",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547455222990904.jpg",
- "original_price": "228.00",
- "min_original_price": "228.00",
- "max_original_price": "228.00",
- "price": "228.00",
- "min_price": "228.00",
- "max_price": "228.00",
- "give_integral": "20",
- "buy_min_number": "1",
- "buy_max_number": "1",
- "is_deduction_inventory": "1",
- "is_shelves": "1",
- "content_web": "【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦
XS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~
蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~
",
- "photo_count": "2",
- "sales_count": "204",
- "access_count": "10235",
- "video": "",
- "is_exist_many_spec": "0",
- "spec_base": "",
- "plugins_membershiplevelvip_price_extends": null,
- "seo_title": "",
- "seo_keywords": "",
- "seo_desc": "",
- "is_delete_time": "0",
- "add_time": "2019-01-14 16:42:55",
- "upd_time": "2023-03-23 16:03:19",
- "price_container": {
- "price": "228.00",
- "min_price": "228.00",
- "max_price": "228.00",
- "original_price": "568.00",
- "min_original_price": "568.00",
- "max_original_price": "568.00"
- },
- "goods_url": "/pages/goods-detail/goods-detail?id=10",
- "images_old": "/static/upload/images/goods/2019/01/14/1547455222990904.jpg",
- "video_old": "",
- "place_origin_name": null,
- "brand_name": null,
- "specifications": {
- "choose": []
- },
- "show_field_original_price_text": "原价",
- "show_field_price_text": "活动价",
- "plugins_view_panel_data": [],
- "plugins_view_icon_data": []
- },
- {
- "id": "9",
- "realstore_id": "0",
- "realstore_goods_id": "0",
- "shop_id": "0",
- "shop_user_id": "0",
- "shop_category_id": "0",
- "shop_settle_price": "0.00",
- "shop_settle_rate": "0.00",
- "brand_id": "2",
- "site_type": "2",
- "title": "睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装",
- "title_color": "",
- "simple_desc": "",
- "model": "",
- "place_origin": "0",
- "inventory": "7979",
- "inventory_unit": "件",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547454567172116.jpg",
- "original_price": "120.00-158.00",
- "min_original_price": "120.00",
- "max_original_price": "158.00",
- "price": "120.00-158.00",
- "min_price": "120.00",
- "max_price": "158.00",
- "give_integral": "2",
- "buy_min_number": "1",
- "buy_max_number": "0",
- "is_deduction_inventory": "1",
- "is_shelves": "1",
- "content_web": "
",
- "photo_count": "3",
- "sales_count": "154",
- "access_count": "7726",
- "video": "",
- "is_exist_many_spec": "1",
- "spec_base": "",
- "plugins_membershiplevelvip_price_extends": "",
- "seo_title": "",
- "seo_keywords": "",
- "seo_desc": "",
- "is_delete_time": "0",
- "add_time": "2019-01-14 16:33:06",
- "upd_time": "2023-03-24 01:49:20",
- "price_container": {
- "price": "120.00-158.00",
- "min_price": "120.00",
- "max_price": "158.00",
- "original_price": "160.00-216.00",
- "min_original_price": "160.00",
- "max_original_price": "216.00"
- },
- "goods_url": "/pages/goods-detail/goods-detail?id=9",
- "images_old": "/static/upload/images/goods/2019/01/14/1547454567172116.jpg",
- "video_old": "",
- "place_origin_name": null,
- "brand_name": "佳洁士",
- "specifications": {
- "choose": [
- {
- "id": "526",
- "goods_id": "9",
- "value": [
- {
- "name": "白色",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547454702543219.jpg"
- },
- {
- "name": "粉色",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547454702272215.jpg"
- },
- {
- "name": "黑色",
- "images": "https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547454702814719.jpg"
- }
- ],
- "name": "颜色",
- "add_time": "2023-03-27 13:43:53"
- },
- {
- "id": "527",
- "goods_id": "9",
- "value": [
- {
- "name": "S",
- "images": ""
- },
- {
- "name": "M",
- "images": ""
- },
- {
- "name": "L",
- "images": ""
- },
- {
- "name": "XL",
- "images": ""
- }
- ],
- "name": "尺码",
- "add_time": "2023-03-27 13:43:53"
- }
- ]
- },
- "show_field_original_price_text": "原价",
- "show_field_price_text": "活动价",
- "plugins_view_panel_data": [],
- "plugins_view_icon_data": []
- }
-]
\ No newline at end of file
diff --git a/pages/classify/goods-search/goods-search.vue b/pages/classify/goods-search/goods-search.vue
index b00787b..ace319b 100644
--- a/pages/classify/goods-search/goods-search.vue
+++ b/pages/classify/goods-search/goods-search.vue
@@ -10,7 +10,7 @@
-
+
@@ -37,13 +37,20 @@
pageNum: 7, //每页有多少条数据
navigateLastPage: 1, //总共有几页
allData: 0 //总共有多少条数据
- }
+ },
+ hackReset:false,
}
},
components: {
componentSearch,
goodsList
},
+ onShow(){
+ this.hackReset = false;
+ this.$nextTick(() => {
+ this.hackReset = true;
+ })
+ },
methods: {
//搜索事件
search_button_event(keywords) {
diff --git a/pages/classify/goodsDetail/data.json b/pages/classify/goodsDetail/data.json
deleted file mode 100644
index e285a3f..0000000
--- a/pages/classify/goodsDetail/data.json
+++ /dev/null
@@ -1,46 +0,0 @@
-
- {
- "id": "2",
- "realstore_id": "0",
- "realstore_goods_id": "0",
- "shop_id": "1",
- "shop_user_id": "1",
- "shop_category_id": "1",
- "shop_settle_price": "0.00",
- "shop_settle_rate": "0.00",
- "brand_id": "2",
- "site_type": "-1",
- "title": "苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G",
- "title_color": "",
- "simple_desc": "1.芯片功能强大 iPhone芯片的更新频率比友商少,但每次iPhone芯片更新时,都会成为关注和追赶的对象。",
- "model": "iPhone 6 Plus",
- "place_origin": "0",
- "inventory": "7983",
- "inventory_unit": "步",
- "images": ["https://gw.alicdn.com/bao/uploaded/i2/2200817857369/O1CN013I5Mae24J3O6w9wOE_!!2-item_pic.png_300x300q90.jpg_.webp","https://d1.shopxo.vip/static/upload/images/goods/2019/01/14/1547451274847894.jpg"],
- "original_price": "4500.00-6800.00",
- "min_original_price": "4500.00",
- "max_original_price": "6800.00",
- "price": "4500.00-6800.00",
- "min_price": "4500.00",
- "max_price": "6800.00",
- "give_integral": "30",
- "buy_min_number": "1",
- "buy_max_number": "0",
- "is_deduction_inventory": "1",
- "is_shelves": "1",
- "content_web": "进入指定页面>>
打开一个a标签地址
进入博客
",
- "photo_count": "2",
- "sales_count": "266",
- "access_count": "13333",
- "is_exist_many_spec": "1",
- "spec_base": "",
- "plugins_membershiplevelvip_price_extends": "",
- "seo_title": "",
- "seo_keywords": "",
- "seo_desc": "",
- "is_delete_time": "0",
- "add_time": "2019-01-14 15:40:24",
- "upd_time": "2023-03-24 17:46:26"
-
- }
diff --git a/pages/classify/goodsDetail/goodsDetail.vue b/pages/classify/goodsDetail/goodsDetail.vue
index eb67af5..a420630 100644
--- a/pages/classify/goodsDetail/goodsDetail.vue
+++ b/pages/classify/goodsDetail/goodsDetail.vue
@@ -9,44 +9,44 @@
{{currentSwiper+1}}/{{goodsDetail.bannerImg.length}}
-
+
- ¥19
- ¥26
-
+ ¥{{goodsDetail.price}}
+ ¥{{goodsDetail.originalPrice}}
+
- {{goodsDetail.name || ''}}
- {{goodsDetail.listDescribe || ''}}
+ {{goodsDetail.name || ''}}
+ {{goodsDetail.listDescribe || ''}}
-
+
-
+
选择
-
- 颜色分类
+
+ 规格
-
+
-
+
保障
-
+
破损包赔 · 假一赔四 · 退货运费险
-
+
-
+
-
+
+
———— 商品详情 ————
-
+
-
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
-
+
+
- 破损包退
+ 破损包退
- 签收72小时之内。发现商品破损或商品变形等,保存有限证件,商家24小时内响应并退款,诚信用户享受极速退款
+ 签收72小时之内。发现商品破损或商品变形等,保存有限证件,商家24小时内响应并退款,诚信用户享受极速退款
-
+
假一赔四
@@ -115,56 +116,61 @@
正品保障,假一赔四
-
+
- 七天无理由退换
+ 七天无理由退换
满足相应条件时,消费者可申请"七天无理由退换货"
-
-
+
+
我知道了
-
-
-
-
-
+
+
+
+
+
-
+
-
-
+
+
\ No newline at end of file
+
+
+ //商品信息图片
+ .goods-desc-img {}
+
diff --git a/pages/classify/order/orderDetail.vue b/pages/classify/order/orderDetail.vue
index a696299..f107c09 100644
--- a/pages/classify/order/orderDetail.vue
+++ b/pages/classify/order/orderDetail.vue
@@ -216,6 +216,7 @@
-
\ No newline at end of file
+ }
+
+ .btn-edit {
+
+ height: 40px;
+ border-radius: 20px;
+ line-height: 40px;
+ background-color: #EA3E44;
+ }
+
diff --git a/pages/classify/order/paymentResult.vue b/pages/classify/order/paymentResult.vue
index 8f52cc0..cb9a355 100644
--- a/pages/classify/order/paymentResult.vue
+++ b/pages/classify/order/paymentResult.vue
@@ -3,22 +3,22 @@
支付成功
- ¥32.9
- 微信支付
+ ¥{{recinfo.payablePrice}}
+ {{ recinfo.payType | filtersType}}支付
-
+
-
+
查看订单
-
+
邀请有礼
@@ -26,20 +26,72 @@
diff --git a/pages/settleAccounts/detail-popup/detail-popup.vue b/pages/settleAccounts/detail-popup/detail-popup.vue
index 9a226b1..b861470 100644
--- a/pages/settleAccounts/detail-popup/detail-popup.vue
+++ b/pages/settleAccounts/detail-popup/detail-popup.vue
@@ -1,274 +1,365 @@
-
-
-
-
-
- 商品列表
-
-
-
- 即时达
-
-
- 共16件
-
+
+
+
+
+
+ 商品列表
+
+
+
+ 数量
-
-
-
-
+
+ 共{{getNumberAll}}件
+
+
+
+
+
+
+
+
+
+ {{item.title}}
-
-
- 天友原味减糖活性乳酸菌饮品 300ml
-
-
+
+
- ¥5.2
+ ¥{{item.price}}
-
- ×1
+
+ ¥{{item.originalPrice}}
+
+ ×{{item.num}}
+
-
-
- 运费说明
-
-
-
- 运费总计
-
-
- ¥0
-
+
+
+
+ 运费说明
+
+
+
+ 运费总计
-
-
- ·运费
-
-
- ¥6
-
-
-
-
- ·运费优惠
-
-
- -¥6
-
+
+ ¥{{postPriceAll}}
-
-
- 基础运费
-
+
+
+
+ ·运费
-
- 基础运费6元
+
+ ¥{{postPrice.freightPrice}}
-
- 不同城市、地区之间收费规则会略有不同。
+
+
+
+ ·运费优惠
-
- 运费优惠仅针对基础运费部分进行抵扣;
+
+ 商品金额满{{postPrice.freePostPrice}}元包邮
+
+
+ 不同城市、地区之间收费规则会略有不同。
+
+
-
-
-
- 积分说明
-
-
-
- 运费总计
-
-
- ¥0
-
+
+
+
+
+ 积分说明
+
+
+
+ 运费总计
-
-
- ·运费
-
-
- ¥6
-
+
+ ¥0
-
-
- ·运费优惠
-
-
- -¥6
-
+
+
+
+ ·运费
-
-
- 基础运费
-
+
+ ¥6
-
- 基础运费6元
+
+
+
+ ·运费优惠
-
- 不同城市、地区之间收费规则会略有不同。
+
+ -¥6
-
- 运费优惠仅针对基础运费部分进行抵扣;
+
+
+
+ 基础运费
+
+ 基础运费6元
+
+
+ 不同城市、地区之间收费规则会略有不同。
+
+
+ 运费优惠仅针对基础运费部分进行抵扣;
+
-
-
-
- 选择优惠券
-
-
- 不使用优惠券
+
+
+
+
+ 选择优惠券
+
+
+
+ 不使用优惠券
+
+
+
+
-
-
-
-
-
- 8.8折券
-
-
- 最高抵10元
+
+
+
+
+
+
+
+
+
-
-
-
- 【新人专享】全品类可用(特殊商品除外)
+
+
+ {{item.discountName}}
+
+
+ 截止时间:{{item.useEndTime | formatDate }}
+
-
- 2023.03.27-2023.04.10
+
+
+
+
-
-
+
+ 不可用原因
+
+ 使用门槛为{{item.discountCondition}}元,还差{{item.discountCondition-totalPrice}}元才能使用
+
-
-
+
-
-
-
+
+
+
+
+
+
\ No newline at end of file
+.st-img {
+ width: 82px;
+ height: 82px;
+ }
+ // 优惠券
+ .radio-ca {
+ // width: 20rpx;
+ // height: 20rpx;
+ }
+
diff --git a/pages/settleAccounts/settleAccounts.vue b/pages/settleAccounts/settleAccounts.vue
index aaacb45..dc543e4 100644
--- a/pages/settleAccounts/settleAccounts.vue
+++ b/pages/settleAccounts/settleAccounts.vue
@@ -2,20 +2,26 @@
-
-
- 重庆市渝中区不是的聚钓具偶家
+
+
+ {{addressDetail.regionName+" "+addressDetail.address}}
+
-
- 明明
- 13563256324
+
+ {{addressDetail.consignee}}
+ {{addressDetail.phone}}
-
+
+
+ 请选择地址
+
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
+
+
+
-
+
-
+
- 共{{goodsData.images.length}}件
+ 共{{getNumberAll}}件
-
-
-
+
+
-
-
+
+
-
-
+
+
- 云南高山荷兰豆160g
- 共一件
+ {{goodsList[0].title}}
+ 共{{getNumberAll}}件
+
+
+ ¥{{goodsList[0].price}}
+ ×{{goodsList[0].num}}
-
- ¥2.99
- ×1
+
+ ¥{{goodsList[0].originalPrice}}
+ ×{{goodsList[0].num}}
+
-
+
-
-
-
-
+
+
+
+
-
-
+
+
-
+
商品金额
-
- ¥22.97
+
+
+ ¥{{priceAll}}
+
+
+ ¥{{priceOrigin}}
+
@@ -90,45 +107,61 @@
运费
- ¥6
+ ¥{{postPriceAll}}
-
-
- 优惠券
+
+
+ 优惠券
+
+ {{yhqUse}}张优惠券可用
+
-
-
+
+
+ - ¥ {{yhqPrice}}
+
+
-
+
+
+
+
-
+
- 积分抵现
+ 积分抵现
- 当前积分63,满500可用
+
-
- 暂无可用
+
+
+ 暂无积分可用
+
+
+ 可用{{availIntegalUse}}积分抵扣{{parseFloat(availIntegalUse/percentage)}}元
+
+
+
-
-
-
+
+
-
+
- 小计:¥262.2
+ 小计:¥{{priceSettle}}
-
+
-
+
备注:
@@ -137,191 +170,725 @@
{{noteValue.length}}/40
-
-
-
+
+
+
-
+
-
-
+
+
-
- 送至: {{'金科西城大院 5栋1714'}}
+
+ 送至: {{addressDetail.regionName+" "+addressDetail.address}}
- 合计:¥{{100}}
+ 合计:¥{{priceSettle}}
-
+
去支付
-
-
-
+
+
+
+
\ No newline at end of file
+ //
+ .settleAccounts {
+
+ box-sizing: border-box;
+ padding-bottom: 130px;
+ }
+
+ //商品图片
+ .po-ra {
+ position: relative;
+ }
+
+ .settle-goods {
+ width: auto;
+ }
+
+ .settle-con {
+
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+
+ .settle-img {
+ font-size: 0;
+ margin-left: 10px;
+
+ .st-img {
+ width: 82px;
+ height: 82px;
+ }
+ }
+
+ .settle-msg {
+ flex: 1;
+ padding: 0 10px;
+
+ .settle-title {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ }
+ }
+
+
+ }
+
+ .fix-soon {
+ position: absolute;
+ right: 0;
+ top: 0;
+ width: 82px;
+ height: 82px;
+ line-height: 82px;
+ opacity: 0.8;
+ background-color: #ffffff;
+ text-align: center;
+ }
+
+ //备注
+ .note {
+ width: auto;
+ }
+
+ // 底部结算按钮
+ .tool-contain {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ z-index: 10;
+ }
+
+ .tool-right {
+ flex: 1;
+ display: flex;
+ justify-content: space-between;
+ padding: 10px;
+ align-items: center;
+
+ .tool-jiesuan {}
+
+ .jiesuan-btn {
+ width: 200rpx;
+ height: 40px;
+ line-height: 40px;
+ text-align: center;
+ border-radius: 20px;
+ background: linear-gradient(to right, #FFCC1E, #FF8F19);
+ }
+ }
+
+ // 底部地址确认
+ .adressConfirm {
+ // height: 20px;
+ padding: 10px;
+ line-height: 20px;
+ background-color: #FEFBDA;
+ }
+
diff --git a/pages/tabBar/classify/classify.vue b/pages/tabBar/classify/classify.vue
index 2b2e76d..2a5b4f5 100644
--- a/pages/tabBar/classify/classify.vue
+++ b/pages/tabBar/classify/classify.vue
@@ -130,6 +130,7 @@
},
onShow(){
+ console.log("121212")
this.hackReset = false;
this.$nextTick(() => {
this.hackReset = true;
@@ -232,7 +233,7 @@
pageSize:_this.pageData.pageNum,
price:price,
}
- console.log(params,"params")
+ // console.log(params,"params")
getListGoodsDetail(params).then(res=>{
if (res.return_code == '000000') {
if(res.return_data.list.length > 0){
diff --git a/pages/user/order_list/order_list.vue b/pages/user/order_list/order_list.vue
index 5ac152b..d4fe546 100644
--- a/pages/user/order_list/order_list.vue
+++ b/pages/user/order_list/order_list.vue
@@ -103,77 +103,7 @@
-
-
-
-
- {{orderTyplist | msgFormat(row.productType)}}
-
-
-
- {{typeText[row.orderStatus]}}
-
-
-
-
-
-
-
- 订单编号:{{row.orderNo}}
-
-
-
-
- 下单时间 : {{row.createTime | formatDate('-')}}
-
-
-
- 合计:
-
- ¥{{row.payPrice}}
-
-
-
-
-
-
-
-
- 取消订单
-
- 立即支付
-
-
-
@@ -349,6 +279,14 @@
})
return;
}
+ //实物类型
+ if(item == 12){
+ uni.navigateTo({
+ url: '/pages/classify/order/orderDetail?id='+e
+ })
+ return;
+ }
+
uni.navigateTo({
url: '../order_details/order_details?id=' + e
})
diff --git a/uni.scss b/uni.scss
index f0130cf..51d7941 100644
--- a/uni.scss
+++ b/uni.scss
@@ -962,7 +962,15 @@ $uni-font-size-paragraph:30upx;
.border-b{
border-bottom: 1px solid #f6f6f6;
}
+.border-t{
+ border-top: 1px solid #f6f6f6;
+}
// 盒模型
.border-box{
box-sizing: border-box;
}
+
+//text
+.text-lt{
+ text-decoration: line-through;
+}
\ No newline at end of file