This commit is contained in:
zmj 2024-04-30 18:57:01 +08:00
parent 9c08d45e09
commit fd5181b55c
32 changed files with 1589 additions and 1666 deletions

16
App.vue
View File

@ -92,12 +92,20 @@
console.log('消息成功' + JSON.stringify(option)); console.log('消息成功' + JSON.stringify(option));
}); });
uni.onHostEventReceive((event, data) => { uni.onHostEventReceive((event, data) => {
if (event == 'tocustomlist') { if (event == 'tocustomlist') {
uni.switchTab({ Toast("收到消息")
url: '/pages/chat/customer_list/index' Toast(JSON.stringify(event))
}); Toast(JSON.stringify(data))
if (data.page_type == 1) {
uni.switchTab({
url: data.route
});
} else {
uni.navigateTo({
url: data.route
})
}
} }
}); });

View File

@ -19,9 +19,9 @@
<image src="/static/images/svip.png"></image> <image src="/static/images/svip.png"></image>
</view> </view>
</view> </view>
<view class="item_tags"> <view class="item_tags">
<text v-if="item.product_type == 0 && item.merchant.type_name" <text v-if="item.product_type == 0 && item.merchant.type_name"
class="font-bg-red b-color">{{item.merchant.type_name}}</text> class="font-bg-red b-color">{{item.merchant.type_name}}</text>
<text v-else-if="item.product_type == 0 && item.merchant.is_trader" <text v-else-if="item.product_type == 0 && item.merchant.is_trader"
@ -44,8 +44,9 @@
<view class='text'> <view class='text'>
<view class='name line2'>{{item.store_name}}</view> <view class='name line2'>{{item.store_name}}</view>
<view class="score"><span <view class="score"><span
style="font-size: 23rpx;font-family: PingFang SC-Semibold, PingFang SC;font-weight: 600;color: #F84221;margin-right: 28rpx;">{{item.rate}}</span> style="font-size: 23rpx;font-weight: 600;color: #F84221;margin-right: 28rpx;">{{item.rate}}</span>
{{item.reply_count}}条评论</view> {{item.reply_count}}条评论
</view>
<view class="" style="display: flex;justify-content: space-between;"> <view class="" style="display: flex;justify-content: space-between;">
<view class='money'> <view class='money'>
<span style="font-size:30rpx;"></span> <span style="font-size:30rpx;"></span>
@ -59,14 +60,14 @@
<view v-if="item.show_svip_info.show_svip && item.show_svip_info.show_svip_price" <view v-if="item.show_svip_info.show_svip && item.show_svip_info.show_svip_price"
class="acea-row row-middle svip"> class="acea-row row-middle svip">
<text class='vip-money'>{{item.svip_price}}</text> <text class='vip-money'>{{item.svip_price}}</text>
<view class="vipImg"> <view class="vipImg">
<image src="/static/images/svip.png"></image> <image src="/static/images/svip.png"></image>
</view> </view>
</view> </view>
<view class="item_tags acea-row"> <view class="item_tags acea-row">
<text v-if="item.merchant.type_name && item.product_type == 0" <text v-if="item.merchant.type_name && item.product_type == 0"
class="font-bg-red b-color">{{item.merchant.type_name}}</text> class="font-bg-red b-color">{{item.merchant.type_name}}</text>
<text v-else-if="item.merchant.is_trader && item.product_type == 0" <text v-else-if="item.merchant.is_trader && item.product_type == 0"
@ -76,7 +77,7 @@
<text class="tags_item ticket" v-if="item.issetCoupon">领券</text> <text class="tags_item ticket" v-if="item.issetCoupon">领券</text>
<text class="tags_item delivery" v-if="item.delivery_free == 1">包邮</text> <text class="tags_item delivery" v-if="item.delivery_free == 1">包邮</text>
</view> </view>
<view class="company" v-if="item.merchant" @click.stop="goShop(item.merchant.mer_id)"> <view class="company" v-if="item.merchant" @click.stop="goShop(item.merchant.mer_id)">
<text class="line1">{{item.merchant.mer_name}}</text> <text class="line1">{{item.merchant.mer_name}}</text>
<view class="flex" v-if="isStore != '1'"> <view class="flex" v-if="isStore != '1'">

View File

@ -82,9 +82,8 @@
.item-info {} .item-info {}
.title { .title {
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin: 12px 0; margin: 12px 0;
@ -110,7 +109,6 @@
border-radius: 11rpx 11rpx 11rpx 11rpx; border-radius: 11rpx 11rpx 11rpx 11rpx;
border: 1px solid #3274F9; border: 1px solid #3274F9;
font-size: 19rpx; font-size: 19rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
margin-right: 15rpx; margin-right: 15rpx;
} }
@ -125,7 +123,6 @@
border-radius: 11rpx 0px 0px 0rpx; border-radius: 11rpx 0px 0px 0rpx;
border: 1px solid #F84221; border: 1px solid #F84221;
font-size: 19rpx; font-size: 19rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
} }
@ -136,7 +133,6 @@
border-radius: 0px 11rpx 11rpx 0px; border-radius: 0px 11rpx 11rpx 0px;
border: 1px solid #F84221; border: 1px solid #F84221;
font-size: 19rpx; font-size: 19rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
} }
} }
@ -161,7 +157,6 @@
.relase-two { .relase-two {
font-size: 23rpx; font-size: 23rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 500; font-weight: 500;
color: #B3B3B3; color: #B3B3B3;
margin-left: 13rpx; margin-left: 13rpx;
@ -201,7 +196,6 @@
opacity: 1; opacity: 1;
font-size: 23rpx; font-size: 23rpx;
padding-left: 11rpx; padding-left: 11rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #737373; color: #737373;

View File

@ -64,8 +64,8 @@
width: 100% !important; width: 100% !important;
height: 345rpx; height: 345rpx;
image{ image {
width: 100% ; width: 100%;
height: 345rpx; height: 345rpx;
} }
} }
@ -94,7 +94,6 @@
.title { .title {
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin: 12px 0; margin: 12px 0;

View File

@ -19,7 +19,7 @@
<image src="/static/images/svip.png"></image> <image src="/static/images/svip.png"></image>
</view> </view>
</view> </view>
<!-- <view class="item_tags"> <!-- <view class="item_tags">
<text v-if="item.product_type == 0 && item.merchant.type_name" <text v-if="item.product_type == 0 && item.merchant.type_name"
@ -44,8 +44,9 @@
<view class='text'> <view class='text'>
<view class='name line2'>{{item.store_name}}</view> <view class='name line2'>{{item.store_name}}</view>
<view class="score"><span <view class="score"><span
style="font-size: 23rpx;font-family: PingFang SC-Semibold, PingFang SC;font-weight: 600;color: #F84221;margin-right: 28rpx;">{{item.rate}}</span> style="font-size: 23rpx;font-weight: 600;color: #F84221;margin-right: 28rpx;">{{item.rate}}</span>
{{item.reply_count}}条评论</view> {{item.reply_count}}条评论
</view>
<view class="" style="display: flex;justify-content: space-between;"> <view class="" style="display: flex;justify-content: space-between;">
<view class='money'> <view class='money'>
<span style="font-size:30rpx;"></span> <span style="font-size:30rpx;"></span>
@ -59,7 +60,7 @@
<view v-if="item.show_svip_info.show_svip && item.show_svip_info.show_svip_price" <view v-if="item.show_svip_info.show_svip && item.show_svip_info.show_svip_price"
class="acea-row row-middle svip"> class="acea-row row-middle svip">
<text class='vip-money'>{{item.svip_price}}</text> <text class='vip-money'>{{item.svip_price}}</text>
<view class="vipImg"> <view class="vipImg">
<image src="/static/images/svip.png"></image> <image src="/static/images/svip.png"></image>
</view> </view>
@ -76,7 +77,7 @@
<text class="tags_item ticket" v-if="item.issetCoupon">领券</text> <text class="tags_item ticket" v-if="item.issetCoupon">领券</text>
<text class="tags_item delivery" v-if="item.delivery_free == 1">包邮</text> <text class="tags_item delivery" v-if="item.delivery_free == 1">包邮</text>
</view> --> </view> -->
<view class="company" v-if="item.merchant" @click.stop="goShop(item.merchant.mer_id)"> <view class="company" v-if="item.merchant" @click.stop="goShop(item.merchant.mer_id)">
<text class="line1">{{item.merchant.mer_name}}</text> <text class="line1">{{item.merchant.mer_name}}</text>
<view class="flex" v-if="isStore != '1'"> <view class="flex" v-if="isStore != '1'">

View File

@ -82,9 +82,8 @@
.item-info {} .item-info {}
.title { .title {
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin: 12px 0; margin: 12px 0;
@ -110,7 +109,6 @@
border-radius: 11rpx 11rpx 11rpx 11rpx; border-radius: 11rpx 11rpx 11rpx 11rpx;
border: 1px solid #3274F9; border: 1px solid #3274F9;
font-size: 19rpx; font-size: 19rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
margin-right: 15rpx; margin-right: 15rpx;
} }
@ -125,7 +123,6 @@
border-radius: 11rpx 0px 0px 0rpx; border-radius: 11rpx 0px 0px 0rpx;
border: 1px solid #F84221; border: 1px solid #F84221;
font-size: 19rpx; font-size: 19rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
} }
@ -136,7 +133,6 @@
border-radius: 0px 11rpx 11rpx 0px; border-radius: 0px 11rpx 11rpx 0px;
border: 1px solid #F84221; border: 1px solid #F84221;
font-size: 19rpx; font-size: 19rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
} }
} }
@ -161,7 +157,6 @@
.relase-two { .relase-two {
font-size: 23rpx; font-size: 23rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 500; font-weight: 500;
color: #B3B3B3; color: #B3B3B3;
margin-left: 13rpx; margin-left: 13rpx;
@ -201,7 +196,6 @@
opacity: 1; opacity: 1;
font-size: 23rpx; font-size: 23rpx;
padding-left: 11rpx; padding-left: 11rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #737373; color: #737373;

View File

@ -64,8 +64,8 @@
width: 100% !important; width: 100% !important;
height: 345rpx; height: 345rpx;
image{ image {
width: 100% ; width: 100%;
height: 345rpx; height: 345rpx;
} }
} }
@ -94,7 +94,6 @@
.title { .title {
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin: 12px 0; margin: 12px 0;

View File

@ -55,8 +55,6 @@
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang SC-Regular,
PingFang SC;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
} }

View File

@ -38,7 +38,9 @@
// #ifdef H5 // #ifdef H5
import ClipboardJS from "@/plugin/clipboard/clipboard.js"; import ClipboardJS from "@/plugin/clipboard/clipboard.js";
// #endif // #endif
import { mapGetters } from "vuex"; import {
mapGetters
} from "vuex";
export default { export default {
props: { props: {
isCopy: { isCopy: {
@ -56,22 +58,22 @@
title: '复制以下口令' title: '复制以下口令'
}; };
}, },
mounted(){ mounted() {
let that = this let that = this
// #ifdef H5 // #ifdef H5
that.$nextTick(function() { that.$nextTick(function() {
var clipboard = new ClipboardJS('.copy-data'); var clipboard = new ClipboardJS('.copy-data');
clipboard.on('success', function(e) { clipboard.on('success', function(e) {
that.$util.Tips({ that.$util.Tips({
title:'复制成功' title: '复制成功'
}) })
setTimeout(()=>{ setTimeout(() => {
that.$emit('close'); that.$emit('close');
},500) }, 500)
}); });
clipboard.on('error', function(e) { clipboard.on('error', function(e) {
that.$util.Tips({ that.$util.Tips({
title:'复制失败' title: '复制失败'
}) })
}); });
}); });
@ -79,16 +81,18 @@
}, },
methods: { methods: {
//#ifndef H5 //#ifndef H5
copyText:function(){ copyText: function() {
let that = this; let that = this;
uni.setClipboardData({ data: this.copyUrl }); uni.setClipboardData({
setTimeout(()=>{ data: this.copyUrl
});
setTimeout(() => {
that.$emit('close'); that.$emit('close');
},500) }, 500)
}, },
// #endif // #endif
close: function(){ close: function() {
this.$emit('close'); this.$emit('close');
} }
} }
} }
@ -106,13 +110,15 @@
transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0);
transition: all .1s cubic-bezier(.25, .5, .5, .9); transition: all .1s cubic-bezier(.25, .5, .5, .9);
padding: 50rpx 30rpx 30rpx; padding: 50rpx 30rpx 30rpx;
.icon-guanbi{
.icon-guanbi {
position: absolute; position: absolute;
top: 20rpx; top: 20rpx;
right: 20rpx; right: 20rpx;
color: #8A8A8A; color: #8A8A8A;
} }
.button{
.button {
height: 76rpx; height: 76rpx;
border-radius: 38rpx; border-radius: 38rpx;
margin: 30rpx 30rpx 0; margin: 30rpx 30rpx 0;
@ -120,28 +126,31 @@
font-size: 30rpx; font-size: 30rpx;
line-height: 76rpx; line-height: 76rpx;
color: #FFFFFF; color: #FFFFFF;
} }
} }
.copy-list-window.on { .copy-list-window.on {
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
} }
.copy-list-window .title { .copy-list-window .title {
width: 100%; width: 100%;
text-align: center; text-align: center;
font-size: 32rpx; font-size: 32rpx;
font-weight: bold; font-weight: bold;
font-family: 'PingFang SC';
.iconfont { .iconfont {
font-size: 30rpx; font-size: 30rpx;
color: #FBB324; color: #FBB324;
margin-right: 12rpx; margin-right: 12rpx;
} }
} }
.copy-url{
.copy-url {
margin-top: 30rpx; margin-top: 30rpx;
background: #F5F5F5; background: #F5F5F5;
padding: 20rpx 25rpx; padding: 20rpx 25rpx;
color: #BBBBBB; color: #BBBBBB;
font-size: 28rpx; font-size: 28rpx;
} }
</style> </style>

View File

@ -78,7 +78,6 @@
padding-right: 0rpx; padding-right: 0rpx;
scroll-behavior: smooth; // scroll-behavior: smooth; //
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang-SC-Heavy;
.my-tab-item { .my-tab-item {
padding: 20rpx 35rpx; // -- padding: 20rpx 35rpx; // --
@ -89,7 +88,6 @@
&.active { &.active {
color: #333333; // -- color: #333333; // --
font-family: PingFang-SC-Heavy;
font-weight: 600; font-weight: 600;
position: relative; position: relative;
@ -110,7 +108,6 @@
position: relative; position: relative;
z-index: 9; z-index: 9;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #F84221; color: #F84221;
color: #F84221; color: #F84221;

View File

@ -159,23 +159,23 @@
checkedObj: { checkedObj: {
handler(n) { handler(n) {
this.checkedArr = JSON.parse(JSON.stringify(n||{})) this.checkedArr = JSON.parse(JSON.stringify(n || {}))
}, },
deep: true deep: true
} }
}, },
mounted() { mounted() {
this.checkedArr = JSON.parse(JSON.stringify(this.checkedObj||{})) this.checkedArr = JSON.parse(JSON.stringify(this.checkedObj || {}))
this.aryys = JSON.parse(JSON.stringify(this.checkedObj||{})) this.aryys = JSON.parse(JSON.stringify(this.checkedObj || {}))
this.getBounht(); this.getBounht();
}, },
methods: { methods: {
// //
producrprice(e, i, item) { producrprice(e, i, item) {
this.bought[i].price = e.detail.value this.bought[i].price = e.detail.value
// , , // , ,
let obj = this.checkedArr.find((item)=>item.product_id==this.bought[i].product_id); let obj = this.checkedArr.find((item) => item.product_id == this.bought[i].product_id);
obj ? obj.price = e.detail.value:null; obj ? obj.price = e.detail.value : null;
// this.$set(item, 'check', false); // this.$set(item, 'check', false);
// for (let i in this.checkedArr) { // for (let i in this.checkedArr) {
// if (this.checkedArr[i].product_id == item.product_id) { // if (this.checkedArr[i].product_id == item.product_id) {
@ -216,9 +216,9 @@
numberChange(data, i) { numberChange(data, i) {
this.peicenumber = data.number; this.peicenumber = data.number;
this.bought[i].number = data.number; this.bought[i].number = data.number;
// , , // , ,
let obj = this.checkedArr.find((item)=>item.product_id==this.bought[i].product_id); let obj = this.checkedArr.find((item) => item.product_id == this.bought[i].product_id);
obj ? obj.number = data.number:null; obj ? obj.number = data.number : null;
}, },
tabs(index) { tabs(index) {
@ -289,7 +289,7 @@
that.$set(item, 'check', true); that.$set(item, 'check', true);
that.$set(item, 'number', val.number); that.$set(item, 'number', val.number);
that.$set(item, 'price', val.price); that.$set(item, 'price', val.price);
that.peicenumber=val.number that.peicenumber = val.number
} }
}) })
}) })
@ -344,7 +344,7 @@
}, },
/*确定提交*/ /*确定提交*/
submit() { submit() {
console.log(this.checkedArr); console.log(this.checkedArr);
this.$emit('getProduct', this.checkedArr); this.$emit('getProduct', this.checkedArr);
}, },
@ -396,14 +396,14 @@
width: 44rpx; width: 44rpx;
height: 44rpx; height: 44rpx;
line-height: 44rpx; line-height: 44rpx;
border-radius: 50%; border-radius: 50%;
text-align: center; text-align: center;
position: absolute; position: absolute;
top: -150rpx; top: -150rpx;
right: 30rpx; right: 30rpx;
image { image {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -483,7 +483,6 @@
line-height: 60rpx; line-height: 60rpx;
text-align: center; text-align: center;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #959595; color: #959595;
background-color: #E7E6E4; background-color: #E7E6E4;
@ -512,9 +511,7 @@
background: #F5F5F5; background: #F5F5F5;
border-radius: 7rpx 7rpx 7rpx 7rpx; border-radius: 7rpx 7rpx 7rpx 7rpx;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
margin-left: 20rpx; margin-left: 20rpx;

View File

@ -63,13 +63,13 @@
}, },
methods: { methods: {
navigtion(item) { navigtion(item) {
if (item.title1 =='发布调货商品') { if (item.title1 == '发布调货商品') {
uni.navigateTo({ uni.navigateTo({
url: '/pages/trading_hall/transfer_goods/index' url: '/pages/trading_hall/transfer_goods/index'
}) })
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/trading_hall/adddiscounts/index' url: '/pages/trading_hall/adddiscounts/index'
}) })
@ -121,7 +121,7 @@
.release_content_left { .release_content_left {
display: flex; display: flex;
} }
.release_content_right { .release_content_right {
@ -135,7 +135,7 @@
height: 96rpx; height: 96rpx;
margin-top: 21rpx; margin-top: 21rpx;
margin-right: 19rpx; margin-right: 19rpx;
image { image {
width: 111rpx; width: 111rpx;
@ -144,10 +144,10 @@
} }
.release_imga { .release_imga {
width: 76rpx; width: 76rpx;
height: 113rpx; height: 113rpx;
margin-top: 5rpx; margin-top: 5rpx;
margin-right: 50rpx; margin-right: 50rpx;
@ -163,14 +163,12 @@
.title1 { .title1 {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
.title2 { .title2 {
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #666666; color: #666666;
margin-top: 11rpx; margin-top: 11rpx;

View File

@ -159,23 +159,23 @@
checkedObj: { checkedObj: {
handler(n) { handler(n) {
this.checkedArr = JSON.parse(JSON.stringify(n||{})) this.checkedArr = JSON.parse(JSON.stringify(n || {}))
}, },
deep: true deep: true
} }
}, },
mounted() { mounted() {
this.checkedArr = JSON.parse(JSON.stringify(this.checkedObj||{})) this.checkedArr = JSON.parse(JSON.stringify(this.checkedObj || {}))
this.aryys = JSON.parse(JSON.stringify(this.checkedObj||{})) this.aryys = JSON.parse(JSON.stringify(this.checkedObj || {}))
this.getBounht(); this.getBounht();
}, },
methods: { methods: {
// //
producrprice(e, i, item) { producrprice(e, i, item) {
this.bought[i].price = e.detail.value this.bought[i].price = e.detail.value
// , , // , ,
let obj = this.checkedArr.find((item)=>item.product_id==this.bought[i].product_id); let obj = this.checkedArr.find((item) => item.product_id == this.bought[i].product_id);
obj ? obj.price = e.detail.value:null; obj ? obj.price = e.detail.value : null;
// this.$set(item, 'check', false); // this.$set(item, 'check', false);
// for (let i in this.checkedArr) { // for (let i in this.checkedArr) {
// if (this.checkedArr[i].product_id == item.product_id) { // if (this.checkedArr[i].product_id == item.product_id) {
@ -212,9 +212,9 @@
numberChange(data, i) { numberChange(data, i) {
this.peicenumber = data.number; this.peicenumber = data.number;
this.bought[i].number = data.number this.bought[i].number = data.number
// , , // , ,
let obj = this.checkedArr.find((item)=>item.product_id==this.bought[i].product_id); let obj = this.checkedArr.find((item) => item.product_id == this.bought[i].product_id);
obj ? obj.number = data.number:null; obj ? obj.number = data.number : null;
}, },
tabs(index) { tabs(index) {
@ -285,7 +285,7 @@
that.$set(item, 'check', true); that.$set(item, 'check', true);
that.$set(item, 'number', val.number); that.$set(item, 'number', val.number);
that.$set(item, 'price', val.price); that.$set(item, 'price', val.price);
that.peicenumber=val.number that.peicenumber = val.number
} }
}) })
}) })
@ -302,7 +302,7 @@
goodsCheck(item) { goodsCheck(item) {
this.$set(item, 'check', !item.check); this.$set(item, 'check', !item.check);
if (item.check) { if (item.check) {
if (this.peicenumber == 0) { if (this.peicenumber == 0) {
item.number = 1 item.number = 1
} }
@ -314,7 +314,7 @@
this.checkedArr.splice(this.checkedArr.findIndex(itemn => ((itemn.product_id == item.product_id))), 1) this.checkedArr.splice(this.checkedArr.findIndex(itemn => ((itemn.product_id == item.product_id))), 1)
} }
}, },
/*确定提交*/ /*确定提交*/
submit() { submit() {
@ -456,7 +456,6 @@
line-height: 60rpx; line-height: 60rpx;
text-align: center; text-align: center;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #959595; color: #959595;
background-color: #E7E6E4; background-color: #E7E6E4;
@ -485,7 +484,6 @@
background: #F5F5F5; background: #F5F5F5;
border-radius: 7rpx 7rpx 7rpx 7rpx; border-radius: 7rpx 7rpx 7rpx 7rpx;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
margin-left: 20rpx; margin-left: 20rpx;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -9,8 +9,8 @@
<view class="item-one"> <view class="item-one">
被委托商家 被委托商家
</view> </view>
<e-select v-model="formData.entrust_mer_id" :value='formData.entrust_mer_id' :options="options1" @change="change1" <e-select v-model="formData.entrust_mer_id" :value='formData.entrust_mer_id' :options="options1"
placeholder="选择选项"></e-select> @change="change1" placeholder="选择选项"></e-select>
</view> </view>
<view class="release_item-one"> <view class="release_item-one">
<view class="item-one"> <view class="item-one">
@ -170,16 +170,16 @@
}, },
// //
getProduct(data) { getProduct(data) {
this.productList = []; this.productList = [];
this.formData.product_info = []; this.formData.product_info = [];
this.formData.content = ''; this.formData.content = '';
if (data.length > 0) { if (data.length > 0) {
this.productList = data; this.productList = data;
for (let i in data) { for (let i in data) {
this.formData.content += data[i].store_name + ','; this.formData.content += data[i].store_name + ',';
if(typeof this.productList[i].image == 'object'){ if (typeof this.productList[i].image == 'object') {
this.productList[i].image = this.productList[i].image[0] this.productList[i].image = this.productList[i].image[0]
} }
this.formData.product_info.push({ this.formData.product_info.push({
product_attr_unique: data[i].product_attr_unique, product_attr_unique: data[i].product_attr_unique,
number: Number(data[i].number), number: Number(data[i].number),
@ -187,7 +187,7 @@
}) })
} }
} }
this.formData.content = this.formData.content.slice(0,-1); this.formData.content = this.formData.content.slice(0, -1);
this.$refs.associated.close() this.$refs.associated.close()
}, },
// //
@ -199,79 +199,79 @@
if (value.entrust_day.length == 0 || value.entrust_day <= 0) return that.$util.Tips({ if (value.entrust_day.length == 0 || value.entrust_day <= 0) return that.$util.Tips({
title: '请选择委托周期' title: '请选择委托周期'
}); });
if (value.entrust_day < 15) return that.$util.Tips({ if (value.entrust_day < 15) return that.$util.Tips({
title: '委托周期不得小于15天' title: '委托周期不得小于15天'
}); });
if (value.entrust_day > 90) return that.$util.Tips({ if (value.entrust_day > 90) return that.$util.Tips({
title: '委托周期不得大于90天' title: '委托周期不得大于90天'
}); });
if (value.product_info.length == 0) return that.$util.Tips({ if (value.product_info.length == 0) return that.$util.Tips({
title: '请选择产品' title: '请选择产品'
}); });
if (!value.entrust_mer_id) return that.$util.Tips({ if (!value.entrust_mer_id) return that.$util.Tips({
title: '请添加商家' title: '请添加商家'
}); });
this.type? this.type ?
editentrust(this.id,value).then(res => { editentrust(this.id, value).then(res => {
if (res.status == '200') { if (res.status == '200') {
uni.hideLoading() uni.hideLoading()
that.$util.Tips({ that.$util.Tips({
title: '编辑成功', title: '编辑成功',
icon: 'success' icon: 'success'
}); });
that.formData = { that.formData = {
entrust_mer_id: '', entrust_mer_id: '',
entrust_day: 0, entrust_day: 0,
is_type: "4", is_type: "4",
product_info: [] product_info: []
} }
uni.redirectTo({ uni.redirectTo({
url: '/pages/commissionedSales/initiateDelegation/index' url: '/pages/commissionedSales/initiateDelegation/index'
}) })
} else {
that.$util.Tips({
title: res.messge,
icon: 'success'
});
}
}).catch(err => {
return that.$util.Tips({
title: err
});
})
:
entrustchain(value).then(res => {
if (res.status == '200') {
uni.hideLoading()
that.$util.Tips({
title: '提交成功',
icon: 'success'
});
that.formData = {
entrust_mer_id: '',
entrust_day: 0,
is_type: "4",
product_info: []
}
uni.redirectTo({
url: '/pages/commissionedSales/initiateDelegation/index'
})
} else { } else {
that.$util.Tips({ that.$util.Tips({
title: res.messge, title: res.messge,
icon: 'success' icon: 'success'
}); });
} }
}).catch(err => { }).catch(err => {
return that.$util.Tips({ return that.$util.Tips({
title: err title: err
}); });
}) })
:
entrustchain(value).then(res => {
if (res.status == '200') {
uni.hideLoading()
that.$util.Tips({
title: '提交成功',
icon: 'success'
});
that.formData = {
entrust_mer_id: '',
entrust_day: 0,
is_type: "4",
product_info: []
}
uni.redirectTo({
url: '/pages/commissionedSales/initiateDelegation/index'
})
} else {
that.$util.Tips({
title: res.messge,
icon: 'success'
});
}
}).catch(err => {
return that.$util.Tips({
title: err
});
})
} }
} }
@ -316,7 +316,6 @@
.center-one-txt { .center-one-txt {
.one-txta { .one-txta {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
@ -325,7 +324,6 @@
display: flex; display: flex;
margin-top: 28rpx; margin-top: 28rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
@ -351,7 +349,6 @@
margin-top: 32rpx; margin-top: 32rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
} }
@ -525,7 +522,6 @@
background: linear-gradient(84deg, #F98649 0%, #F34E45 100%); background: linear-gradient(84deg, #F98649 0%, #F34E45 100%);
border-radius: 42px 42px 42px 42px; border-radius: 42px 42px 42px 42px;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #FFFFFF;
} }

View File

@ -101,7 +101,8 @@
<view class="center-twoa"> <view class="center-twoa">
拒绝原因: 拒绝原因:
</view> </view>
<view class="center-twob" :style="{'text-align':objinfo.entrust_finish_refusal.length<15?'right':'left'}"> <view class="center-twob"
:style="{'text-align':objinfo.entrust_finish_refusal.length<15?'right':'left'}">
{{objinfo.entrust_finish_refusal}} {{objinfo.entrust_finish_refusal}}
</view> </view>
</view> </view>
@ -111,7 +112,7 @@
<view class="content_bootm"> <view class="content_bootm">
<view class="content_bootm_txt"> <view class="content_bootm_txt">
查看TA提到的宝贝 查看TA提到的宝贝
<text v-if="objinfo.product_list">({{objinfo.product_list.length||0}})</text> <text v-if="objinfo.product_list">({{objinfo.product_list.length||0}})</text>
</view> </view>
@ -154,13 +155,13 @@
} }
], ],
type: 0, type: 0,
credit_buy: 0, credit_buy: 0,
} }
}, },
onLoad(e) { onLoad(e) {
this.list(e.id) this.list(e.id)
this.type = e.type this.type = e.type
this.credit_buy = e.credit_buy || 0; this.credit_buy = e.credit_buy || 0;
}, },
onShow() { onShow() {
@ -233,7 +234,6 @@
.top-two-one { .top-two-one {
font-size: 35rpx; font-size: 35rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #FFFFFF;
margin-top: 10rpx; margin-top: 10rpx;
@ -280,7 +280,6 @@
.center-one-txt { .center-one-txt {
.one-txta { .one-txta {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
@ -289,7 +288,6 @@
display: flex; display: flex;
margin-top: 28rpx; margin-top: 28rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
@ -316,7 +314,6 @@
.center-twoa { .center-twoa {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
} }
@ -327,7 +324,6 @@
word-wrap: break-word; word-wrap: break-word;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
} }
@ -377,7 +373,6 @@
background: linear-gradient(84deg, #F98649 0%, #F34E45 100%); background: linear-gradient(84deg, #F98649 0%, #F34E45 100%);
border-radius: 42px 42px 42px 42px; border-radius: 42px 42px 42px 42px;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #FFFFFF;
position: absolute; position: absolute;

View File

@ -147,7 +147,6 @@
.titlea { .titlea {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #FFFFFF;
} }
@ -155,7 +154,6 @@
.titleb { .titleb {
margin-top: 5rpx; margin-top: 5rpx;
font-size: 25rpx; font-size: 25rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: rgba(255, 255, 255, 0.8); color: rgba(255, 255, 255, 0.8);
} }

View File

@ -11,92 +11,92 @@
<view class="content-one"> <view class="content-one">
<view class="content-one-img"> <view class="content-one-img">
<!-- <image :src="item.mer_info&&item.mer_info.mer_avatar" mode="aspectFit"></image> --> <!-- <image :src="item.mer_info&&item.mer_info.mer_avatar" mode="aspectFit"></image> -->
<image :src="item.entrust_mer_info&&item.entrust_mer_info.mer_avatar" mode="aspectFill"></image> <image :src="item.entrust_mer_info&&item.entrust_mer_info.mer_avatar" mode="aspectFill"></image>
</view> </view>
<view class="content-text"> <view class="content-text">
<view class="flex" style="justify-content: space-between;"> <view class="flex" style="justify-content: space-between;">
<view class="one-txt-a"> <view class="one-txt-a">
{{item.title}} {{item.title}}
</view> </view>
<block> <block>
<view class="content-two_one" v-if="item.mer_status==0"> <view class="content-two_one" v-if="item.mer_status==0">
<view class="content-two-edita" style="font-weight: bold;"> <view class="content-two-edita" style="font-weight: bold;">
待处理 待处理
</view> </view>
</view> </view>
<view class="content-two_oneq" v-if="item.mer_status==1"> <view class="content-two_oneq" v-if="item.mer_status==1">
<view class="content-two-editb" @click="accepted" style="font-weight: bold;"> <view class="content-two-editb" @click="accepted" style="font-weight: bold;">
已接受 已接受
</view> </view>
</view> </view>
<view class="content-two_one" v-if="item.mer_status==2"> <view class="content-two_one" v-if="item.mer_status==2">
<view class="content-two-editc" @click="declined" style="font-weight: bold;"> <view class="content-two-editc" @click="declined" style="font-weight: bold;">
已拒绝 已拒绝
</view> </view>
</view> </view>
<view class="content-two_one" v-if="item.type==4" style="font-weight: bold;"> <view class="content-two_one" v-if="item.type==4" style="font-weight: bold;">
<view class="content-two-editd" @click="soldEdit"> <view class="content-two-editd" @click="soldEdit">
已完成 已完成
</view> </view>
</view> </view>
</block> </block>
</view> </view>
<view class="text-bottom"> <view class="text-bottom">
<view class="one-txt-b"> <view class="one-txt-b">
委托周期:{{item.entrust_day}} 委托周期:{{item.entrust_day}}
</view> </view>
<block> <block>
<view class="content-two_one" v-if="item.mer_status==0"> <view class="content-two_one" v-if="item.mer_status==0">
<view class="contentgn"> <view class="contentgn">
<view class="contentgn_a" style="margin-left: 10rpx;" @click="Edit(item)"> <view class="contentgn_a" style="margin-left: 10rpx;" @click="Edit(item)">
编辑 编辑
</view> </view>
<span></span> <span></span>
<view class="contentgn_a" style="margin-left: 10rpx;" @click="deleteOrder(item)"> <view class="contentgn_a" style="margin-left: 10rpx;" @click="deleteOrder(item)">
删除 删除
</view> </view>
<span></span> <span></span>
<view class="contentgn_b" @click="detail(item)"> <view class="contentgn_b" @click="detail(item)">
详情 详情
</view> </view>
</view> </view>
</view> </view>
<view class="content-two_oneq" v-if="item.mer_status==1"> <view class="content-two_oneq" v-if="item.mer_status==1">
<view class="contentgn"> <view class="contentgn">
<view class="contentgn_a" @click="closingorder(item)" v-if="item.entrust_finish==3"> <view class="contentgn_a" @click="closingorder(item)" v-if="item.entrust_finish==3">
结束委托 结束委托
</view> </view>
<span v-if="item.entrust_finish==3"></span> <span v-if="item.entrust_finish==3"></span>
<view class="contentgn_b" @click="detail(item)"> <view class="contentgn_b" @click="detail(item)">
详情 详情
</view> </view>
</view> </view>
</view> </view>
<view class="content-two_one" v-if="item.mer_status==2"> <view class="content-two_one" v-if="item.mer_status==2">
<view class="contentgn"> <view class="contentgn">
<!--<view class="contentgn_a" @click="deleteOrder(item)"> <!--<view class="contentgn_a" @click="deleteOrder(item)">
删除 删除
</view> </view>
<span></span> --> <span></span> -->
<view class="contentgn_b" @click="detail(item)"> <view class="contentgn_b" @click="detail(item)">
详情 详情
</view> </view>
</view> </view>
</view> </view>
<view class="content-two_one" v-if="item.type==4"> <view class="content-two_one" v-if="item.type==4">
<view class="contentgn"> <view class="contentgn">
<view class="contentgn_a" @click="deleteOrder(item)"> <view class="contentgn_a" @click="deleteOrder(item)">
删除 删除
</view> </view>
<span></span> <span></span>
<view class="contentgn_b" @click="detail(item)"> <view class="contentgn_b" @click="detail(item)">
详情 详情
</view> </view>
</view> </view>
</view> </view>
</block> </block>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
@ -112,7 +112,7 @@
<emptyPage title="暂无订单~"></emptyPage> <emptyPage title="暂无订单~"></emptyPage>
</view> </view>
<u-loadmore :status="status" v-if="orderList.length >= where.limit" /> <u-loadmore :status="status" v-if="orderList.length >= where.limit" />
<view style="height: 200rpx;"></view> <view style="height: 200rpx;"></view>
<uni-popup ref="bindmobile" type="center" @click="close"> <uni-popup ref="bindmobile" type="center" @click="close">
<view class="" style="position: relative;"> <view class="" style="position: relative;">
<view class="entrust"> <view class="entrust">
@ -418,7 +418,7 @@
// this.$refs.bindmobile2.open() // this.$refs.bindmobile2.open()
this.$refs.bindmobile3.open() this.$refs.bindmobile3.open()
}, },
agree(item, status=2) { agree(item, status = 2) {
finishentrust(item.community_id, { finishentrust(item.community_id, {
status: status, status: status,
refusal: this.refuseds refusal: this.refuseds
@ -437,31 +437,31 @@
}, },
// //
deleteOrder(item) { deleteOrder(item) {
uni.showModal({ uni.showModal({
title:'警告', title: '警告',
content:'删除后不可恢复, 是否继续删除?', content: '删除后不可恢复, 是否继续删除?',
complete: (e) => { complete: (e) => {
if(e.confirm){ if (e.confirm) {
checkchain(item.community_id, { checkchain(item.community_id, {
status: 3 status: 3
}).then(res => { }).then(res => {
this.$util.Tips({ this.$util.Tips({
title: res.message, title: res.message,
icon: 'success' icon: 'success'
}) })
this.orderList = [] this.orderList = []
this.tabTitle = "tabOne" this.tabTitle = "tabOne"
this.commislist() this.commislist()
}).catch((err) => { }).catch((err) => {
console.log(err) console.log(err)
this.$util.Tips({ this.$util.Tips({
title: err, title: err,
icon: 'error' icon: 'error'
}) })
}) })
} }
} }
}) })
}, },
// //
auditEdit() { auditEdit() {
@ -542,7 +542,6 @@
.adddelegation-two { .adddelegation-two {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #FFFFFF;
margin-top: 25rpx; margin-top: 25rpx;
@ -569,7 +568,7 @@
.content-one { .content-one {
width: 100%; width: 100%;
display: flex; display: flex;
padding-bottom: 23rpx; padding-bottom: 23rpx;
@ -579,8 +578,8 @@
height: 148rpx; height: 148rpx;
margin-right: 28rpx; margin-right: 28rpx;
// border: 1px solid; // border: 1px solid;
border-radius: 10rpx; border-radius: 10rpx;
overflow: hidden; overflow: hidden;
image { image {
width: 100%; width: 100%;
@ -593,7 +592,6 @@
.txt-b-a { .txt-b-a {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
@ -612,33 +610,35 @@
.txt-b-b { .txt-b-b {
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #333333 color: #333333
} }
} }
} }
.content-text{ .content-text {
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
.text-bottom{
display: flex; .text-bottom {
justify-content: space-between; display: flex;
} justify-content: space-between;
.one-txt-a{ }
flex: 1;
font-size: 30rpx; .one-txt-a {
display: -webkit-box; flex: 1;
-webkit-line-clamp: 2; /* 限制为三行 */ font-size: 30rpx;
-webkit-box-orient: vertical; display: -webkit-box;
overflow: hidden; -webkit-line-clamp: 2;
text-overflow: ellipsis; /* 限制为三行 */
} -webkit-box-orient: vertical;
} overflow: hidden;
text-overflow: ellipsis;
}
}
} }
@ -686,7 +686,6 @@
.contentgn_a { .contentgn_a {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #F84221; color: #F84221;
margin-right: 10rpx; margin-right: 10rpx;
@ -704,7 +703,6 @@
.contentgn_b { .contentgn_b {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
margin-left: 10rpx; margin-left: 10rpx;
@ -716,7 +714,7 @@
.content-two_one { .content-two_one {
flex-shrink: 0; flex-shrink: 0;
text-align: right; text-align: right;
@ -760,7 +758,6 @@
.contentgn_a { .contentgn_a {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #F84221; color: #F84221;
margin-right: 10rpx; margin-right: 10rpx;
@ -777,7 +774,6 @@
.contentgn_b { .contentgn_b {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
margin-left: 10rpx; margin-left: 10rpx;
@ -819,7 +815,6 @@
.bg-content-a { .bg-content-a {
margin-left: 242rpx; margin-left: 242rpx;
font-size: 35rpx; font-size: 35rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
@ -827,14 +822,12 @@
.bg-content-b { .bg-content-b {
margin-left: 35rpx; margin-left: 35rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin-top: 32rpx; margin-top: 32rpx;
span { span {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #F84221; color: #F84221;
margin-left: 18rpx; margin-left: 18rpx;
@ -844,14 +837,12 @@
.bg-content-c { .bg-content-c {
margin-left: 35rpx; margin-left: 35rpx;
font-size: 35rpx; font-size: 35rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin-top: 32rpx; margin-top: 32rpx;
span { span {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #F84221; color: #F84221;
margin-left: 18rpx; margin-left: 18rpx;
@ -867,7 +858,6 @@
height: 95rpx; height: 95rpx;
line-height: 95rpx; line-height: 95rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
margin-left: 121rpx; margin-left: 121rpx;
@ -880,7 +870,6 @@
line-height: 95rpx; line-height: 95rpx;
text-align: center; text-align: center;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #FFFFFF;
background: linear-gradient(180deg, #F98649 0%, #F34E45 100%); background: linear-gradient(180deg, #F98649 0%, #F34E45 100%);
@ -904,7 +893,6 @@
.bg-content-a { .bg-content-a {
margin-left: 242rpx; margin-left: 242rpx;
font-size: 35rpx; font-size: 35rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
@ -917,7 +905,6 @@
height: 95rpx; height: 95rpx;
line-height: 95rpx; line-height: 95rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
margin-left: 121rpx; margin-left: 121rpx;
@ -930,7 +917,6 @@
line-height: 95rpx; line-height: 95rpx;
text-align: center; text-align: center;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #FFFFFF;
background: linear-gradient(180deg, #F98649 0%, #F34E45 100%); background: linear-gradient(180deg, #F98649 0%, #F34E45 100%);
@ -957,7 +943,6 @@
.bg-content-a { .bg-content-a {
margin-left: 242rpx; margin-left: 242rpx;
font-size: 35rpx; font-size: 35rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
@ -965,14 +950,12 @@
.bg-content-b { .bg-content-b {
margin-left: 35rpx; margin-left: 35rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin-top: 32rpx; margin-top: 32rpx;
span { span {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #F84221; color: #F84221;
margin-left: 18rpx; margin-left: 18rpx;
@ -982,14 +965,12 @@
.bg-content-c { .bg-content-c {
margin-left: 35rpx; margin-left: 35rpx;
font-size: 35rpx; font-size: 35rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin-top: 22rpx; margin-top: 22rpx;
span { span {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #F84221; color: #F84221;
margin-left: 18rpx; margin-left: 18rpx;
@ -1017,7 +998,6 @@
line-height: 95rpx; line-height: 95rpx;
text-align: center; text-align: center;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #FFFFFF;
background: linear-gradient(180deg, #F98649 0%, #F34E45 100%); background: linear-gradient(180deg, #F98649 0%, #F34E45 100%);

View File

@ -13,94 +13,98 @@
</view> </view>
<view class="content-text"> <view class="content-text">
<view class="flex" style="justify-content: space-between;"> <view class="flex" style="justify-content: space-between;">
<view class="one-txt-a"> <view class="one-txt-a">
{{item.title}} {{item.title}}
</view> </view>
<block> <block>
<view class="content-two_one" v-if="item.mer_status==0"> <view class="content-two_one" v-if="item.mer_status==0">
<view class="content-two-edita" style="font-weight: bold;"> <view class="content-two-edita" style="font-weight: bold;">
待处理 待处理
</view> </view>
</view> </view>
<view class="content-two_oneq" v-if="item.mer_status==1"> <view class="content-two_oneq" v-if="item.mer_status==1">
<view class="content-two-editb" @click="accepted" style="font-weight: bold;"> <view class="content-two-editb" @click="accepted" style="font-weight: bold;">
已接受 已接受
</view> </view>
</view> </view>
<view class="content-two_one" v-if="item.mer_status==2"> <view class="content-two_one" v-if="item.mer_status==2">
<view class="content-two-editc" @click="declined" style="font-weight: bold;"> <view class="content-two-editc" @click="declined" style="font-weight: bold;">
已拒绝 已拒绝
</view> </view>
</view> </view>
<view class="content-two_one" v-if="item.type==4" style="font-weight: bold;"> <view class="content-two_one" v-if="item.type==4" style="font-weight: bold;">
<view class="content-two-editd" @click="soldEdit"> <view class="content-two-editd" @click="soldEdit">
已完成 已完成
</view> </view>
</view> </view>
</block> </block>
</view> </view>
<view class="text-bottom"> <view class="text-bottom">
<view class="one-txt-b"> <view class="one-txt-b">
委托周期:{{item.entrust_day}} 委托周期:{{item.entrust_day}}
</view> </view>
<block> <block>
<view class="content-two_one" v-if="item.mer_status==0"> <view class="content-two_one" v-if="item.mer_status==0">
<view class="contentgn"> <view class="contentgn">
<view class="contentgn_a" @click="soldEdit(item)"> <view class="contentgn_a" @click="soldEdit(item)">
处理 处理
</view> </view>
<span></span> <span></span>
<view class="contentgn_b" @click="detail(item)"> <view class="contentgn_b" @click="detail(item)">
详情 详情
</view> </view>
</view> </view>
</view> </view>
<view class="content-two_oneq" v-if="item.mer_status==1"> <view class="content-two_oneq" v-if="item.mer_status==1">
<view class="contentgn"> <view class="contentgn">
<block v-if="item.entrust_order_id>0&&item.mer_status==1"> <block v-if="item.entrust_order_id>0&&item.mer_status==1">
<view class="contentgn_a" v-if="item.entrust_finish==0" style="margin-left: 10rpx;" @click="closingorder(item)"> <view class="contentgn_a" v-if="item.entrust_finish==0"
申请结束 style="margin-left: 10rpx;" @click="closingorder(item)">
</view> 申请结束
<view class="contentgn_a" v-else-if="item.entrust_finish==1" style="margin-left: 10rpx; color: #20A162;"> </view>
已结束 <view class="contentgn_a" v-else-if="item.entrust_finish==1"
</view> style="margin-left: 10rpx; color: #20A162;">
<view class="contentgn_a" v-else-if="item.entrust_finish==2" @click="closingorder(item)" style="margin-left: 10rpx;"> 已结束
被拒绝 </view>
</view> <view class="contentgn_a" v-else-if="item.entrust_finish==2"
<view class="contentgn_a" v-else-if="item.entrust_finish==3" style="margin-left: 10rpx; color: #FE9A10;"> @click="closingorder(item)" style="margin-left: 10rpx;">
申请中 被拒绝
</view> </view>
<span></span> <view class="contentgn_a" v-else-if="item.entrust_finish==3"
</block> style="margin-left: 10rpx; color: #FE9A10;">
<view class="contentgn_a" v-if="item.entrust_order_id==0" style="margin-left: 10rpx;" 申请中
@click="order(item)"> </view>
去下单 <span></span>
</view> </block>
<span v-if="item.entrust_order_id==0"></span> <view class="contentgn_a" v-if="item.entrust_order_id==0"
style="margin-left: 10rpx;" @click="order(item)">
<view class="contentgn_b" @click="detail(item)"> 去下单
详情 </view>
</view> <span v-if="item.entrust_order_id==0"></span>
</view>
</view> <view class="contentgn_b" @click="detail(item)">
<view class="content-two_one" v-if="item.mer_status==2"> 详情
<view class="contentgn"> </view>
<view class="contentgn_b" @click="detail(item)"> </view>
详情 </view>
</view> <view class="content-two_one" v-if="item.mer_status==2">
</view> <view class="contentgn">
</view> <view class="contentgn_b" @click="detail(item)">
<view class="content-two_one" v-if="item.type==4"> 详情
<view class="contentgn"> </view>
</view>
<view class="contentgn_b" @click="detail(item)"> </view>
详情 <view class="content-two_one" v-if="item.type==4">
</view> <view class="contentgn">
</view>
</view> <view class="contentgn_b" @click="detail(item)">
</block> 详情
</view> </view>
</view>
</view>
</block>
</view>
</view> </view>
</view> </view>
</view> </view>
@ -120,23 +124,23 @@
<view class="bg-content-a"> <view class="bg-content-a">
委托申请处理 委托申请处理
</view> </view>
<view class="bg-content-d" > <view class="bg-content-d">
委托方: <span>{{obj.mer_info.mer_name}}</span> 委托方: <span>{{obj.mer_info.mer_name}}</span>
</view> </view>
<block v-if="obj.mer_info.credit_buy"> <block v-if="obj.mer_info.credit_buy">
<view class="bg-content-b" > <view class="bg-content-b">
结算周期: <span>{{obj.mer_info.settle_cycle}}</span> 结算周期: <span>{{obj.mer_info.settle_cycle}}</span>
</view> </view>
<view class="bg-content-c" > <view class="bg-content-c">
利息比例: <span>{{obj.mer_info.interest_rate}}%</span> 利息比例: <span>{{obj.mer_info.interest_rate}}%</span>
</view> </view>
</block> </block>
<block v-else> <block v-else>
<view class="bg-content-b" > <view class="bg-content-b">
该商户暂不支持先货后款 该商户暂不支持先货后款
</view> </view>
<view style="height: 60rpx;"></view> <view style="height: 60rpx;"></view>
</block> </block>
<view class="entrust_bga_btn"> <view class="entrust_bga_btn">
<view class="cancellation" @click="passDelete(obj)"> <view class="cancellation" @click="passDelete(obj)">
拒绝 拒绝
@ -249,7 +253,7 @@
entrustlist, entrustlist,
finishchain, finishchain,
checkchain, checkchain,
addEntrustCart addEntrustCart
} from '@/api/sale.js' } from '@/api/sale.js'
export default { export default {
components: { components: {
@ -264,7 +268,7 @@
activeItem: "tabOne", activeItem: "tabOne",
tabTitle: "", tabTitle: "",
orderList: [], orderList: [],
type_id: '', type_id: '',
where: { where: {
page: 1, page: 1,
type: 2, type: 2,
@ -316,7 +320,7 @@
} }
}, },
onLoad(options) { onLoad(options) {
this.type_id = options.type_id this.type_id = options.type_id
this.tabTitle = this.tabs[0].name this.tabTitle = this.tabs[0].name
// -- : // -- :
console.log(this.tabs[0]) console.log(this.tabs[0])
@ -390,20 +394,20 @@
// uni.navigateTo({ // uni.navigateTo({
// url: '/pages/commissionedSales/delegation_details/index?id=' + item.community_id + '&type=1' // url: '/pages/commissionedSales/delegation_details/index?id=' + item.community_id + '&type=1'
// }) // })
addEntrustCart({ addEntrustCart({
community_id: item.community_id community_id: item.community_id
}).then(res => { }).then(res => {
if (res.status == 200) { if (res.status == 200) {
this.$util.Tips({ this.$util.Tips({
title: res.message, title: res.message,
icon: 'success' icon: 'success'
}) })
uni.navigateTo({ uni.navigateTo({
url: `/pages/users/order_confirm/index?cartId=${res.data.cart_id.toString()}&type_id=${this.type_id}` url: `/pages/users/order_confirm/index?cartId=${res.data.cart_id.toString()}&type_id=${this.type_id}`
}) })
} }
}) })
}, },
// //
deteragrss(item) { deteragrss(item) {
@ -421,7 +425,7 @@
this.commislist() this.commislist()
this.$refs.bindmobile1.close() this.$refs.bindmobile1.close()
}).catch((err) => { }).catch((err) => {
this.$refs.bindmobile1.close() this.$refs.bindmobile1.close()
this.$util.Tips({ this.$util.Tips({
title: err, title: err,
icon: 'error' icon: 'error'
@ -507,7 +511,7 @@
.content-one { .content-one {
width: 100%; width: 100%;
display: flex; display: flex;
padding-bottom: 23rpx; padding-bottom: 23rpx;
@ -516,9 +520,9 @@
height: 148rpx; height: 148rpx;
margin-right: 28rpx; margin-right: 28rpx;
// border: 1px solid; // border: 1px solid;
border-radius: 10rpx; border-radius: 10rpx;
overflow: hidden; overflow: hidden;
flex-shrink: 0; flex-shrink: 0;
image { image {
width: 100%; width: 100%;
@ -527,11 +531,10 @@
} }
.content-one-txt { .content-one-txt {
flex: 1; flex: 1;
.txt-b-a { .txt-b-a {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
@ -550,39 +553,41 @@
.txt-b-b { .txt-b-b {
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #333333 color: #333333
} }
} }
} }
.content-text{ .content-text {
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
.text-bottom{
display: flex; .text-bottom {
justify-content: space-between; display: flex;
} justify-content: space-between;
.one-txt-a{ }
flex: 1;
font-size: 30rpx; .one-txt-a {
display: -webkit-box; flex: 1;
-webkit-line-clamp: 2; /* 限制为三行 */ font-size: 30rpx;
-webkit-box-orient: vertical; display: -webkit-box;
overflow: hidden; -webkit-line-clamp: 2;
text-overflow: ellipsis; /* 限制为三行 */
} -webkit-box-orient: vertical;
} overflow: hidden;
text-overflow: ellipsis;
}
}
} }
.content-two_oneq { .content-two_oneq {
text-align: right; text-align: right;
flex-shrink: 0; flex-shrink: 0;
.content-two-edita { .content-two-edita {
@ -624,7 +629,6 @@
.contentgn_a { .contentgn_a {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #F84221; color: #F84221;
margin-right: 10rpx; margin-right: 10rpx;
@ -642,7 +646,6 @@
.contentgn_b { .contentgn_b {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
margin-left: 10rpx; margin-left: 10rpx;
@ -654,7 +657,7 @@
.content-two_one { .content-two_one {
flex-shrink: 0; flex-shrink: 0;
text-align: right; text-align: right;
@ -698,7 +701,6 @@
.contentgn_a { .contentgn_a {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #F84221; color: #F84221;
margin-right: 10rpx; margin-right: 10rpx;
@ -716,7 +718,6 @@
.contentgn_b { .contentgn_b {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
margin-left: 10rpx; margin-left: 10rpx;
@ -757,7 +758,6 @@
.bg-content-a { .bg-content-a {
margin-left: 242rpx; margin-left: 242rpx;
font-size: 35rpx; font-size: 35rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
} }
@ -765,14 +765,12 @@
.bg-content-b { .bg-content-b {
margin-left: 35rpx; margin-left: 35rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin-top: 16rpx; margin-top: 16rpx;
span { span {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #F84221; color: #F84221;
margin-left: 18rpx; margin-left: 18rpx;
@ -782,35 +780,32 @@
.bg-content-c { .bg-content-c {
margin-left: 35rpx; margin-left: 35rpx;
font-size: 35rpx; font-size: 35rpx;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin-top: 16rpx; margin-top: 16rpx;
span { span {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #F84221; color: #F84221;
margin-left: 18rpx; margin-left: 18rpx;
} }
} }
.bg-content-d {
margin-left: 35rpx; .bg-content-d {
font-size: 32rpx; margin-left: 35rpx;
font-family: PingFang SC; font-size: 32rpx;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
margin-top: 16rpx; margin-top: 16rpx;
span { span {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC; font-weight: 500;
font-weight: 500; color: #F84221;
color: #F84221; margin-left: 18rpx;
margin-left: 18rpx; }
} }
}
} }
.entrust_bga_btn { .entrust_bga_btn {
@ -821,7 +816,6 @@
height: 95rpx; height: 95rpx;
line-height: 95rpx; line-height: 95rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
margin-left: 121rpx; margin-left: 121rpx;
@ -834,7 +828,6 @@
line-height: 95rpx; line-height: 95rpx;
text-align: center; text-align: center;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #FFFFFF; color: #FFFFFF;
background: linear-gradient(180deg, #F98649 0%, #F34E45 100%); background: linear-gradient(180deg, #F98649 0%, #F34E45 100%);

View File

@ -1,6 +1,5 @@
<template> <template>
<view class="content"> <view class="content">
<button @click="openDiver">anniu</button>
<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">
@ -85,10 +84,11 @@
常用工具 常用工具
<view class=""></view> <view class=""></view>
</view> </view>
<view class="tools-two" <!-- <view class="tools-two"
v-if="isgShow&&userInfoData.mer_info.setting_status==1&&userInfoData.mer_info.type_code=='TypeSupplyChain'"> v-if="isgShow&&userInfoData.mer_info.setting_status==1&&userInfoData.mer_info.type_code=='TypeSupplyChain'">
<view class="" v-for="(item,k) in typelistSupplyChain" :key='k' @click="navation(item)"> <view class="" v-for="(item,k) in typelistSupplyChain" :key='k' @click="navation(item)">
<view class="tools-two-img"> <view class="tools-two-img">
<image :src="item.image" mode=""></image> <image :src="item.image" mode=""></image>
</view> </view>
<view class="tools-two-title"> {{item.name}}</view> <view class="tools-two-title"> {{item.name}}</view>
@ -98,12 +98,13 @@
v-else-if="isgShow&&userInfoData.mer_info.setting_status==1&&userInfoData.mer_info.type_code=='PersonalStore'"> v-else-if="isgShow&&userInfoData.mer_info.setting_status==1&&userInfoData.mer_info.type_code=='PersonalStore'">
<view class="" v-for="(item,k) in typePersonalStoreList" :key='k' @click="navation(item)"> <view class="" v-for="(item,k) in typePersonalStoreList" :key='k' @click="navation(item)">
<view class="tools-two-img"> <view class="tools-two-img">
<image :src="item.image" mode=""></image> <image :src="item.image" mode=""></image>
</view> </view>
<view class="tools-two-title"> {{item.name}}</view> <view class="tools-two-title"> {{item.name}}</view>
</view> </view>
</view> </view> -->
<view class="tools-two" v-else-if="isgShow&&userInfoData.mer_info.setting_status==1"> <view class="tools-two" v-if="isgShow">
<view class="" v-for="(item,k) in typelist" :key='k' @click="navation(item)"> <view class="" v-for="(item,k) in typelist" :key='k' @click="navation(item)">
<view class="tools-two-img " :id="'asas'+k"> <view class="tools-two-img " :id="'asas'+k">
<image :src="item.image" mode=""></image> <image :src="item.image" mode=""></image>
@ -111,17 +112,15 @@
<view class="tools-two-title"> {{item.name}}</view> <view class="tools-two-title"> {{item.name}}</view>
</view> </view>
</view> </view>
<view class="tools-two" v-else> <!-- <view class="tools-two" v-else>
<view class="" @click="byset"> <view class="" @click="byset">
<view class="tools-two-img"> <view class="tools-two-img">
<image src="@/static/images/index11.png" mode=""></image> <image src="@/static/images/index11.png" mode=""></image>
</view> </view>
<view class="tools-two-title"> 商家设置</view> <view class="tools-two-title"> 商家设置</view>
</view> </view>
</view> </view> -->
</view> </view>
<view class="content-list"> <view class="content-list">
<view style="width: 100%;background-color: #fff;"> <view style="width: 100%;background-color: #fff;">
<view class="tools-one"> <view class="tools-one">
@ -457,6 +456,7 @@
}, },
data() { data() {
return { return {
subNVue: '',
elInfo: {}, elInfo: {},
isAuto: false, // isAuto: false, //
isShowAuth: false, // isShowAuth: false, //
@ -850,6 +850,7 @@
}, },
async onLoad() { async onLoad() {
this.subNVue = uni.getSubNVueById('concat')
this.Fheight = uni.getSystemInfoSync().windowHeight + 'px'; this.Fheight = uni.getSystemInfoSync().windowHeight + 'px';
await this.$onLaunched; await this.$onLaunched;
this.list1(); this.list1();
@ -859,6 +860,7 @@
this.loadEndFlag = true; this.loadEndFlag = true;
}); });
uni.$on('diverIndexSubEmit', () => { uni.$on('diverIndexSubEmit', () => {
this.subNVue.hide()
uni.navigateTo({ uni.navigateTo({
url: '/pages/product/list/index?diver=1' url: '/pages/product/list/index?diver=1'
}) })
@ -875,45 +877,50 @@
} }
}, },
onReady() { onReady() {
if (Boolean(this.$store.state.app.userInfo.service?.mer_id)) { // if (Boolean(this.$store.state.app.userInfo.service?.mer_id)) {
isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id).then(res => { // isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id).then(res => {
return // if (res.data == 'true') {
if (res.data == 'true') { // let that = this
let that = this // const query = uni.createSelectorQuery().in(this);
const query = uni.createSelectorQuery().in(this); // query
query // .select(".tools-two-img")
.select(".tools-two-img") // .boundingClientRect((data) => {
.boundingClientRect((data) => { // let info = JSON.stringify(data)
let info = JSON.stringify(data) // that.elInfo = data
that.elInfo = data // // #ifdef APP-PLUS
// #ifdef APP-PLUS // that.openDiver()
that.openDiver() // // #endif
// #endif // })
}) // .exec();
.exec(); // }
} // })
}) // }
}
}, },
onShow() { onShow() {
if (Boolean(this.$store.state.app.userInfo.service?.mer_id)) { if (Boolean(this.$store.state.app.userInfo.service?.mer_id)) {
isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id).then( isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id).then(
res => { res => {
return console.log(res.data)
if (res.data == 'true' && this.elInfo) { if (res.data == 'true' && this.elInfo) {
console.log('resdaa', res.data) let that = this
this.openDiver() const query = uni.createSelectorQuery().in(this);
query
.select(".tools-two-img")
.boundingClientRect((data) => {
let info = JSON.stringify(data)
that.elInfo = data
// #ifdef APP-PLUS
that.openDiver()
// #endif
})
.exec();
} }
}) })
} }
if (this.loadEndFlag) { if (this.loadEndFlag) {
this.getUserInfo(); this.getUserInfo();
this.codelist(); this.codelist();
@ -925,9 +932,22 @@
this.$bus.$off('value-updated') this.$bus.$off('value-updated')
}, },
methods: { methods: {
test1() {
isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id).then(res => {
console.log(res, 'res')
})
},
test2() {
isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id, {
done: 1
}).then(res => {
console.log(res, 'res')
})
},
openDiver() { openDiver() {
const subNVue = uni.getSubNVueById('concat') this.subNVue.show('zoom-out', 300)
subNVue.show('zoom-out', 300)
uni.$emit('diverIndexEmit', this.elInfo); uni.$emit('diverIndexEmit', this.elInfo);
}, },
// //

View File

@ -24,6 +24,9 @@
</template> </template>
<script> <script>
import {
isNewMer
} from '@/api/user.js';
export default { export default {
data() { data() {
return { return {
@ -37,16 +40,17 @@
}, },
methods: { methods: {
jump() { jump() {
isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id, {
done: 1
}).then(res => {
console.log(res, 'res')
})
this.subNVue.hide('zoom-in', 300, ) this.subNVue.hide('zoom-in', 300, )
}, },
next() { next() {
this.subNVue = uni.getSubNVueById('concat') // this.subNVue = uni.getSubNVueById('concat')
this.subNVue.hide('zoom-in', 300, ) // this.subNVue.hide('zoom-in', 300, )
setTimeout(() => { uni.$emit('diverIndexSubEmit');
uni.$emit('diverIndexSubEmit');
}, 300)
} }
}, },

View File

@ -487,7 +487,6 @@
box-sizing: border-box; box-sizing: border-box;
padding: 20rpx; padding: 20rpx;
padding-bottom: 200rpx; padding-bottom: 200rpx;
font-family: PingFangRegular;
} }

View File

@ -227,7 +227,7 @@
<view class=""> <view class="">
温馨提示 温馨提示
</view> </view>
<view class="" style="font-family: PingFangFamily;font-size: 36rpx;"> <view class="" style="font-size: 36rpx;">
发布中断可能导致商机流失 发布中断可能导致商机流失
</view> </view>
<view class="" style="font-size: 26rpx;color: #777777;"> <view class="" style="font-size: 26rpx;color: #777777;">
@ -794,7 +794,6 @@
background-color: #F1F1F1; background-color: #F1F1F1;
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 280rpx; padding-bottom: 280rpx;
font-family: PingFangRegular;
padding: 20rpx 20rpx 200rpx 20rpx; padding: 20rpx 20rpx 200rpx 20rpx;

View File

@ -378,13 +378,9 @@
</script> </script>
<style lang='scss'> <style lang='scss'>
.MediumFont { .MediumFont {}
font-family: PingFangFamily;
}
.RegularFont { .RegularFont {}
font-family: PingFangRegular;
}
.content { .content {
box-sizing: border-box; box-sizing: border-box;
@ -393,7 +389,6 @@
min-height: 100vh; min-height: 100vh;
position: relative; position: relative;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFangFamily;
} }
.label-cls { .label-cls {

View File

@ -5,7 +5,7 @@
</view> </view>
<view class="card" v-for="(item,index) in attrValue"> <view class="card" v-for="(item,index) in attrValue">
<view class="card-head card-li"> <view class="card-head card-li">
<text style="font-size: 32rpx;font-family: PingFangFamily;">规格{{index+1}}</text> <text style="font-size: 32rpx;">规格{{index+1}}</text>
<view class="" style="width: 300rpx;"> <view class="" style="width: 300rpx;">
<!-- {{formData.attr}} --> <!-- {{formData.attr}} -->
<!-- <u--input placeholder="请输入规格名称" inputAlign='right' v-model="formData.attr[index].value"></u--input> --> <!-- <u--input placeholder="请输入规格名称" inputAlign='right' v-model="formData.attr[index].value"></u--input> -->
@ -331,9 +331,7 @@
min-height: 100vh; min-height: 100vh;
position: relative; position: relative;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFangRegular;
padding-bottom: 200rpx; padding-bottom: 200rpx;
/* font-family: PingFangFamily; */
.card { .card {

View File

@ -115,13 +115,9 @@
</script> </script>
<style lang='scss'> <style lang='scss'>
.MediumFont { .MediumFont {}
font-family: PingFangFamily;
}
.RegularFont { .RegularFont {}
font-family: PingFangRegular;
}
.content { .content {
box-sizing: border-box; box-sizing: border-box;
@ -129,7 +125,6 @@
min-height: 100vh; min-height: 100vh;
position: relative; position: relative;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFangRegular;
.types { .types {
display: flex; display: flex;

View File

@ -119,7 +119,6 @@
background-color: white; background-color: white;
min-height: 100vh; min-height: 100vh;
position: relative; position: relative;
font-family: PingFangRegular;
.lines { .lines {
height: 16px; height: 16px;

View File

@ -50,7 +50,7 @@
next() { next() {
this.subNVue.hide('zoom-in', 300, ) this.subNVue.hide('zoom-in', 300, )
isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id, { isNewMer(this.$store.state.app.userInfo.uid, this.$store.state.app.userInfo.service?.mer_id, {
done: true done: 1
}).then(res => { }).then(res => {
console.log('res', res) console.log('res', res)
}) })

View File

@ -412,14 +412,4 @@ checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
width: 100%; width: 100%;
height: 80rpx; height: 80rpx;
overflow: hidden overflow: hidden
}
@font-face {
font-family: PingFangFamily;
src: url('/static/font/PingFangMedium.ttf');
}
@font-face {
font-family: PingFangRegular;
src: url('/static/font/PingFangRegular.ttf');
} }

Binary file not shown.

Binary file not shown.