细节修改

version/0412
fanfan 1 year ago
parent 5af8f91886
commit 70b448c6c1
  1. 19
      pages/goods/detail.vue
  2. 4
      pages/news/recycling/confirm1.vue
  3. 8
      pages/news/recycling/order.vue
  4. 47
      pages/order/detail.vue
  5. 3
      pages/user/index.vue

@ -553,12 +553,12 @@
methods: {
getprice(e) {
console.log(e)
let params={
secondPrice:e.secondPrice,
startTime:e.startTime,
endTime:e.endTime,
secondQuota:e.secondQuota,
quotaNum:e.quotaNum
let params = {
secondPrice: e.secondPrice,
startTime: e.startTime,
endTime: e.endTime,
secondQuota: e.secondQuota,
quotaNum: e.quotaNum
}
GoodsApi.editGoodsPrice(params).then(res => {
if (res.status == 200) {
@ -587,11 +587,6 @@
.catch(reject)
})
},
//
onAddCart(total) {
this.getCartTotal()
},
//
async toUnpdatePrice() {
const that = this;
@ -780,7 +775,7 @@
},
//
onAddCart(total) {
console.log(total)
this.getCartTotal()
},
choseSku(skuMode) {
console.log(this.goods)

@ -336,8 +336,8 @@
}
if (i == 2) { //
uni.openLocation({
latitude: this.storeInfo.latitude,
longitude: this.storeInfo.longitude,
latitude: Number(this.storeInfo.latitude),
longitude: Number(this.storeInfo.longitude),
complete: function(res) {
console.log(res);
}

@ -118,7 +118,7 @@
</view>
</view>
</view>
<view class="order-bd">
<view class="order-bd" v-if="infor.remake">
<view class="b" style="margin-top: 0;">
<view class="item">
<view class="l">留言</view>
@ -127,7 +127,7 @@
</view>
</view>
<view class="order-fd" v-if="infor.order_status==10">
<view class="a">
<view class="a" @click="openPage(1)">
联系商家
</view>
<view class="b" @click="reservation">
@ -220,8 +220,8 @@
}
if (i == 2) { //
uni.openLocation({
latitude: this.infor.shop_info.latitude,
longitude: this.infor.shop_info.longitude,
latitude: Number(this.infor.shop_info.latitude),
longitude: Number(this.infor.shop_info.longitude),
complete: function(res) {}
});
}

@ -222,8 +222,10 @@
</view>
<view class="amount">
<view class="share">
<image src="/static/order/share.png" mode=""></image>
分享
<button open-type="share">
<image src="/static/order/share.png" mode=""></image>
分享
</button>
</view>
<view class="sp">
@ -401,6 +403,7 @@
canReset: false,
cdDia: false,
menushow: false,
Store:''
}
},
/**
@ -413,6 +416,7 @@
this.orderId = orderId
//
this.getOrderDetail()
this.Store=uni.getStorageSync('Store')
// :
uni.$on('syncRefresh', (val, isCur) => {
if (!isCur) {
@ -428,7 +432,27 @@
this.canReset && this.getOrderDetail()
this.canReset = false
},
onShareAppMessage(res) {
return {
title: this.Store.storeInfo.store_name,
path: "pages/order/detail?orderId="+this.orderId, //
imageUrl:this.Store.storeInfo.image_url,
success: function(res){
//
if(res.errMsg == 'shareAppMessage:ok'){
this.$toast('分享成功')
}
},
fail: function(){
//
if(res.errMsg == 'shareAppMessage:fail cancel'){
this.$toast('取消分享')
}else if(res.errMsg == 'shareAppMessage:fail'){
this.$toast('分享失败')
}
}
}
},
methods: {
//
callStore(phone) {
@ -1125,6 +1149,23 @@
margin-right: 14rpx;
}
button {
background: none !important;
border: none !important;
padding: 0;
line-height: 34rpx;
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC,
PingFang SC;
font-weight: 400;
}
button:after {
border: none !important;
}
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC,

@ -14,8 +14,7 @@
</view>
<button class="avatar-wrapper" v-else type="primary" open-type="chooseAvatar"
@chooseavatar="onChooseAvatar">
<!-- <button class="avatar-wrapper" v-else @click="onChooseAvatar"> -->
<text lines="1" class="text-group_1">{{userInfo.nick_name}}3</text>
<text lines="1" class="text-group_1">{{userInfo.nick_name}}</text>
<image :src="$picUrl+'/static/user/weChat.png'" class="thumbnail_1"></image>
</button>
<view class="text-wrapper_1" v-if="isLogin" @click="wechatLogin">

Loading…
Cancel
Save