修复勾股部分bug
This commit is contained in:
parent
dac35ec225
commit
1f1bf15860
2918
pages.json
2918
pages.json
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,7 @@
|
||||||
<view class="content-top">
|
<view class="content-top">
|
||||||
<view class="content-tops">
|
<view class="content-tops">
|
||||||
<view class="content-top_img" v-if="Object.keys(userInfoData).length>0">
|
<view class="content-top_img" v-if="Object.keys(userInfoData).length>0">
|
||||||
<image :src="userInfoData.avatar" v-if="userInfoData.avatar" mode="aspectFill" @click="logout">
|
<image :src="userInfoData.mer_info.mer_avatar" v-if="userInfoData.mer_info&&userInfoData.mer_info.mer_avatar" mode="aspectFill" @click="logout">
|
||||||
</image>
|
</image>
|
||||||
<image src="@/static/images/f.png" v-else mode="aspectFit" @click="logout"></image>
|
<image src="@/static/images/f.png" v-else mode="aspectFit" @click="logout"></image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -874,7 +874,7 @@ import {
|
||||||
*/
|
*/
|
||||||
getUserInfo() {
|
getUserInfo() {
|
||||||
getUserInfo().then(res => {
|
getUserInfo().then(res => {
|
||||||
|
// console.log(res);
|
||||||
this.userid = res.data.uid
|
this.userid = res.data.uid
|
||||||
this.userInfoData = res.data
|
this.userInfoData = res.data
|
||||||
this.merchantData.phone = res.data.phone
|
this.merchantData.phone = res.data.phone
|
||||||
|
|
|
@ -305,8 +305,7 @@
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
titName: "",
|
||||||
titName: "坝坝宴",
|
|
||||||
price: 0,
|
price: 0,
|
||||||
stock: 0,
|
stock: 0,
|
||||||
nows: false,
|
nows: false,
|
||||||
|
@ -380,6 +379,9 @@
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
|
if (options.tit) {
|
||||||
|
options.tit == 1 ? this.titName = "先款后货" : this.titName = "先货后款"
|
||||||
|
}else this.titName = "坝坝宴";
|
||||||
this.product_type = options.product_type ?? 0
|
this.product_type = options.product_type ?? 0
|
||||||
if (options.street_id != undefined) {
|
if (options.street_id != undefined) {
|
||||||
this.sotreParam.street_id = options.street_id
|
this.sotreParam.street_id = options.street_id
|
||||||
|
@ -407,9 +409,6 @@
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.titName = this.menuList[index].category_name
|
this.titName = this.menuList[index].category_name
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// console.log(this.menuList)
|
// console.log(this.menuList)
|
||||||
})
|
})
|
||||||
// console.log(this.menuList)
|
// console.log(this.menuList)
|
||||||
|
|
|
@ -224,11 +224,11 @@
|
||||||
if (this.product_type == 98) {
|
if (this.product_type == 98) {
|
||||||
if(val==1){
|
if(val==1){
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/users/order_list/indexCopy?status=1&product_type=${this.product_type}`
|
url: `/pages/users/order_list/indexCopy?status=2&product_type=${this.product_type}`
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/users/order_list/indexCopy?status=0&product_type=${this.product_type}`
|
url: `/pages/users/order_list/indexCopy?status=1&product_type=${this.product_type}`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<!-- <u--image :showLoading="true" :src="images[0].img" width="388px" height="210.53rpx" radius="4px"
|
<!-- <u--image :showLoading="true" :src="images[0].img" width="388px" height="210.53rpx" radius="4px"
|
||||||
@click="delImg(0)" mode="aspectFit"></u--image> -->
|
@click="delImg(0)" mode="aspectFit"></u--image> -->
|
||||||
<u--image :showLoading="true" :src="images[0].img" width="360px" height="210.53rpx" radius="4px"
|
<u--image :showLoading="true" :src="images[0].img" width="360px" height="210.53rpx" radius="4px"
|
||||||
@click="delImg(2)"></u--image>
|
@click="delImg(0)"></u--image>
|
||||||
</block>
|
</block>
|
||||||
<view v-else class="upload" @click="seleckImage(0)">
|
<view v-else class="upload" @click="seleckImage(0)">
|
||||||
<view class="iconfont icon-tupian1"></view>
|
<view class="iconfont icon-tupian1"></view>
|
||||||
|
@ -165,7 +165,7 @@
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<button class="submit_btn l_center" @click="postMerchantUpdata">提交审核</button>
|
<button class="submit_btn l_center" @click="postMerchantUpdata">提交</button>
|
||||||
|
|
||||||
<u-datetime-picker :show="beginTimeShow" v-model="mer_take_time[0]" mode="time" @close="beginTimeShow = false"
|
<u-datetime-picker :show="beginTimeShow" v-model="mer_take_time[0]" mode="time" @close="beginTimeShow = false"
|
||||||
:closeOnClickOverlay="true" @cancel="beginTimeShow = false"
|
:closeOnClickOverlay="true" @cancel="beginTimeShow = false"
|
||||||
|
|
|
@ -1213,6 +1213,7 @@
|
||||||
payment: function(data) {
|
payment: function(data) {
|
||||||
let that = this;
|
let that = this;
|
||||||
createOrder(data).then(res => {
|
createOrder(data).then(res => {
|
||||||
|
console.log('测试', res);
|
||||||
let status = res.data.status,
|
let status = res.data.status,
|
||||||
orderId = res.data.result.order_id,
|
orderId = res.data.result.order_id,
|
||||||
callback_key = res.data.result.pay_key,
|
callback_key = res.data.result.pay_key,
|
||||||
|
|
|
@ -110,6 +110,9 @@ export default {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: url,
|
url: url,
|
||||||
|
fail(err) {
|
||||||
|
console.log("跳转失败", err);
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}, endtime);
|
}, endtime);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue