merge
This commit is contained in:
33
App.vue
33
App.vue
@@ -1,19 +1,25 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
onLaunch() {
|
onLaunch() {
|
||||||
// if (typeof WeixinJSBridge == 'object' && typeof WeixinJSBridge.invoke == 'function') {
|
//#ifdef H5
|
||||||
// handleFontSize()
|
if (typeof WeixinJSBridge == 'object' && typeof WeixinJSBridge.invoke == 'function') {
|
||||||
// } else {
|
handleFontSize()
|
||||||
// document.addEventListener('WeixinJSBridgeReady', handleFontSize, false);
|
} else {
|
||||||
// }
|
document.addEventListener('WeixinJSBridgeReady', handleFontSize, false);
|
||||||
// function handleFontSize() {
|
}
|
||||||
// // 设置网页字体为默认大小
|
function handleFontSize() {
|
||||||
// WeixinJSBridge.invoke('setFontSizeCallback', { fontSize: 0 })
|
// 设置网页字体为默认大小
|
||||||
// // 重写设置网页字体大小的事件
|
WeixinJSBridge.invoke('setFontSizeCallback', {
|
||||||
// WeixinJSBridge.on('menu:setfont', function() {
|
fontSize: 0
|
||||||
// WeixinJSBridge.invoke('setFontSizeCallback', { fontSize: 0 })
|
})
|
||||||
// })
|
// 重写设置网页字体大小的事件
|
||||||
// }
|
WeixinJSBridge.on('menu:setfont', function() {
|
||||||
|
WeixinJSBridge.invoke('setFontSizeCallback', {
|
||||||
|
fontSize: 0
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
//#endif
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
console.log('App Show');
|
console.log('App Show');
|
||||||
@@ -29,6 +35,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import 'uview-ui/index.scss';
|
@import 'uview-ui/index.scss';
|
||||||
|
|
||||||
page {
|
page {
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
-webkit-text-size-adjust: 100% !important;
|
-webkit-text-size-adjust: 100% !important;
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Web唐明明
|
* Web唐明明
|
||||||
* 匆匆数载恍如梦,岁月迢迢华发增。
|
* 匆匆数载恍如梦,岁月迢迢华发增。
|
||||||
@@ -6,7 +5,9 @@
|
|||||||
* moduleName: 会员
|
* moduleName: 会员
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { request } from '../index'
|
import {
|
||||||
|
request
|
||||||
|
} from '../index'
|
||||||
|
|
||||||
// 会员身份信息
|
// 会员身份信息
|
||||||
const identities = () => {
|
const identities = () => {
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ const withdrawsIndexLists = (data) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 积分记录
|
// 贡献值记录
|
||||||
const userAccoutScores = (data) => {
|
const userAccoutScores = (data) => {
|
||||||
return request({
|
return request({
|
||||||
url: 'user/account/scores',
|
url: 'user/account/scores',
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="goods--list">
|
<view class="goods--list">
|
||||||
<block v-if="list.length > 0">
|
<block v-if="list.length > 0">
|
||||||
@@ -6,8 +5,18 @@
|
|||||||
<view class="cover">
|
<view class="cover">
|
||||||
<image class="cover--src" :src="item.cover" mode="aspectFill" />
|
<image class="cover--src" :src="item.cover" mode="aspectFill" />
|
||||||
</view>
|
</view>
|
||||||
|
<template v-if='notag === ""'>
|
||||||
|
<span class='is_self'
|
||||||
|
v-if='item.specal_tags.is_self'>{{item.specal_tags.is_self}}</span>
|
||||||
|
</template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="title">{{item.name}}</view>
|
<view class="title">
|
||||||
|
<template v-if='notag === ""'>
|
||||||
|
<span class='is_allow_values'
|
||||||
|
v-if='item.specal_tags.is_allow_values'>{{item.specal_tags.is_allow_values}}</span>
|
||||||
|
</template>
|
||||||
|
{{item.name}}
|
||||||
|
</view>
|
||||||
<view class="content-flex">
|
<view class="content-flex">
|
||||||
<view class="price eb" v-if="priceType === 'EB'">
|
<view class="price eb" v-if="priceType === 'EB'">
|
||||||
{{item.price}}<text>易币</text>
|
{{item.price}}<text>易币</text>
|
||||||
@@ -37,6 +46,10 @@
|
|||||||
export default {
|
export default {
|
||||||
name: 'goodsList',
|
name: 'goodsList',
|
||||||
props: {
|
props: {
|
||||||
|
notag: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
|
},
|
||||||
// 数据列表
|
// 数据列表
|
||||||
list: {
|
list: {
|
||||||
type: Array,
|
type: Array,
|
||||||
@@ -68,6 +81,7 @@ export default {
|
|||||||
padding: calc(#{$padding} - 10rpx);
|
padding: calc(#{$padding} - 10rpx);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
.goods--item {
|
.goods--item {
|
||||||
background: white;
|
background: white;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -75,10 +89,26 @@ export default {
|
|||||||
margin: 10rpx;
|
margin: 10rpx;
|
||||||
border-radius: $radius/2;
|
border-radius: $radius/2;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.is_self {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 20rpx;
|
||||||
|
background-image: linear-gradient(to bottom, #ee4c47, #9e312f);
|
||||||
|
// background-color: #ee4c47;
|
||||||
|
box-shadow: 0 4rpx 10rpx 2rpx rgba($color: #000, $alpha: .3);
|
||||||
|
color: #fff;
|
||||||
|
font-size: 26;
|
||||||
|
padding: 2rpx 20rpx 10rpx 20rpx;
|
||||||
|
border-radius: 0 0 50rpx 50rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.cover {
|
.cover {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-top: 100%;
|
padding-top: 100%;
|
||||||
|
|
||||||
.cover--src {
|
.cover--src {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -87,26 +117,41 @@ export default {
|
|||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding: $padding/2;
|
padding: $padding/2;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: $title-size-lg;
|
font-size: $title-size-lg;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
@extend .ellipsis;
|
@extend .ellipsis;
|
||||||
|
|
||||||
|
.is_allow_values {
|
||||||
|
color: #fff;
|
||||||
|
background-image: linear-gradient(to left, $main-color, $mian-color-light);
|
||||||
|
padding: 2rpx 14rpx;
|
||||||
|
font-size: 20rpx;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 30rpx;
|
||||||
|
margin-right: 20rpx;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.content-flex {
|
.content-flex {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-top: $padding/2;
|
padding-top: $padding/2;
|
||||||
|
|
||||||
.price {
|
.price {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
color: $text-price;
|
color: $text-price;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: $title-size;
|
font-size: $title-size;
|
||||||
@extend .nowrap;
|
@extend .nowrap;
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font-size: $title-size-sm;
|
font-size: $title-size-sm;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@@ -114,6 +159,7 @@ export default {
|
|||||||
line-height: 50rpx;
|
line-height: 50rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sales {
|
.sales {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
font-size: $title-size-sm;
|
font-size: $title-size-sm;
|
||||||
@@ -126,6 +172,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 数据空
|
// 数据空
|
||||||
.goods--null {
|
.goods--null {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -547,7 +547,7 @@
|
|||||||
"path": "pages/wallet/fragment",
|
"path": "pages/wallet/fragment",
|
||||||
"name": "Fragment",
|
"name": "Fragment",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "积分记录",
|
"navigationBarTitleText": "贡献值记录",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#774ffd",
|
"navigationBarBackgroundColor": "#774ffd",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
|
|||||||
@@ -144,7 +144,6 @@
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
console.log('11', res)
|
|
||||||
this.getAppliesCategory(res.industries[0].industry_id)
|
this.getAppliesCategory(res.industries[0].industry_id)
|
||||||
}
|
}
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|||||||
@@ -225,7 +225,6 @@
|
|||||||
days : this.timeNumber,
|
days : this.timeNumber,
|
||||||
goodsable_ids : this.coupongoods
|
goodsable_ids : this.coupongoods
|
||||||
}
|
}
|
||||||
console.log(valuss.time_type)
|
|
||||||
pushCoupons(valuss).then(res => {
|
pushCoupons(valuss).then(res => {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title : '提示',
|
title : '提示',
|
||||||
|
|||||||
@@ -86,7 +86,6 @@
|
|||||||
type : this.listType,
|
type : this.listType,
|
||||||
status : this.tabsType
|
status : this.tabsType
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.coupons = res.lists.data
|
this.coupons = res.lists.data
|
||||||
this.pages = res.lists.page
|
this.pages = res.lists.page
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
<swiper class="banner-swiper" indicator-color="#e93340" indicator-active-color="#f8f8f8"
|
<swiper class="banner-swiper" indicator-color="#e93340" indicator-active-color="#f8f8f8"
|
||||||
indicator-dots autoplay>
|
indicator-dots autoplay>
|
||||||
<swiper-item v-for="(item, index) in banners" :key="index">
|
<swiper-item v-for="(item, index) in banners" :key="index">
|
||||||
<image class="cover" :src="item.cover" mode="aspectFill"></image>
|
<image class="cover" :src="item.cover" mode="aspectFill" @click="swiperClick(item.url)" />
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
</view>
|
</view>
|
||||||
@@ -126,8 +126,12 @@
|
|||||||
<view class="goods-push" v-if="JSON.stringify(position) != '{}'">
|
<view class="goods-push" v-if="JSON.stringify(position) != '{}'">
|
||||||
<view class="itme item-mian" @click="onGoods(position.one)">
|
<view class="itme item-mian" @click="onGoods(position.one)">
|
||||||
<image class="cover" :src="position.one.cover" mode="aspectFill"></image>
|
<image class="cover" :src="position.one.cover" mode="aspectFill"></image>
|
||||||
<view class="title">{{position.one.name}}</view>
|
<view class="title">
|
||||||
|
<span class='is_allow_values' v-if='position.one.specal_tags.is_allow_values'>{{position.one.specal_tags.is_allow_values}}</span>
|
||||||
|
{{position.one.name}}
|
||||||
|
</view>
|
||||||
<view class="price"><text>¥</text>{{position.one.original_price}}</view>
|
<view class="price"><text>¥</text>{{position.one.original_price}}</view>
|
||||||
|
<span class='is_self' v-if='position.one.specal_tags.is_self'>{{position.one.specal_tags.is_self}}</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="itme">
|
<view class="itme">
|
||||||
<view class="itme-list" v-for="(item, index) in position.two" :key="index" @click="onGoods(item)">
|
<view class="itme-list" v-for="(item, index) in position.two" :key="index" @click="onGoods(item)">
|
||||||
@@ -196,6 +200,9 @@
|
|||||||
import goodsList from '@/components/goods-list/goods-list'
|
import goodsList from '@/components/goods-list/goods-list'
|
||||||
import industryList from '@/components/industry-list/industry-list'
|
import industryList from '@/components/industry-list/industry-list'
|
||||||
import userAuth from '@/public/userAuth'
|
import userAuth from '@/public/userAuth'
|
||||||
|
import {
|
||||||
|
config
|
||||||
|
} from '@/apis/index.js'
|
||||||
export default {
|
export default {
|
||||||
comments: {
|
comments: {
|
||||||
goodsList,
|
goodsList,
|
||||||
@@ -236,7 +243,8 @@
|
|||||||
busList: [],
|
busList: [],
|
||||||
busPage: 1,
|
busPage: 1,
|
||||||
// 分页
|
// 分页
|
||||||
pageStatus: ''
|
pageStatus: '',
|
||||||
|
imgUrl: config.apiUrls
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -269,6 +277,14 @@
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 点击轮播图
|
||||||
|
swiperClick(url) {
|
||||||
|
if (url === 'goBaoDanList') {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: 'pages/goods/lists?type=baodan'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
// 领取,更多优惠券
|
// 领取,更多优惠券
|
||||||
onCoupons(type, id, index) {
|
onCoupons(type, id, index) {
|
||||||
let token = this.$store.getters.getToken
|
let token = this.$store.getters.getToken
|
||||||
@@ -341,6 +357,10 @@
|
|||||||
mall().then(res => {
|
mall().then(res => {
|
||||||
this.classify = res.categories.slice(0, 9)
|
this.classify = res.categories.slice(0, 9)
|
||||||
this.banners = res.banners
|
this.banners = res.banners
|
||||||
|
this.banners = [...this.banners, {
|
||||||
|
cover: config.apiUrls + 'images/baodan-banner.png',
|
||||||
|
url: 'goBaoDanList'
|
||||||
|
}]
|
||||||
this.coupons = res.coupons
|
this.coupons = res.coupons
|
||||||
this.position = res.positions
|
this.position = res.positions
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
@@ -375,7 +395,6 @@
|
|||||||
},
|
},
|
||||||
// 易货分类
|
// 易货分类
|
||||||
onClassify(id) {
|
onClassify(id) {
|
||||||
console.log(id)
|
|
||||||
// this.$Router.push({
|
// this.$Router.push({
|
||||||
// name: 'goodsList'
|
// name: 'goodsList'
|
||||||
// })
|
// })
|
||||||
@@ -470,6 +489,8 @@
|
|||||||
margin: $margin/2;
|
margin: $margin/2;
|
||||||
width: calc(20% - #{$margin});
|
width: calc(20% - #{$margin});
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
|
||||||
.cover {
|
.cover {
|
||||||
width: 98rpx;
|
width: 98rpx;
|
||||||
@@ -482,6 +503,15 @@
|
|||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
font-size: $title-size-sm;
|
font-size: $title-size-sm;
|
||||||
color: $text-gray;
|
color: $text-gray;
|
||||||
|
.is_allow_values {
|
||||||
|
color: #fff;
|
||||||
|
background-image: linear-gradient(to left,$main-color,$mian-color-light);
|
||||||
|
padding: 2rpx 14rpx;
|
||||||
|
font-size: 20rpx;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 30rpx;
|
||||||
|
margin-right: 20rpx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -506,12 +536,34 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
border-right: solid 1rpx $border-color;
|
border-right: solid 1rpx $border-color;
|
||||||
@extend .vertical;
|
@extend .vertical;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.is_self {
|
||||||
|
position: absolute;
|
||||||
|
top: 14rpx;
|
||||||
|
right: 20rpx;
|
||||||
|
background-image: linear-gradient(to bottom, #ee4c47, #9e312f);
|
||||||
|
// background-color: #ee4c47;
|
||||||
|
box-shadow: 0 4rpx 10rpx 2rpx rgba($color: #000, $alpha: .3);
|
||||||
|
color: #fff;
|
||||||
|
font-size: 26;
|
||||||
|
padding: 2rpx 20rpx 10rpx 20rpx;
|
||||||
|
border-radius: 0 0 50rpx 50rpx;
|
||||||
|
}
|
||||||
.title {
|
.title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: $title-size;
|
font-size: $title-size;
|
||||||
@extend .nowrap;
|
@extend .nowrap;
|
||||||
line-height: 50rpx;
|
line-height: 50rpx;
|
||||||
|
.is_allow_values {
|
||||||
|
color: #fff;
|
||||||
|
background-image: linear-gradient(to left,$main-color,$mian-color-light);
|
||||||
|
padding: 2rpx 14rpx;
|
||||||
|
font-size: 20rpx;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 30rpx;
|
||||||
|
margin-right: 20rpx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.price {
|
.price {
|
||||||
@@ -527,9 +579,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cover {
|
.cover {
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 20rpx;
|
||||||
width: 220rpx;
|
width: 320rpx;
|
||||||
height: 280rpx;
|
height: 300rpx;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
签到成功
|
签到成功
|
||||||
</view>
|
</view>
|
||||||
<view class="signPop-cont-text">
|
<view class="signPop-cont-text">
|
||||||
积分<view class="signPop-cont-number">+{{sign.signSuccess}}</view>
|
贡献值<view class="signPop-cont-number">+{{sign.signSuccess}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<!-- 签到 -->
|
<!-- 签到 -->
|
||||||
<view class="signCont">
|
<view class="signCont">
|
||||||
<view class="content-title">发现更多</view>
|
<view class="content-title">发现更多</view>
|
||||||
<view class="content-sumite">海量积分等你解锁</view>
|
<view class="content-sumite">海量贡献值等你解锁</view>
|
||||||
<view class="sign">
|
<view class="sign">
|
||||||
<view class="sign-list" :class="{ active: item.sign }" v-for="(item, index) in sign.signArr"
|
<view class="sign-list" :class="{ active: item.sign }" v-for="(item, index) in sign.signArr"
|
||||||
:key="index">
|
:key="index">
|
||||||
@@ -39,25 +39,25 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="sign-record">再签到{{ sign.nextTask.day }}天额外赠送{{ sign.nextTask.diff }}个积分</view>
|
<view class="sign-record">再签到{{ sign.nextTask.day }}天额外赠送{{ sign.nextTask.diff }}个贡献值</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="signBtn">
|
<view class="signBtn">
|
||||||
<block v-if="sign.signCan">
|
<block v-if="sign.signCan">
|
||||||
<view class="signBtn-go" @click="signClick" style="cursor:pointer">
|
<view class="signBtn-go" @click="signClick" style="cursor:pointer">
|
||||||
<u-icon name="calendar-fill" color="#333" size="40" />
|
<u-icon name="calendar-fill" color="#333" size="40" />
|
||||||
签到领取积分
|
签到领取贡献值
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
<block v-else>
|
<block v-else>
|
||||||
<view class="signBtn-go" @click="$Router.push({name:'Fragment'})">
|
<view class="signBtn-go" @click="$Router.push({name:'Fragment'})">
|
||||||
积分记录<image class="signBtn-go-icon" src="/static/user/sign_arrow.png" mode="aspectFill"></image>
|
贡献值记录<image class="signBtn-go-icon" src="/static/user/sign_arrow.png" mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
<!-- 水晶任务 -->
|
<!-- 水晶任务 -->
|
||||||
<view class="task">
|
<view class="task">
|
||||||
<view class="task-liest">
|
<view class="task-liest">
|
||||||
积分任务
|
贡献值任务
|
||||||
</view>
|
</view>
|
||||||
<block v-for="(item, index) in task" :key="index">
|
<block v-for="(item, index) in task" :key="index">
|
||||||
<view class="task-item" v-if="item.rule.name != 'sign_crystal'"
|
<view class="task-item" v-if="item.rule.name != 'sign_crystal'"
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
tipsContent: '', // 弹出的动态内容
|
tipsContent: '', // 弹出的动态内容
|
||||||
tipsState: false // 弹出的动态状态
|
tipsState: false // 弹出的动态状态
|
||||||
},
|
},
|
||||||
energyShard: '' // 积分说明
|
energyShard: '' // 贡献值说明
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -144,10 +144,10 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
// 积分提示信息
|
// 贡献值提示信息
|
||||||
showHelp() {
|
showHelp() {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '积分',
|
title: '贡献值',
|
||||||
confirmColor: '#8b64fd',
|
confirmColor: '#8b64fd',
|
||||||
content: this.energyShard.description,
|
content: this.energyShard.description,
|
||||||
showCancel: false
|
showCancel: false
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
taskInfo() {
|
taskInfo() {
|
||||||
// 领取水晶
|
// 领取水晶
|
||||||
thawlog().then(res => {
|
thawlog().then(res => {
|
||||||
console.log(res)
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
|||||||
@@ -419,7 +419,6 @@
|
|||||||
}
|
}
|
||||||
if(authRes.confirm){
|
if(authRes.confirm){
|
||||||
let goodsId = this.$Route.query.type === 'edit' ? this.$Route.query.id : res
|
let goodsId = this.$Route.query.type === 'edit' ? this.$Route.query.id : res
|
||||||
console.log(goodsId)
|
|
||||||
this.$Router.push({name: 'goodsAddAuth', params: { id: goodsId , type: 'goodsAdd', edit: this.$Route.query.type === 'edit'}})
|
this.$Router.push({name: 'goodsAddAuth', params: { id: goodsId , type: 'goodsAdd', edit: this.$Route.query.type === 'edit'}})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -205,7 +205,6 @@
|
|||||||
}, 3000);
|
}, 3000);
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
console.log('payerr', err)
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '支付失败',
|
title: '支付失败',
|
||||||
duration: 3000,
|
duration: 3000,
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<view class="header">
|
<view class="header">
|
||||||
<view class="flex-box">
|
<view class="flex-box">
|
||||||
<view class="price"><text>¥</text>{{goodsObj.price.show}}</view>
|
<view class="price"><text>¥</text>{{goodsObj.price.show}}</view>
|
||||||
<view class="sales">累计易货{{goodsObj.sales}}次</view>
|
<view class="sales">累计交易{{goodsObj.sales}}次</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="coupon" v-if="couponSee.length > 0" @click="couponsOpne">
|
<view class="coupon" v-if="couponSee.length > 0" @click="couponsOpne">
|
||||||
<view class="coupon-list" v-for="(item, index) in couponSee" :key="index">
|
<view class="coupon-list" v-for="(item, index) in couponSee" :key="index">
|
||||||
@@ -23,9 +23,15 @@
|
|||||||
{{item.title}}
|
{{item.title}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="coupon-btn">领券<image class="coupon-btn-img" src="../../static/icons/goods_row.png" mode="aspectFill"></image></view>
|
<view class="coupon-btn">领券<image class="coupon-btn-img" src="../../static/icons/goods_row.png"
|
||||||
|
mode="aspectFill"></image>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="title">
|
||||||
|
<view class="title-hot" v-if="goodsObj.specal_tags.is_allow_values">{{goodsObj.specal_tags.is_allow_values}}</view>
|
||||||
|
<view class="title-hot" v-if="goodsObj.specal_tags.is_self">{{goodsObj.specal_tags.is_self}}</view>
|
||||||
|
{{goodsObj.name}}
|
||||||
</view>
|
</view>
|
||||||
<view class="title"><view class="title-hot">热卖</view>{{goodsObj.name}}</view>
|
|
||||||
<!-- <view class="sub-title">{{goodsObj.description}}</view> -->
|
<!-- <view class="sub-title">{{goodsObj.description}}</view> -->
|
||||||
</view>
|
</view>
|
||||||
<!-- 商家信息 -->
|
<!-- 商家信息 -->
|
||||||
@@ -34,28 +40,31 @@
|
|||||||
<view class="store-cont">
|
<view class="store-cont">
|
||||||
<view class="store-title">{{goodsObj.shop.name}}</view>
|
<view class="store-title">{{goodsObj.shop.name}}</view>
|
||||||
<view class="rate">
|
<view class="rate">
|
||||||
<uni-rate
|
<uni-rate :readonly="true" color="#ddd" active-color="#c82626" :value="goodsObj.company.star"
|
||||||
:readonly="true"
|
:size="14" />
|
||||||
color="#ddd"
|
</view>
|
||||||
active-color="#c82626"
|
<view class="openbtn" @click="onOpenWechat">进店<image class="openbtn-img"
|
||||||
:value="goodsObj.company.star"
|
src="../../static/icons/equity_arrow_right.png" mode="aspectFill"></image>
|
||||||
:size="14"
|
|
||||||
/>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="openbtn" @click="onOpenWechat">进店<image class="openbtn-img" src="../../static/icons/equity_arrow_right.png" mode="aspectFill"></image></view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="tooSee">
|
<view class="tooSee">
|
||||||
<view class="tooSee-label" @click="$Router.push({name: 'GoodsChain', params: {id: goodsObj.goods_id}})">
|
<view class="tooSee-label"
|
||||||
|
@click="$Router.push({name: 'GoodsChain', params: {id: goodsObj.goods_id}})">
|
||||||
区块链证书
|
区块链证书
|
||||||
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png" mode="aspectFill"></image>
|
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png"
|
||||||
|
mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="tooSee-label" @click="$Router.push({name: 'GoodsAttestation', params: {id: goodsObj.goods_id}})">
|
<view class="tooSee-label"
|
||||||
|
@click="$Router.push({name: 'GoodsAttestation', params: {id: goodsObj.goods_id}})">
|
||||||
商品认证
|
商品认证
|
||||||
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png" mode="aspectFill"></image>
|
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png"
|
||||||
|
mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="tooSee-label" @click="$Router.push({name: 'GoodstracedTo', params: {id: goodsObj.goods_id}})">
|
<view class="tooSee-label"
|
||||||
|
@click="$Router.push({name: 'GoodstracedTo', params: {id: goodsObj.goods_id}})">
|
||||||
商品溯源
|
商品溯源
|
||||||
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png" mode="aspectFill"></image>
|
<image class="tooSee-label-img" src="../../static/icons/equity_arrow_right.png"
|
||||||
|
mode="aspectFill"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -73,8 +82,10 @@
|
|||||||
<label class="title">服务</label>
|
<label class="title">服务</label>
|
||||||
<view class="goods-serve" @click="serveOpne">
|
<view class="goods-serve" @click="serveOpne">
|
||||||
<image class="goods-serve-img" src="../../static/icons/goods_buy.png" mode="aspectFill"></image>
|
<image class="goods-serve-img" src="../../static/icons/goods_buy.png" mode="aspectFill"></image>
|
||||||
<view class="nowrap goods-serve-name"><text v-for="(item, index) in goodsObj.services">{{item.name}}</text></view>
|
<view class="nowrap goods-serve-name"><text
|
||||||
<image class="goods-serve-img" src="../../static/icons/goods_spot.png" mode="aspectFill"></image>
|
v-for="(item, index) in goodsObj.services">{{item.name}}</text></view>
|
||||||
|
<image class="goods-serve-img" src="../../static/icons/goods_spot.png" mode="aspectFill">
|
||||||
|
</image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -173,7 +184,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { goods, managesCoupons } from '@/apis/interfaces/goods'
|
import {
|
||||||
|
goods,
|
||||||
|
managesCoupons
|
||||||
|
} from '@/apis/interfaces/goods'
|
||||||
import userAuth from '@/public/userAuth'
|
import userAuth from '@/public/userAuth'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@@ -295,6 +309,7 @@
|
|||||||
padding-top: 100%;
|
padding-top: 100%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 轮播图
|
// 轮播图
|
||||||
.goods-covers {
|
.goods-covers {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@@ -303,18 +318,21 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-top: 100%;
|
padding-top: 100%;
|
||||||
|
|
||||||
.swiper {
|
.swiper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.swiper-item {
|
.swiper-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 商品详情
|
// 商品详情
|
||||||
.goods-content {
|
.goods-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -323,16 +341,19 @@
|
|||||||
border-radius: $radius $radius 0 0;
|
border-radius: $radius $radius 0 0;
|
||||||
padding-bottom: calc((#{$padding} * 2) + (env(safe-area-inset-bottom) / 2) + 90rpx);
|
padding-bottom: calc((#{$padding} * 2) + (env(safe-area-inset-bottom) / 2) + 90rpx);
|
||||||
padding-bottom: calc((#{$padding} * 2) + (constant(safe-area-inset-bottom) / 2) + 90rpx);
|
padding-bottom: calc((#{$padding} * 2) + (constant(safe-area-inset-bottom) / 2) + 90rpx);
|
||||||
|
|
||||||
// 详情
|
// 详情
|
||||||
.header {
|
.header {
|
||||||
padding: 0 $padding $padding;
|
padding: 0 $padding $padding;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: $title-size;
|
font-size: $title-size;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 50rpx;
|
line-height: 50rpx;
|
||||||
|
|
||||||
.title-hot {
|
.title-hot {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-color: #fee195;
|
background-image: linear-gradient(to left,#fee195,#fee195);
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
border-radius: 50rpx;
|
border-radius: 50rpx;
|
||||||
padding: 0 10rpx;
|
padding: 0 10rpx;
|
||||||
@@ -341,25 +362,31 @@
|
|||||||
margin: 6rpx 10rpx 0 0;
|
margin: 6rpx 10rpx 0 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sub-title {
|
.sub-title {
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
font-size: $title-size-sm;
|
font-size: $title-size-sm;
|
||||||
color: $text-gray;
|
color: $text-gray;
|
||||||
padding-bottom: $padding/3;
|
padding-bottom: $padding/3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex-box {
|
.flex-box {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
line-height: 90rpx;
|
line-height: 90rpx;
|
||||||
|
|
||||||
.price {
|
.price {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: $text-price;
|
color: $text-price;
|
||||||
font-size: $title-size + 14;
|
font-size: $title-size + 14;
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font-size: 70%;
|
font-size: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
width: calc(60% - #{$padding});
|
width: calc(60% - #{$padding});
|
||||||
}
|
}
|
||||||
|
|
||||||
.sales {
|
.sales {
|
||||||
font-size: $title-size-sm;
|
font-size: $title-size-sm;
|
||||||
color: $text-gray;
|
color: $text-gray;
|
||||||
@@ -379,8 +406,10 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: $margin - 10;
|
margin-bottom: $margin - 10;
|
||||||
|
|
||||||
.coupon-list {
|
.coupon-list {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
|
|
||||||
.coupon-label {
|
.coupon-label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 1rpx solid #e998a1;
|
border: 1rpx solid #e998a1;
|
||||||
@@ -391,6 +420,7 @@
|
|||||||
margin-right: $margin - 10;
|
margin-right: $margin - 10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.coupon-btn {
|
.coupon-btn {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: $padding - 20;
|
right: $padding - 20;
|
||||||
@@ -399,6 +429,7 @@
|
|||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
||||||
.coupon-btn-img {
|
.coupon-btn-img {
|
||||||
width: 22rpx;
|
width: 22rpx;
|
||||||
height: 22rpx;
|
height: 22rpx;
|
||||||
@@ -411,17 +442,21 @@
|
|||||||
// 新增服务
|
// 新增服务
|
||||||
.goods-serve {
|
.goods-serve {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.goods-serve-img {
|
.goods-serve-img {
|
||||||
width: 36rpx;
|
width: 36rpx;
|
||||||
height: 36rpx;
|
height: 36rpx;
|
||||||
margin-top: 26rpx;
|
margin-top: 26rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.goods-serve-name {
|
.goods-serve-name {
|
||||||
margin: 0 30rpx 0 20rpx;
|
margin: 0 30rpx 0 20rpx;
|
||||||
width: calc(100% - 122rpx);
|
width: calc(100% - 122rpx);
|
||||||
|
|
||||||
text {
|
text {
|
||||||
padding-right: $padding;
|
padding-right: $padding;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
@@ -437,6 +472,7 @@
|
|||||||
border-radius: $radius/2;
|
border-radius: $radius/2;
|
||||||
padding: $padding;
|
padding: $padding;
|
||||||
min-height: 220rpx;
|
min-height: 220rpx;
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: $margin;
|
left: $margin;
|
||||||
@@ -445,6 +481,7 @@
|
|||||||
height: 98rpx;
|
height: 98rpx;
|
||||||
border-radius: $radius/2;
|
border-radius: $radius/2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.store-cont {
|
.store-cont {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -455,6 +492,7 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
height: 140rpx;
|
height: 140rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooSee {
|
.tooSee {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 150rpx;
|
top: 150rpx;
|
||||||
@@ -462,6 +500,7 @@
|
|||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
padding-left: $padding;
|
padding-left: $padding;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.tooSee-label {
|
.tooSee-label {
|
||||||
background-color: #fd683e;
|
background-color: #fd683e;
|
||||||
border-radius: 8rpx 4rpx 4rpx 6rpx;
|
border-radius: 8rpx 4rpx 4rpx 6rpx;
|
||||||
@@ -473,10 +512,13 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: $margin * 2;
|
margin-right: $margin * 2;
|
||||||
position: relative;
|
position: relative;
|
||||||
&::after, &::before{
|
|
||||||
|
&::after,
|
||||||
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
right: -40rpx;
|
right: -40rpx;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -485,6 +527,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 4rpx 8rpx 8rpx 4rpx;
|
border-radius: 4rpx 8rpx 8rpx 4rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
right: -1rpx;
|
right: -1rpx;
|
||||||
top: 5%;
|
top: 5%;
|
||||||
@@ -493,19 +536,24 @@
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
background-color: #f2d7aa;
|
background-color: #f2d7aa;
|
||||||
color: #362507;
|
color: #362507;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child::after {
|
&:first-child::after {
|
||||||
background-color: #f1d599;
|
background-color: #f1d599;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child::before {
|
&:first-child::before {
|
||||||
border-color: #fae2b9;
|
border-color: #fae2b9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooSee-label-img {
|
.tooSee-label-img {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -34rpx;
|
right: -34rpx;
|
||||||
@@ -514,11 +562,13 @@
|
|||||||
height: 28rpx;
|
height: 28rpx;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child .tooSee-label-img {
|
&:first-child .tooSee-label-img {
|
||||||
filter: brightness(.2)
|
filter: brightness(.2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.store-title {
|
.store-title {
|
||||||
font-size: $title-size-lg;
|
font-size: $title-size-lg;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -526,6 +576,7 @@
|
|||||||
color: $text-color;
|
color: $text-color;
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
// rate
|
// rate
|
||||||
.openbtn {
|
.openbtn {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -538,6 +589,7 @@
|
|||||||
font-size: $title-size-m;
|
font-size: $title-size-m;
|
||||||
margin-top: -30rpx;
|
margin-top: -30rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.openbtn-img {
|
.openbtn-img {
|
||||||
width: 32rpx;
|
width: 32rpx;
|
||||||
height: 32rpx;
|
height: 32rpx;
|
||||||
@@ -546,16 +598,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 产品规格
|
// 产品规格
|
||||||
.size {
|
.size {
|
||||||
margin-top: $margin;
|
margin-top: $margin;
|
||||||
border-top: solid 20rpx #F8F8F8;
|
border-top: solid 20rpx #F8F8F8;
|
||||||
border-bottom: solid 20rpx #F8F8F8;
|
border-bottom: solid 20rpx #F8F8F8;
|
||||||
|
|
||||||
.size-item {
|
.size-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0 $padding 0 ($padding + 100);
|
padding: 0 $padding 0 ($padding + 100);
|
||||||
line-height: 90rpx;
|
line-height: 90rpx;
|
||||||
font-size: $title-size-m;
|
font-size: $title-size-m;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: $margin;
|
left: $margin;
|
||||||
@@ -565,9 +620,11 @@
|
|||||||
height: 1rpx;
|
height: 1rpx;
|
||||||
background-color: $border-color;
|
background-color: $border-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child::after {
|
&:last-child::after {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: $margin;
|
left: $margin;
|
||||||
@@ -576,6 +633,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 产品详情
|
// 产品详情
|
||||||
.product {
|
.product {
|
||||||
image {
|
image {
|
||||||
@@ -584,6 +642,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 立即购买
|
// 立即购买
|
||||||
.footer {
|
.footer {
|
||||||
padding: $padding;
|
padding: $padding;
|
||||||
@@ -594,6 +653,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.btn[size='default'] {
|
.btn[size='default'] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 90rpx;
|
height: 90rpx;
|
||||||
@@ -616,13 +676,16 @@
|
|||||||
border-radius: 40rpx 40rpx 0 0;
|
border-radius: 40rpx 40rpx 0 0;
|
||||||
padding: $padding;
|
padding: $padding;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.coupons-header {
|
.coupons-header {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: $margin*1.5;
|
margin-bottom: $margin*1.5;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.close {
|
.close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
@@ -632,17 +695,20 @@
|
|||||||
height: 38rpx;
|
height: 38rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.coupons-cont {
|
.coupons-cont {
|
||||||
.coupons-name {
|
.coupons-name {
|
||||||
color: #616065;
|
color: #616065;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.coupons-list {
|
.coupons-list {
|
||||||
border: 2rpx solid #d6b9be;
|
border: 2rpx solid #d6b9be;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: $margin;
|
margin-top: $margin;
|
||||||
|
|
||||||
// background-color: red;
|
// background-color: red;
|
||||||
.coupons-tips {
|
.coupons-tips {
|
||||||
// background-color: #211e17;
|
// background-color: #211e17;
|
||||||
@@ -656,12 +722,14 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
||||||
.coupons-tips-text {
|
.coupons-tips-text {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
transform: scale(.85);
|
transform: scale(.85);
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.coupons-left {
|
.coupons-left {
|
||||||
background-color: #fdedee;
|
background-color: #fdedee;
|
||||||
color: #e1293f;
|
color: #e1293f;
|
||||||
@@ -669,26 +737,32 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
padding: $padding - 10 0;
|
padding: $padding - 10 0;
|
||||||
border-right: 2rpx dashed #eccdd4;
|
border-right: 2rpx dashed #eccdd4;
|
||||||
|
|
||||||
.coupon-left-img {
|
.coupon-left-img {
|
||||||
width: 180rpx;
|
width: 180rpx;
|
||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.coupons-number {
|
.coupons-number {
|
||||||
font-size: 40rpx;
|
font-size: 40rpx;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.coupons-small {
|
&.coupons-small {
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
padding: 20rpx 0;
|
padding: 20rpx 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.coupons-full {
|
.coupons-full {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.coupons-center {
|
.coupons-center {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -697,12 +771,14 @@
|
|||||||
padding: $padding - 10 130rpx 0 220rpx;
|
padding: $padding - 10 130rpx 0 220rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
|
|
||||||
.coupons-time {
|
.coupons-time {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
color: #514c51;
|
color: #514c51;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.coupons-right {
|
.coupons-right {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 20rpx;
|
right: 20rpx;
|
||||||
@@ -714,6 +790,7 @@
|
|||||||
border-radius: 80rpx;
|
border-radius: 80rpx;
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
line-height: 52rpx;
|
line-height: 52rpx;
|
||||||
|
|
||||||
&.coupons-right-active {
|
&.coupons-right-active {
|
||||||
background-color: #adadad;
|
background-color: #adadad;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -721,6 +798,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.coupons-true {
|
.coupons-true {
|
||||||
background-image: linear-gradient(to right, #e1293f, #fd275d);
|
background-image: linear-gradient(to right, #e1293f, #fd275d);
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -735,10 +813,12 @@
|
|||||||
.serve-label {
|
.serve-label {
|
||||||
margin-top: $margin + 10;
|
margin-top: $margin + 10;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
|
|
||||||
.serve-label-name {
|
.serve-label-name {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
margin-bottom: $margin - 10;
|
margin-bottom: $margin - 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.serve-label-text {
|
.serve-label-text {
|
||||||
line-height: 44rpx;
|
line-height: 44rpx;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -96,7 +96,6 @@
|
|||||||
methods: {
|
methods: {
|
||||||
// picker选择
|
// picker选择
|
||||||
pickerChange(e, key){
|
pickerChange(e, key){
|
||||||
console.log(key,e.detail.value)
|
|
||||||
this[key] = e.detail.value
|
this[key] = e.detail.value
|
||||||
},
|
},
|
||||||
// 图片预览
|
// 图片预览
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="Goods-LISTS">
|
<view class="Goods-LISTS">
|
||||||
|
<!-- <image :src="`${config.apiUrls}images/baodan-banner.png`" mode="widthFix" /> -->
|
||||||
<view class="tabs">
|
<view class="tabs">
|
||||||
<view class="tabs-item" :class="{'show': tabIndex == 0}" @click="onTabs" data-index="0">最新</view>
|
<view class="tabs-item" :class="{'show': tabIndex == 0}" @click="onTabs" data-index="0">最新</view>
|
||||||
<view class="tabs-item" :class="{'show': tabIndex == 1}" @click="onTabs" data-index="1">
|
<view class="tabs-item" :class="{'show': tabIndex == 1}" @click="onTabs" data-index="1">
|
||||||
@@ -19,6 +20,9 @@
|
|||||||
list
|
list
|
||||||
} from '@/apis/interfaces/goods'
|
} from '@/apis/interfaces/goods'
|
||||||
import goodsList from '@/components/goods-list/goods-list'
|
import goodsList from '@/components/goods-list/goods-list'
|
||||||
|
import {
|
||||||
|
config
|
||||||
|
} from '@/apis/index.js'
|
||||||
export default {
|
export default {
|
||||||
name: 'Goods-LISTS',
|
name: 'Goods-LISTS',
|
||||||
data() {
|
data() {
|
||||||
@@ -28,6 +32,7 @@
|
|||||||
goods: [],
|
goods: [],
|
||||||
page: 1,
|
page: 1,
|
||||||
has_more: true,
|
has_more: true,
|
||||||
|
isBaoDan: false, // 是否是报单,默认有id不是报单,无id是报单
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
@@ -44,6 +49,14 @@
|
|||||||
created() {
|
created() {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
if (this.$Route.query.type === 'baodan') {
|
||||||
|
this.isBaoDan = true
|
||||||
|
uni.setNavigationBarTitle({
|
||||||
|
title: '报单商品'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onTabs(e) {
|
onTabs(e) {
|
||||||
let index = e.target.dataset.index
|
let index = e.target.dataset.index
|
||||||
@@ -72,8 +85,11 @@
|
|||||||
order_by: this.tabIndex == 1 ? this.marketType : '',
|
order_by: this.tabIndex == 1 ? this.marketType : '',
|
||||||
page: this.page
|
page: this.page
|
||||||
}
|
}
|
||||||
if (this.$Route.query.type) {
|
if (this.$Route.query.type === 'id') {
|
||||||
data.category_id = this.$Route.query.id
|
data.category_id = this.$Route.query.id
|
||||||
|
} else if (this.$Route.query.type === 'baodan') {
|
||||||
|
// 报单加个条件筛选
|
||||||
|
data.is_allow_values = 1
|
||||||
} else {
|
} else {
|
||||||
data.category_cid = this.$Route.query.id
|
data.category_cid = this.$Route.query.id
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<view class="item" :class="{'show': status == '3'}" @click="onTabs('3')">已驳回</view>
|
<view class="item" :class="{'show': status == '3'}" @click="onTabs('3')">已驳回</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 优选商品 -->
|
<!-- 优选商品 -->
|
||||||
<goodsList :list="goods" priceType="CNY" :status='status' toast="暂无产品权证">
|
<goodsList :list="goods" priceType="CNY" :status='status' toast="暂无产品权证" notag='has'>
|
||||||
<template v-slot:statistics="goods">
|
<template v-slot:statistics="goods">
|
||||||
<view>库存{{goods.value.stock}}</view>
|
<view>库存{{goods.value.stock}}</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -127,7 +127,6 @@
|
|||||||
cancelText : '确定',
|
cancelText : '确定',
|
||||||
success : res => {
|
success : res => {
|
||||||
if(res.confirm){
|
if(res.confirm){
|
||||||
console.log(res.confirm)
|
|
||||||
this.$Router.push({name: 'goodsAdd', params: {type: 'edit', id}})
|
this.$Router.push({name: 'goodsAdd', params: {type: 'edit', id}})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<image src="@/static/icons/gemstone-icon.png" />{{isAuth ? '通证' + account.coin : '查看通证'}}
|
<image src="@/static/icons/gemstone-icon.png" />{{isAuth ? '通证' + account.coin : '查看通证'}}
|
||||||
</view>
|
</view>
|
||||||
<view class="item nowrap" @click="navAccount('Fragment')">
|
<view class="item nowrap" @click="navAccount('Fragment')">
|
||||||
<image src="@/static/icons/crystal-icon.png" />{{isAuth ? '积分' + account.crystal : '查看积分'}}
|
<image src="@/static/icons/crystal-icon.png" />{{isAuth ? '贡献值' + account.crystal : '查看贡献值'}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
<image :src="item.cover" />
|
<image :src="item.cover" />
|
||||||
</view>
|
</view>
|
||||||
<view class="title nowrap">{{item.title}}</view>
|
<view class="title nowrap">{{item.title}}</view>
|
||||||
<view class="submit-title nowrap">积分{{item.tips}}</view>
|
<view class="submit-title nowrap">贡献值{{item.tips}}</view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
<!-- 平台概况 -->
|
<!-- 平台概况 -->
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
<view class="number nowrap">{{chains.up}}</view>
|
<view class="number nowrap">{{chains.up}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="header-item">
|
<view class="header-item">
|
||||||
<view class="title">昨日瓜分积分
|
<view class="title">昨日瓜分贡献值
|
||||||
<uni-icons class="help-icon" @click="showHelp('score')" type="help-filled" size="15"
|
<uni-icons class="help-icon" @click="showHelp('score')" type="help-filled" size="15"
|
||||||
color="rgba(255,255,255,.3)" />
|
color="rgba(255,255,255,.3)" />
|
||||||
</view>
|
</view>
|
||||||
@@ -174,9 +174,6 @@
|
|||||||
},
|
},
|
||||||
// 查看钱包账户
|
// 查看钱包账户
|
||||||
navAccount(pathName) {
|
navAccount(pathName) {
|
||||||
|
|
||||||
console.log(1111)
|
|
||||||
|
|
||||||
if (!this.isAuth) {
|
if (!this.isAuth) {
|
||||||
this.$Router.push({
|
this.$Router.push({
|
||||||
name: 'Login'
|
name: 'Login'
|
||||||
@@ -217,7 +214,6 @@
|
|||||||
success: res => {
|
success: res => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
if (pathName === 'vipIndex') {
|
if (pathName === 'vipIndex') {
|
||||||
console.log(this.userAuth.identity)
|
|
||||||
this.$Router.push({
|
this.$Router.push({
|
||||||
name: 'vipIndex',
|
name: 'vipIndex',
|
||||||
params: {
|
params: {
|
||||||
@@ -234,7 +230,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 领取积分
|
// 领取贡献值
|
||||||
ledCrystal(index) {
|
ledCrystal(index) {
|
||||||
// 播放音频
|
// 播放音频
|
||||||
const innerAudioContext = uni.createInnerAudioContext();
|
const innerAudioContext = uni.createInnerAudioContext();
|
||||||
|
|||||||
@@ -105,7 +105,6 @@
|
|||||||
city_id: this.addressIdList[1],
|
city_id: this.addressIdList[1],
|
||||||
district_id: this.addressIdList[2]
|
district_id: this.addressIdList[2]
|
||||||
}
|
}
|
||||||
console.log(params,'params。。。')
|
|
||||||
if (params.name.trim() === '') {
|
if (params.name.trim() === '') {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请重新核对姓名',
|
title: '请重新核对姓名',
|
||||||
|
|||||||
@@ -59,7 +59,6 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
console.log(e)
|
|
||||||
if (e.type !== undefined) {
|
if (e.type !== undefined) {
|
||||||
this.type = e.type
|
this.type = e.type
|
||||||
}
|
}
|
||||||
@@ -140,7 +139,6 @@
|
|||||||
addresses().then(res => {
|
addresses().then(res => {
|
||||||
this.addressLists = res
|
this.addressLists = res
|
||||||
uni.stopPullDownRefresh()
|
uni.stopPullDownRefresh()
|
||||||
console.log(this.type === '1', this.type)
|
|
||||||
if (this.type == '1') {
|
if (this.type == '1') {
|
||||||
if (this.addressLists.length === 0) {
|
if (this.addressLists.length === 0) {
|
||||||
let pages = getCurrentPages();
|
let pages = getCurrentPages();
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
</swiper>
|
</swiper>
|
||||||
</view>
|
</view>
|
||||||
<view class="footer">
|
<view class="footer">
|
||||||
<view class="hith">朋友通过你的邀请注册成功后,将与您绑定好友关系通过成为平台用户,你都可以获得积分奖励。</view>
|
<view class="hith">朋友通过你的邀请注册成功后,将与您绑定好友关系通过成为平台用户,你都可以获得贡献值奖励。</view>
|
||||||
<view class="number">
|
<view class="number">
|
||||||
<view class="title">邀请码 : {{inviteData[0].invite}}</view>
|
<view class="title">邀请码 : {{inviteData[0].invite}}</view>
|
||||||
<view class="value" @click="copyCenter(inviteData[0].invite)">复制邀请码</view>
|
<view class="value" @click="copyCenter(inviteData[0].invite)">复制邀请码</view>
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
<view class="assets-label-number">{{userData.account.cash || 0}}</view>
|
<view class="assets-label-number">{{userData.account.cash || 0}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="assets-label" @click="$Router.push({name:'Fragment'})">
|
<view class="assets-label" @click="$Router.push({name:'Fragment'})">
|
||||||
<view class="assets-label-name">积分
|
<view class="assets-label-name">贡献值
|
||||||
<image @click.stop="showHelp('chip')" class="assets-label-icon"
|
<image @click.stop="showHelp('chip')" class="assets-label-icon"
|
||||||
src="/static/user/userAssets_tips.png" />
|
src="/static/user/userAssets_tips.png" />
|
||||||
</view>
|
</view>
|
||||||
@@ -391,9 +391,6 @@
|
|||||||
userInfo() {
|
userInfo() {
|
||||||
// 读取配置信息
|
// 读取配置信息
|
||||||
userIndex().then(res => {
|
userIndex().then(res => {
|
||||||
|
|
||||||
console.log(res)
|
|
||||||
|
|
||||||
res.account = {
|
res.account = {
|
||||||
stone: res.stone,
|
stone: res.stone,
|
||||||
stone_value: res.stone_value,
|
stone_value: res.stone_value,
|
||||||
@@ -455,7 +452,7 @@
|
|||||||
showHelp(type) {
|
showHelp(type) {
|
||||||
let title = '通证',
|
let title = '通证',
|
||||||
content = this.helpDoc.energy_ball.description
|
content = this.helpDoc.energy_ball.description
|
||||||
if (type == 'chip') title = '积分'
|
if (type == 'chip') title = '贡献值'
|
||||||
if (type == 'chip') content = this.helpDoc.energy_shard.description
|
if (type == 'chip') content = this.helpDoc.energy_shard.description
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: title,
|
title: title,
|
||||||
|
|||||||
@@ -48,7 +48,6 @@
|
|||||||
methods: {
|
methods: {
|
||||||
getLogistic(no) {
|
getLogistic(no) {
|
||||||
mallShipmentsLogistic(no).then(res => {
|
mallShipmentsLogistic(no).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.list = res.logistics
|
this.list = res.logistics
|
||||||
this.express = res.express
|
this.express = res.express
|
||||||
this.loaded = true
|
this.loaded = true
|
||||||
@@ -65,8 +64,6 @@
|
|||||||
uni.setClipboardData({
|
uni.setClipboardData({
|
||||||
data: no,
|
data: no,
|
||||||
success: res=>{
|
success: res=>{
|
||||||
console.log('success');
|
|
||||||
console.log(res)
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -36,7 +36,9 @@
|
|||||||
import {
|
import {
|
||||||
MallRefundsTemplate
|
MallRefundsTemplate
|
||||||
} from '@/components/mall-refunds-template/mall-refunds-template'
|
} from '@/components/mall-refunds-template/mall-refunds-template'
|
||||||
import { mallRefunds } from '@/apis/interfaces/numberWeight'
|
import {
|
||||||
|
mallRefunds
|
||||||
|
} from '@/apis/interfaces/numberWeight'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
MallRefundsTemplate
|
MallRefundsTemplate
|
||||||
@@ -76,7 +78,6 @@
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
console.log(uni.getStorageSync('refresh'),'getStorageSync')
|
|
||||||
if (uni.getStorageSync('refresh')) {
|
if (uni.getStorageSync('refresh')) {
|
||||||
this.reset()
|
this.reset()
|
||||||
}
|
}
|
||||||
@@ -91,7 +92,8 @@
|
|||||||
} else {
|
} else {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '吼吼吼~我是有底的~',
|
title: '吼吼吼~我是有底的~',
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -119,31 +121,30 @@
|
|||||||
state: this.selectNavId
|
state: this.selectNavId
|
||||||
}
|
}
|
||||||
mallRefunds(data).then(res => {
|
mallRefunds(data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.count = res.count
|
this.count = res.count
|
||||||
this.lists = this.lists.concat(res.lists.data)
|
this.lists = this.lists.concat(res.lists.data)
|
||||||
this.total = res.lists.page.total
|
this.total = res.lists.page.total
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 取消提货单
|
// 取消提货单
|
||||||
nowCancel(index, no) {
|
nowCancel(index, no) {
|
||||||
console.log(index,no)
|
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '哎呦,提醒你',
|
title: '哎呦,提醒你',
|
||||||
content: '是否确认要取消订单啊,取消后请去我的权证中查看',
|
content: '是否确认要取消订单啊,取消后请去我的权证中查看',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
mallShipmentsCancel(no).then(res => {
|
mallShipmentsCancel(no).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res,
|
title: res,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
this.lists.splice(index, 1)
|
this.lists.splice(index, 1)
|
||||||
@@ -151,14 +152,16 @@
|
|||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '放弃了~',
|
title: '放弃了~',
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -168,18 +171,16 @@
|
|||||||
},
|
},
|
||||||
// 签收提货单
|
// 签收提货单
|
||||||
nowSign(index, no) {
|
nowSign(index, no) {
|
||||||
console.log(index,no)
|
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '哎呦,提醒你',
|
title: '哎呦,提醒你',
|
||||||
content: '是否确认已经收到商品了呀',
|
content: '是否确认已经收到商品了呀',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
console.log(no)
|
|
||||||
mallShipmentsSign(no).then(res => {
|
mallShipmentsSign(no).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res,
|
title: res,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
this.lists.splice(index, 1)
|
this.lists.splice(index, 1)
|
||||||
@@ -187,7 +188,8 @@
|
|||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -195,7 +197,8 @@
|
|||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '放弃了~',
|
title: '放弃了~',
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -279,6 +282,7 @@
|
|||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-top: solid 1rpx #EFF4F2;
|
border-top: solid 1rpx #EFF4F2;
|
||||||
|
|
||||||
.nowPay {
|
.nowPay {
|
||||||
padding: 4rpx 20rpx;
|
padding: 4rpx 20rpx;
|
||||||
border-radius: 40rpx;
|
border-radius: 40rpx;
|
||||||
|
|||||||
@@ -128,7 +128,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
priveImg(index,idx){
|
priveImg(index,idx){
|
||||||
console.log(this.logs[index].pictures);
|
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
current:idx,
|
current:idx,
|
||||||
urls:this.logs[index].pictures
|
urls:this.logs[index].pictures
|
||||||
@@ -163,7 +162,6 @@
|
|||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
mallRefundsDeliver(data).then(res => {
|
mallRefundsDeliver(data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res,
|
title: res,
|
||||||
type: 'error',icon:false,
|
type: 'error',icon:false,
|
||||||
|
|||||||
@@ -158,7 +158,6 @@
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
console.log(uni.getStorageSync('refresh'), 'getStorageSync')
|
|
||||||
if (uni.getStorageSync('refresh')) {
|
if (uni.getStorageSync('refresh')) {
|
||||||
this.reset()
|
this.reset()
|
||||||
}
|
}
|
||||||
@@ -196,7 +195,6 @@
|
|||||||
},
|
},
|
||||||
// 快递单post 提货单 take 退货单refund
|
// 快递单post 提货单 take 退货单refund
|
||||||
selectType(id,index) {
|
selectType(id,index) {
|
||||||
console.log('id:' + id)
|
|
||||||
if (this.selectTypeId !== id) {
|
if (this.selectTypeId !== id) {
|
||||||
this.state = this.typeList[index].categrery[0].id
|
this.state = this.typeList[index].categrery[0].id
|
||||||
this.selectTypeId = id
|
this.selectTypeId = id
|
||||||
@@ -221,7 +219,6 @@
|
|||||||
apiUrl = 'mall/refunds'
|
apiUrl = 'mall/refunds'
|
||||||
}
|
}
|
||||||
mallShipmentsPostShop(apiUrl, data).then(res => {
|
mallShipmentsPostShop(apiUrl, data).then(res => {
|
||||||
console.log(res.count)
|
|
||||||
this.count = res.count
|
this.count = res.count
|
||||||
this.lists = this.lists.concat(res.lists.data)
|
this.lists = this.lists.concat(res.lists.data)
|
||||||
this.total = res.lists.page.total
|
this.total = res.lists.page.total
|
||||||
@@ -236,14 +233,12 @@
|
|||||||
},
|
},
|
||||||
// 取消提货单
|
// 取消提货单
|
||||||
nowCancel(index, no) {
|
nowCancel(index, no) {
|
||||||
console.log(index, no)
|
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '哎呦,提醒你',
|
title: '哎呦,提醒你',
|
||||||
content: '是否确认要取消订单啊,取消后请去我的权证中查看',
|
content: '是否确认要取消订单啊,取消后请去我的权证中查看',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
mallShipmentsCancel(no).then(res => {
|
mallShipmentsCancel(no).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res,
|
title: res,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
@@ -274,15 +269,12 @@
|
|||||||
},
|
},
|
||||||
// 签收提货单
|
// 签收提货单
|
||||||
nowSign(index, no) {
|
nowSign(index, no) {
|
||||||
console.log(index, no)
|
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '哎呦,提醒你',
|
title: '哎呦,提醒你',
|
||||||
content: '是否确认已经收到商品了呀',
|
content: '是否确认已经收到商品了呀',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
console.log(no)
|
|
||||||
mallShipmentsSign(no).then(res => {
|
mallShipmentsSign(no).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res,
|
title: res,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
|
|||||||
@@ -46,14 +46,12 @@
|
|||||||
</navigator>
|
</navigator>
|
||||||
<view class="goods-type">创建提货单时间 <span>{{info.created_at}}</span></view>
|
<view class="goods-type">创建提货单时间 <span>{{info.created_at}}</span></view>
|
||||||
<view class="goods-type" v-if="type === '1'">运费 <span>免邮</span></view>
|
<view class="goods-type" v-if="type === '1'">运费 <span>免邮</span></view>
|
||||||
<view class="goods-type">提货数量 <span><u-number-box v-model="info.qty" :disabled="true"></u-number-box></span></view>
|
<view class="goods-type">提货数量 <span>
|
||||||
|
<u-number-box v-model="info.qty" :disabled="true"></u-number-box>
|
||||||
|
</span></view>
|
||||||
<view class="goods-type">提货方式
|
<view class="goods-type">提货方式
|
||||||
<u-radio-group v-model="type">
|
<u-radio-group v-model="type">
|
||||||
<u-radio
|
<u-radio v-for="(item, index) in list" :key="index" :name="item.id" :disabled="type !== item.id">
|
||||||
v-for="(item, index) in list" :key="index"
|
|
||||||
:name="item.id"
|
|
||||||
:disabled="type !== item.id"
|
|
||||||
>
|
|
||||||
{{item.name}}
|
{{item.name}}
|
||||||
</u-radio>
|
</u-radio>
|
||||||
</u-radio-group>
|
</u-radio-group>
|
||||||
@@ -65,12 +63,15 @@
|
|||||||
提货门店
|
提货门店
|
||||||
<view class="goods-type-address">
|
<view class="goods-type-address">
|
||||||
<view class="list-top1">
|
<view class="list-top1">
|
||||||
<image :src="info.store.cover.showpath" @click="map(info.store)" mode="aspectFill" class="list-top1-img" />
|
<image :src="info.store.cover.showpath" @click="map(info.store)" mode="aspectFill"
|
||||||
|
class="list-top1-img" />
|
||||||
<view class="shop-info shop-info1">
|
<view class="shop-info shop-info1">
|
||||||
<view class="title ellipsis">{{info.store.name}}</view>
|
<view class="title ellipsis">{{info.store.name}}</view>
|
||||||
<view class="des" style="padding-top: 16rpx;">营业时间:{{info.store.start_time}}</view>
|
<view class="des" style="padding-top: 16rpx;">营业时间:{{info.store.start_time}}</view>
|
||||||
<view class="des" style="padding-top: 4rpx;" @click="call(info.store.mobile)">联系电话:{{info.store.mobile}}</view>
|
<view class="des" style="padding-top: 4rpx;" @click="call(info.store.mobile)">
|
||||||
<view class="des" style="padding-top: 4rpx;" @click="map(info.store)">门店地址:{{info.store.address}}</view>
|
联系电话:{{info.store.mobile}}</view>
|
||||||
|
<view class="des" style="padding-top: 4rpx;" @click="map(info.store)">
|
||||||
|
门店地址:{{info.store.address}}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -89,15 +90,26 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mallShipmentsInfo,mallShipmentsCancel,mallShipmentsSign } from '@/apis/interfaces/numberWeight'
|
import {
|
||||||
|
mallShipmentsInfo,
|
||||||
|
mallShipmentsCancel,
|
||||||
|
mallShipmentsSign
|
||||||
|
} from '@/apis/interfaces/numberWeight'
|
||||||
export default {
|
export default {
|
||||||
name: 'OrderInfo',
|
name: 'OrderInfo',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
info: {},
|
info: {},
|
||||||
list: [
|
list: [{
|
||||||
{ name: '快递', disabled: true , id:'1'},
|
name: '快递',
|
||||||
{ name: '自提', disabled: false , id:'2'}
|
disabled: true,
|
||||||
|
id: '1'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '自提',
|
||||||
|
disabled: false,
|
||||||
|
id: '2'
|
||||||
|
}
|
||||||
],
|
],
|
||||||
address: {},
|
address: {},
|
||||||
type: '1', //提货类型:2 自提 1 邮寄
|
type: '1', //提货类型:2 自提 1 邮寄
|
||||||
@@ -128,7 +140,8 @@
|
|||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -141,24 +154,26 @@
|
|||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
mallShipmentsCancel(no).then(res => {
|
mallShipmentsCancel(no).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res,
|
title: res,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
this.getInfo(no)
|
this.getInfo(no)
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '放弃了~',
|
title: '放弃了~',
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -167,18 +182,16 @@
|
|||||||
},
|
},
|
||||||
// 签收提货单
|
// 签收提货单
|
||||||
nowSign(no) {
|
nowSign(no) {
|
||||||
console.log(no)
|
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '哎呦,提醒你',
|
title: '哎呦,提醒你',
|
||||||
content: '是否确认已经收到商品了呀',
|
content: '是否确认已经收到商品了呀',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
console.log(no)
|
|
||||||
mallShipmentsSign(no).then(res => {
|
mallShipmentsSign(no).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res,
|
title: res,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
this.getInfo(no)
|
this.getInfo(no)
|
||||||
@@ -186,7 +199,8 @@
|
|||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -194,7 +208,8 @@
|
|||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '放弃了~',
|
title: '放弃了~',
|
||||||
type: 'error',icon:false,
|
type: 'error',
|
||||||
|
icon: false,
|
||||||
duration: 3000
|
duration: 3000
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -203,7 +218,6 @@
|
|||||||
},
|
},
|
||||||
// 查看提货二维码 弹窗
|
// 查看提货二维码 弹窗
|
||||||
takeCode() {
|
takeCode() {
|
||||||
console.log(this.info.code)
|
|
||||||
let url = this.info.code,
|
let url = this.info.code,
|
||||||
urls = [this.info.code]
|
urls = [this.info.code]
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
@@ -226,13 +240,10 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
map(info) {
|
map(info) {
|
||||||
console.log(info.latitude,info.longitude)
|
|
||||||
uni.openLocation({
|
uni.openLocation({
|
||||||
latitude: Number(info.latitude),
|
latitude: Number(info.latitude),
|
||||||
longitude: Number(info.longitude),
|
longitude: Number(info.longitude),
|
||||||
success: function () {
|
success: function() {}
|
||||||
console.log('success');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -327,6 +338,7 @@
|
|||||||
padding: 30rpx 0;
|
padding: 30rpx 0;
|
||||||
border-bottom: solid 1rpx #f7f7f7;
|
border-bottom: solid 1rpx #f7f7f7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.goods-type-1 {
|
.goods-type-1 {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -336,12 +348,14 @@
|
|||||||
padding: 30rpx 0;
|
padding: 30rpx 0;
|
||||||
border-bottom: solid 1rpx #f7f7f7;
|
border-bottom: solid 1rpx #f7f7f7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.goods-type-address {
|
.goods-type-address {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
u-icon {
|
u-icon {
|
||||||
padding-left: 20rpx;
|
padding-left: 20rpx;
|
||||||
}
|
}
|
||||||
@@ -468,6 +482,7 @@
|
|||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 操作信息
|
// 操作信息
|
||||||
.actions {
|
.actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -481,6 +496,7 @@
|
|||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
padding: 20rpx 50rpx 30rpx 50rpx;
|
padding: 20rpx 50rpx 30rpx 50rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
||||||
.nowPay {
|
.nowPay {
|
||||||
padding: 4rpx 20rpx;
|
padding: 4rpx 20rpx;
|
||||||
border-radius: 40rpx;
|
border-radius: 40rpx;
|
||||||
@@ -525,6 +541,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.flexrow {
|
.flexrow {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@@ -532,6 +549,7 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.copy {
|
.copy {
|
||||||
color: $main-color;
|
color: $main-color;
|
||||||
font-size: $title-size*0.8;
|
font-size: $title-size*0.8;
|
||||||
@@ -539,6 +557,7 @@
|
|||||||
padding: 0 30rpx;
|
padding: 0 30rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-address {
|
.no-address {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@@ -546,6 +565,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 优惠券弹窗
|
// 优惠券弹窗
|
||||||
.scrollView {
|
.scrollView {
|
||||||
// padding: 40rpx;
|
// padding: 40rpx;
|
||||||
@@ -582,6 +602,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-top1 {
|
.list-top1 {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@@ -592,21 +613,26 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
margin-top: 30rpx;
|
margin-top: 30rpx;
|
||||||
|
|
||||||
.shop-info {
|
.shop-info {
|
||||||
margin-left: 20rpx;
|
margin-left: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-top1-img {
|
.list-top1-img {
|
||||||
width: 170rpx;
|
width: 170rpx;
|
||||||
height: 170rpx;
|
height: 170rpx;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.des {
|
.des {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-top {
|
.list-top {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@@ -618,15 +644,18 @@
|
|||||||
border-bottom: solid 1rpx #f7f7f7;
|
border-bottom: solid 1rpx #f7f7f7;
|
||||||
width: 600rpx;
|
width: 600rpx;
|
||||||
margin-left: 30rpx;
|
margin-left: 30rpx;
|
||||||
|
|
||||||
.list-top-left {
|
.list-top-left {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.shop-info {
|
.shop-info {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
width: 380rpx;
|
width: 380rpx;
|
||||||
font-size: $title-size*1;
|
font-size: $title-size*1;
|
||||||
@@ -665,5 +694,4 @@
|
|||||||
border-radius: 4rpx;
|
border-radius: 4rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -87,7 +87,6 @@
|
|||||||
methods: {
|
methods: {
|
||||||
// 预览上传图片
|
// 预览上传图片
|
||||||
priviewImg(index) {
|
priviewImg(index) {
|
||||||
console.log(index, this.pictures.showpath)
|
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
current: index,
|
current: index,
|
||||||
urls: this.pictures.showpath
|
urls: this.pictures.showpath
|
||||||
@@ -97,7 +96,6 @@
|
|||||||
updImgs(type) {
|
updImgs(type) {
|
||||||
uni.chooseImage({
|
uni.chooseImage({
|
||||||
success: res => {
|
success: res => {
|
||||||
console.log(res)
|
|
||||||
let path = res.tempFiles.map((val, index) => {
|
let path = res.tempFiles.map((val, index) => {
|
||||||
return {
|
return {
|
||||||
name: 'uploads' + index,
|
name: 'uploads' + index,
|
||||||
@@ -105,12 +103,10 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
uploads(path).then(pathRes => {
|
uploads(path).then(pathRes => {
|
||||||
// console.log(pathRes)
|
|
||||||
this.pictures = {
|
this.pictures = {
|
||||||
path: [...this.pictures.path, ...pathRes.path],
|
path: [...this.pictures.path, ...pathRes.path],
|
||||||
showpath: [...this.pictures.showpath, ...pathRes.url]
|
showpath: [...this.pictures.showpath, ...pathRes.url]
|
||||||
}
|
}
|
||||||
console.log(this.pictures)
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
@@ -122,11 +118,8 @@
|
|||||||
},
|
},
|
||||||
// 删除图片
|
// 删除图片
|
||||||
closeImg(index) {
|
closeImg(index) {
|
||||||
console.log(index)
|
|
||||||
this.pictures.path.splice(index, 1)
|
this.pictures.path.splice(index, 1)
|
||||||
this.pictures.showpath.splice(index, 1)
|
this.pictures.showpath.splice(index, 1)
|
||||||
|
|
||||||
console.log(this.pictures);
|
|
||||||
},
|
},
|
||||||
// 获取退货的基本信息
|
// 获取退货的基本信息
|
||||||
getInfo(shipment_no) {
|
getInfo(shipment_no) {
|
||||||
@@ -139,7 +132,6 @@
|
|||||||
}
|
}
|
||||||
lists.push(items)
|
lists.push(items)
|
||||||
})
|
})
|
||||||
console.log(lists)
|
|
||||||
this.list = lists
|
this.list = lists
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
@@ -182,7 +174,6 @@
|
|||||||
success: (res) => {
|
success: (res) => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
mallShipmentsRefund(data).then(res => {
|
mallShipmentsRefund(data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res,
|
title: res,
|
||||||
type: 'error',icon:false,
|
type: 'error',icon:false,
|
||||||
|
|||||||
@@ -68,7 +68,6 @@
|
|||||||
page: this.page
|
page: this.page
|
||||||
}
|
}
|
||||||
mallWarrants(data).then(res => {
|
mallWarrants(data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.lists = this.lists.concat(res.data)
|
this.lists = this.lists.concat(res.data)
|
||||||
this.total = res.total
|
this.total = res.total
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|||||||
@@ -224,11 +224,9 @@
|
|||||||
}
|
}
|
||||||
data.store_id = ''
|
data.store_id = ''
|
||||||
}
|
}
|
||||||
console.log(data)
|
|
||||||
// 快递单继续沿用之前的信息
|
// 快递单继续沿用之前的信息
|
||||||
if (data.type === '1') {
|
if (data.type === '1') {
|
||||||
mallWarrantsSure(data).then(res => {
|
mallWarrantsSure(data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res,
|
title: res,
|
||||||
type: 'error',icon:false,
|
type: 'error',icon:false,
|
||||||
@@ -250,7 +248,6 @@
|
|||||||
// 提货或者服务单生成二维码
|
// 提货或者服务单生成二维码
|
||||||
else {
|
else {
|
||||||
mallWarrantsQrcode(data).then(res => {
|
mallWarrantsQrcode(data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.showCodeImg = res.code
|
this.showCodeImg = res.code
|
||||||
// uni.setStorageSync('refresh', true)
|
// uni.setStorageSync('refresh', true)
|
||||||
this.showCode = true
|
this.showCode = true
|
||||||
|
|||||||
@@ -63,7 +63,6 @@
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
onShow(){
|
onShow(){
|
||||||
console.log(uni.getStorageSync('refresh'),'getStorageSync')
|
|
||||||
if(uni.getStorageSync('refresh')){
|
if(uni.getStorageSync('refresh')){
|
||||||
this.reset()
|
this.reset()
|
||||||
}
|
}
|
||||||
@@ -108,7 +107,6 @@
|
|||||||
apiUrl = 'mall/shipments/service'
|
apiUrl = 'mall/shipments/service'
|
||||||
data.channel = 'app'
|
data.channel = 'app'
|
||||||
mallShipmentsPostShop(apiUrl,data).then(res=>{
|
mallShipmentsPostShop(apiUrl,data).then(res=>{
|
||||||
console.log(res.count)
|
|
||||||
this.count = res.count
|
this.count = res.count
|
||||||
this.lists = this.lists.concat(res.lists.data)
|
this.lists = this.lists.concat(res.lists.data)
|
||||||
this.total = res.lists.page.total
|
this.total = res.lists.page.total
|
||||||
|
|||||||
@@ -102,10 +102,8 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
console.log(e)
|
|
||||||
this.shipment_no = e.no
|
this.shipment_no = e.no
|
||||||
this.getInfo(e.no)
|
this.getInfo(e.no)
|
||||||
console.log(this.shipment_no)
|
|
||||||
// this.getInfo('2021081817410747800300000004')
|
// this.getInfo('2021081817410747800300000004')
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -134,12 +132,10 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
map(info) {
|
map(info) {
|
||||||
console.log(info.latitude, info.longitude)
|
|
||||||
uni.openLocation({
|
uni.openLocation({
|
||||||
latitude: Number(info.latitude),
|
latitude: Number(info.latitude),
|
||||||
longitude: Number(info.longitude),
|
longitude: Number(info.longitude),
|
||||||
success: function() {
|
success: function() {
|
||||||
console.log('success');
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -159,7 +159,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
scanList(apiUrl, data).then(res => {
|
scanList(apiUrl, data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.account = res.all
|
this.account = res.all
|
||||||
this.lists = this.lists.concat(res.lists.data)
|
this.lists = this.lists.concat(res.lists.data)
|
||||||
this.has_more = res.lists.page.has_more
|
this.has_more = res.lists.page.has_more
|
||||||
@@ -167,7 +166,6 @@
|
|||||||
this.ShopList = [{name:'全部',store_id:''},...res.stores]
|
this.ShopList = [{name:'全部',store_id:''},...res.stores]
|
||||||
this.isBos = res.isBos
|
this.isBos = res.isBos
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
type: 'error',
|
type: 'error',
|
||||||
@@ -192,7 +190,6 @@
|
|||||||
},
|
},
|
||||||
// 选择 年 月 日 切换要重置数据
|
// 选择 年 月 日 切换要重置数据
|
||||||
selectType(type) {
|
selectType(type) {
|
||||||
console.log(type, typeof type)
|
|
||||||
if (this.type !== type) {
|
if (this.type !== type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'year':
|
case 'year':
|
||||||
|
|||||||
@@ -60,12 +60,9 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
scanCode(e) {
|
scanCode(e) {
|
||||||
console.log(e)
|
|
||||||
this.scanType = e
|
this.scanType = e
|
||||||
uni.scanCode({
|
uni.scanCode({
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
console.log('条码类型:' + res.scanType);
|
|
||||||
console.log('条码内容:' + res.result);
|
|
||||||
// uni.showLoading({
|
// uni.showLoading({
|
||||||
// title: '核销请求中..'
|
// title: '核销请求中..'
|
||||||
// })
|
// })
|
||||||
@@ -76,16 +73,13 @@
|
|||||||
},
|
},
|
||||||
// 请求核销前置,优惠券前置和权证前置(get) post 是核销
|
// 请求核销前置,优惠券前置和权证前置(get) post 是核销
|
||||||
scanInfo(token, method) {
|
scanInfo(token, method) {
|
||||||
console.log(token, this.scanType)
|
|
||||||
let apiUrl = ''
|
let apiUrl = ''
|
||||||
let data = {
|
let data = {
|
||||||
code: token
|
code: token
|
||||||
}
|
}
|
||||||
if (this.scanType === 'goods') {
|
if (this.scanType === 'goods') {
|
||||||
console.log('权证核销')
|
|
||||||
apiUrl = 'manages/warrants/verification'
|
apiUrl = 'manages/warrants/verification'
|
||||||
} else {
|
} else {
|
||||||
console.log('优惠券核销!')
|
|
||||||
apiUrl = 'coupons/verify/coupon'
|
apiUrl = 'coupons/verify/coupon'
|
||||||
}
|
}
|
||||||
scanInfo(apiUrl, data, method).then(res => {
|
scanInfo(apiUrl, data, method).then(res => {
|
||||||
@@ -104,8 +98,6 @@
|
|||||||
this.info = res
|
this.info = res
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log('优惠券核销 有商品跳转优惠券详情页面,没有商品直接弹出核销页面!')
|
|
||||||
console.log(res, 'res')
|
|
||||||
if (method === 'post') {
|
if (method === 'post') {
|
||||||
this.showCode = false
|
this.showCode = false
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
export default {
|
export default {
|
||||||
methods:{
|
methods:{
|
||||||
toUser(){
|
toUser(){
|
||||||
console.log('trule')
|
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/user/index'
|
url:'/pages/user/index'
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -98,7 +98,8 @@
|
|||||||
<block v-else>
|
<block v-else>
|
||||||
<view class="privilege-label" v-if="openCondition.certification"
|
<view class="privilege-label" v-if="openCondition.certification"
|
||||||
:class="{ active: openCondition.certification.finish }">
|
:class="{ active: openCondition.certification.finish }">
|
||||||
{{ openCondition.certification.message }}</view>
|
{{ openCondition.certification.message }}
|
||||||
|
</view>
|
||||||
</block>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -128,7 +129,8 @@
|
|||||||
:src="identitie[tabsIndex].button_cover" mode="widthFix" @click="openOrder" />
|
:src="identitie[tabsIndex].button_cover" mode="widthFix" @click="openOrder" />
|
||||||
<view class="current-btn-sh" v-if="identitie[tabsIndex].can.show_button && voucher !== ''"
|
<view class="current-btn-sh" v-if="identitie[tabsIndex].can.show_button && voucher !== ''"
|
||||||
@click="openOrder">
|
@click="openOrder">
|
||||||
{{voucher.status.value === 1?'申请审核中':''}}{{voucher.status.value === 3?'申请被驳回查看原因':''}}</view>
|
{{voucher.status.value === 1?'申请审核中':''}}{{voucher.status.value === 3?'申请被驳回查看原因':''}}
|
||||||
|
</view>
|
||||||
<!-- <view class="current-btn-sh" v-if="!identitie[tabsIndex].can.show_button && voucher === ''">已开通</view> -->
|
<!-- <view class="current-btn-sh" v-if="!identitie[tabsIndex].can.show_button && voucher === ''">已开通</view> -->
|
||||||
<view class="ios-bottom"></view>
|
<view class="ios-bottom"></view>
|
||||||
</view>
|
</view>
|
||||||
@@ -136,10 +138,23 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { identities, vipOrder, vipWechatPay, vipCont, vipVoucherUpdate, vipVoucher } from '@/apis/interfaces/vip';
|
import {
|
||||||
import { wxConfig } from '@/apis/interfaces/wx';
|
identities,
|
||||||
import { getAliPayConfig } from '@/apis/interfaces/alipay'
|
vipOrder,
|
||||||
import { uploads } from '@/apis/interfaces/uploading';
|
vipWechatPay,
|
||||||
|
vipCont,
|
||||||
|
vipVoucherUpdate,
|
||||||
|
vipVoucher
|
||||||
|
} from '@/apis/interfaces/vip';
|
||||||
|
import {
|
||||||
|
wxConfig
|
||||||
|
} from '@/apis/interfaces/wx';
|
||||||
|
import {
|
||||||
|
getAliPayConfig
|
||||||
|
} from '@/apis/interfaces/alipay'
|
||||||
|
import {
|
||||||
|
uploads
|
||||||
|
} from '@/apis/interfaces/uploading';
|
||||||
import cashierPay from '@/public/cashierPay'
|
import cashierPay from '@/public/cashierPay'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -73,7 +73,6 @@
|
|||||||
// 获取添加银行前置条件
|
// 获取添加银行前置条件
|
||||||
getAccountsCreate() {
|
getAccountsCreate() {
|
||||||
accountsCreate().then(res => {
|
accountsCreate().then(res => {
|
||||||
console.log(res)
|
|
||||||
this.banks = res.banks
|
this.banks = res.banks
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
@@ -86,7 +85,6 @@
|
|||||||
// 编辑前置
|
// 编辑前置
|
||||||
getAccountsCreateEdit() {
|
getAccountsCreateEdit() {
|
||||||
accountsCreateEdit(this.bank_account_id).then(res => {
|
accountsCreateEdit(this.bank_account_id).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.banks = res.banks
|
this.banks = res.banks
|
||||||
this.no = res.info.no
|
this.no = res.info.no
|
||||||
this.name = res.info.name
|
this.name = res.info.name
|
||||||
@@ -104,7 +102,6 @@
|
|||||||
},
|
},
|
||||||
// 选择银行
|
// 选择银行
|
||||||
selectBank(e) {
|
selectBank(e) {
|
||||||
console.log(e[0])
|
|
||||||
this.selectBankObj = e[0]
|
this.selectBankObj = e[0]
|
||||||
this.bank_id = e[0].value
|
this.bank_id = e[0].value
|
||||||
},
|
},
|
||||||
@@ -158,7 +155,6 @@
|
|||||||
}
|
}
|
||||||
if (this.bank_account_id) {
|
if (this.bank_account_id) {
|
||||||
data.bank_account_id = this.bank_account_id
|
data.bank_account_id = this.bank_account_id
|
||||||
console.log(data)
|
|
||||||
this.withdrawsAccountsEdits(data)
|
this.withdrawsAccountsEdits(data)
|
||||||
} else {
|
} else {
|
||||||
this.withdrawsAccounts(data)
|
this.withdrawsAccounts(data)
|
||||||
|
|||||||
@@ -73,7 +73,6 @@
|
|||||||
page: this.page
|
page: this.page
|
||||||
}
|
}
|
||||||
withdrawsAccountsList(data).then(res => {
|
withdrawsAccountsList(data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.lists = this.lists.concat(res.data)
|
this.lists = this.lists.concat(res.data)
|
||||||
this.has_more = res.page.has_more
|
this.has_more = res.page.has_more
|
||||||
uni.setStorageSync('refresh', false)
|
uni.setStorageSync('refresh', false)
|
||||||
@@ -107,7 +106,6 @@
|
|||||||
success(res) {
|
success(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
withdrawsAccountsDelete(id).then(res => {
|
withdrawsAccountsDelete(id).then(res => {
|
||||||
console.log(res)
|
|
||||||
that.lists.splice(index, 1)
|
that.lists.splice(index, 1)
|
||||||
if (that.lists.length === 0) {
|
if (that.lists.length === 0) {
|
||||||
uni.navigateBack({})
|
uni.navigateBack({})
|
||||||
@@ -132,7 +130,6 @@
|
|||||||
// }
|
// }
|
||||||
// let pages = getCurrentPages()
|
// let pages = getCurrentPages()
|
||||||
// let prevPage = pages[pages.length - 2]
|
// let prevPage = pages[pages.length - 2]
|
||||||
// console.log(bankInfo)
|
|
||||||
// prevPage._data.bankInfo = bankInfo
|
// prevPage._data.bankInfo = bankInfo
|
||||||
// uni.navigateBack() //返回上一页面
|
// uni.navigateBack() //返回上一页面
|
||||||
|
|
||||||
|
|||||||
@@ -84,7 +84,6 @@
|
|||||||
// 输入提现通证金额
|
// 输入提现通证金额
|
||||||
inputNum(e) {
|
inputNum(e) {
|
||||||
let number = Number(e.detail.value)
|
let number = Number(e.detail.value)
|
||||||
console.log(number, this.balance)
|
|
||||||
if (number <= Number(this.balance)) {
|
if (number <= Number(this.balance)) {
|
||||||
this.total = Number(e.detail.value) * this.cost
|
this.total = Number(e.detail.value) * this.cost
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<view :class="['pay_type_item',cointype==='0'?'pay_type_item_select':'']" @click="selectCoinType('0')">已发放</view>
|
<view :class="['pay_type_item',cointype==='0'?'pay_type_item_select':'']" @click="selectCoinType('0')">已发放</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="record-title">当前积分个数</view>
|
<view class="record-title">当前贡献值个数</view>
|
||||||
<view class="record-money">{{score || '0.00'}} <span>个</span></view>
|
<view class="record-money">{{score || '0.00'}} <span>个</span></view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 无列表 -->
|
<!-- 无列表 -->
|
||||||
<no-list v-if="lists.length === 0" name='no-record' txt="没有任何积分记录 ~ " />
|
<no-list v-if="lists.length === 0" name='no-record' txt="没有任何贡献值记录 ~ " />
|
||||||
|
|
||||||
<!-- <u-toast ref="uToast" /> -->
|
<!-- <u-toast ref="uToast" /> -->
|
||||||
<u-toast ref="uToast" />
|
<u-toast ref="uToast" />
|
||||||
|
|||||||
@@ -140,7 +140,6 @@
|
|||||||
success: (res) => {
|
success: (res) => {
|
||||||
switch (res.tapIndex) {
|
switch (res.tapIndex) {
|
||||||
case 0:
|
case 0:
|
||||||
console.log('提现了,')
|
|
||||||
this.$Router.push({
|
this.$Router.push({
|
||||||
name: 'Extract'
|
name: 'Extract'
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -58,11 +58,9 @@
|
|||||||
this.reset()
|
this.reset()
|
||||||
uni.setStorageSync('refresh',false)
|
uni.setStorageSync('refresh',false)
|
||||||
}else{
|
}else{
|
||||||
console.log('没有更多更新')
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
console.log('chudi.....')
|
|
||||||
if(this.has_more){
|
if(this.has_more){
|
||||||
this.page = this.page+1
|
this.page = this.page+1
|
||||||
this.getlog()
|
this.getlog()
|
||||||
@@ -80,7 +78,6 @@
|
|||||||
page:this.page
|
page:this.page
|
||||||
}
|
}
|
||||||
accountCashs(data).then(res => {
|
accountCashs(data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.logs = this.logs.concat(res.lists.data)
|
this.logs = this.logs.concat(res.lists.data)
|
||||||
this.cash = res.cash
|
this.cash = res.cash
|
||||||
this.has_more = res.lists.page.has_more
|
this.has_more = res.lists.page.has_more
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="record-title">积分个数</view>
|
<!-- <view class="record-title">贡献值个数</view>
|
||||||
<view class="record-money"><span>¥</span>{{account || '0.00'}}</view> -->
|
<view class="record-money"><span>¥</span>{{account || '0.00'}}</view> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -108,7 +108,6 @@
|
|||||||
date: this.date,
|
date: this.date,
|
||||||
}
|
}
|
||||||
withdrawsIndexLists(data).then(res => {
|
withdrawsIndexLists(data).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.account = res.all
|
this.account = res.all
|
||||||
this.lists = this.lists.concat(res.lists.data)
|
this.lists = this.lists.concat(res.lists.data)
|
||||||
this.has_next_page = res.lists.page.has_more
|
this.has_next_page = res.lists.page.has_more
|
||||||
|
|||||||
49417
unpackage/dist/dev/app-plus/app-service.js
vendored
49417
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user