diff --git a/components/orderGoods/index.vue b/components/orderGoods/index.vue
index a9fc3b5..7365404 100644
--- a/components/orderGoods/index.vue
+++ b/components/orderGoods/index.vue
@@ -73,7 +73,7 @@
退款中 x {{item.product_num - item.refund_num}}
已退款 x {{item.product_num - item.refund_num}}
- 申请退款
+ 申请退款
去评价
已评价
diff --git a/pages/columnGoods/goods_search/index.vue b/pages/columnGoods/goods_search/index.vue
index 3d663eb..4442f82 100644
--- a/pages/columnGoods/goods_search/index.vue
+++ b/pages/columnGoods/goods_search/index.vue
@@ -158,9 +158,9 @@
} else {
this.$set(this, 'searchValue', event);
}
- this.$nextTick(() => {
- this.focus = true
- })
+ // this.$nextTick(() => {
+ // this.focus = true
+ // })
this.searchBut()
},
setValue: function(event) {
diff --git a/pages/plantGrass/plant_detail/index.vue b/pages/plantGrass/plant_detail/index.vue
index 37d7269..f2d2d7f 100644
--- a/pages/plantGrass/plant_detail/index.vue
+++ b/pages/plantGrass/plant_detail/index.vue
@@ -1,5 +1,8 @@
+
@@ -255,6 +258,16 @@
},
mounted: function() {},
methods: {
+ // 后退
+ returns() {
+ uni.navigateBack()
+ },
+ // 首页
+ goHome() {
+ uni.switchTab({
+ url: '/pages/index/index'
+ });
+ },
//分享
//#ifdef MP
plantShare(){
@@ -354,6 +367,9 @@
plantDetailApi(that.id).then(res => {
that.loadData = false
that.followDetail = res.data
+ that.followDetail.relevance=that.followDetail.relevance.filter(item=>{
+ return item.spu
+ })
uni.hideLoading()
// #ifdef MP
that.plantShare();
@@ -558,6 +574,12 @@
page{
background: #ffffff;
}
+ .head-menu{
+ height:50rpx;
+ padding-left: 20rpx;
+ line-height: 50rpx;
+ font-weight: bold;
+ }
.tab-cont{
background: #fff;
border-radius: 16rpx 16rpx 0 0;
diff --git a/pages/plant_release/index.vue b/pages/plant_release/index.vue
index 7b601ae..e80428a 100644
--- a/pages/plant_release/index.vue
+++ b/pages/plant_release/index.vue
@@ -720,7 +720,7 @@
display: flex;
align-items: center;
justify-content: center;
- z-index: 0;
+ z-index: 999;
.iconfont {
color: #ffffff;
diff --git a/pages/product/addGoods/secound.vue b/pages/product/addGoods/secound.vue
index 49f6306..646f8d5 100644
--- a/pages/product/addGoods/secound.vue
+++ b/pages/product/addGoods/secound.vue
@@ -199,8 +199,10 @@
video_link: this.addGoodsSecoundData.video_link
};
- postData.attrValue = attrValue.filter(item => item != '');
- postData.attrValue[0].bar_code
+ if(attrValue){
+ postData.attrValue = attrValue.filter(item => item != '');
+ postData.attrValue[0].bar_code
+ }
// console.log(postData);
if (getStorage('addGoodsFormData').spec_type == 0) {
// postData.attr = [getStorage('singleSpecification')];
diff --git a/pages/users/embody/embody.vue b/pages/users/embody/embody.vue
index 035d3b9..7b37327 100644
--- a/pages/users/embody/embody.vue
+++ b/pages/users/embody/embody.vue
@@ -443,6 +443,11 @@
console.log(res);
}).catch(err => {
Toast(err)
+ setTimeout(()=>{
+ uni.navigateBack({
+ delta: 1
+ })}, 1000)
+
})
},
async postCreate(price) {
diff --git a/pages/users/gather_list/index.vue b/pages/users/gather_list/index.vue
index 1da4b49..48a6b72 100644
--- a/pages/users/gather_list/index.vue
+++ b/pages/users/gather_list/index.vue
@@ -8,7 +8,7 @@
提现次数
-
+
提现总额
@@ -66,7 +66,11 @@
UserApplylist:[]
}
},
- computed: {},
+ computed: {
+ sumTofixed(){
+ return this.returnFloat(this.sum)
+ }
+ },
watch: {
},
@@ -79,6 +83,21 @@
// })
},
methods: {
+ /**数字强制转为两位小数*/
+ returnFloat(value){
+ var value=Math.round(parseFloat(value)*100)/100;
+ var xsd=value.toString().split(".");
+ if(xsd.length==1){
+ value=value.toString()+".00";
+ return value;
+ }
+ if(xsd.length>1){
+ if(xsd[1].length<2){
+ value=value.toString()+"0";
+ }
+ return value;
+ }
+ },
tixian() {
uni.navigateBack({
delta: 1
diff --git a/pages/users/order_list/index.vue b/pages/users/order_list/index.vue
index c9812be..fa35b9e 100644
--- a/pages/users/order_list/index.vue
+++ b/pages/users/order_list/index.vue
@@ -1,7 +1,11 @@
+