feat:替换部分图片
@@ -1,4 +1,5 @@
|
|||||||
node_modules
|
node_modules/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.history
|
.history/
|
||||||
unpackage
|
unpackage/
|
||||||
|
dist/
|
||||||
@@ -1,30 +1,33 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- <up-loading-page :loading="listLoading"></up-loading-page> -->
|
<!-- <up-loading-page :loading="listLoading"></up-loading-page> -->
|
||||||
<scroll-view scroll-y="true" @scrolltolower="loadMore" :style="{'height': heightRef}">
|
<scroll-view scroll-y="true" @scrolltolower="loadMore" :style="{ 'height': heightRef }">
|
||||||
<view class="prize_draw_item" v-for="item in prizeDrawList" :key="item.id" v-if="prizeDrawList && prizeDrawList.length!==0">
|
<view class="prize_draw_item" v-for="item in prizeDrawList" :key="item.id"
|
||||||
|
v-if="prizeDrawList && prizeDrawList.length !== 0">
|
||||||
<view class="prize_draw_left_warp">
|
<view class="prize_draw_left_warp">
|
||||||
<up-image :src="item.iconUrl ? item.iconUrl :'/static/mine/zj_f.jpg'" width="60" height="60" bgColor="#f1f6ff00"></up-image>
|
<up-image :src="item.iconUrl ? item.iconUrl : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/zj_f.jpg'"
|
||||||
|
width="60" height="60" bgColor="#f1f6ff00"></up-image>
|
||||||
<view style="margin-left: 20rpx;">
|
<view style="margin-left: 20rpx;">
|
||||||
<view class="title_">{{item.prizeName}}</view>
|
<view class="title_">{{ item.prizeName }}</view>
|
||||||
<view class="time_">{{formatDate(item.ctdate)}}</view>
|
<view class="time_">{{ formatDate(item.ctdate) }}</view>
|
||||||
<view
|
<view class="delivery_"
|
||||||
class="delivery_"
|
v-if="[DELIVER_STATUS.AWAIT_DELIVERY_REQUIRED, DELIVER_STATUS.YES_DELIVERY_REQUIRED, DELIVER_STATUS.RECEIVED].includes(item.deliveryStatus)">
|
||||||
v-if="[DELIVER_STATUS.AWAIT_DELIVERY_REQUIRED,DELIVER_STATUS.YES_DELIVERY_REQUIRED,DELIVER_STATUS.RECEIVED].includes(item.deliveryStatus)"
|
<view class="delivery_status">{{ getValue(DELIVER_STATUS_, item.deliveryStatus) }}</view>
|
||||||
>
|
|
||||||
<view class="delivery_status">{{getValue(DELIVER_STATUS_,item.deliveryStatus)}}</view>
|
|
||||||
<view class="delivery_num" v-if="item.deliveryNum">
|
<view class="delivery_num" v-if="item.deliveryNum">
|
||||||
<text style="margin-right: 10rpx;">运单号:{{ item.deliveryNum}}</text>
|
<text style="margin-right: 10rpx;">运单号:{{ item.deliveryNum }}</text>
|
||||||
<up-image src="/static/common/copy.png" width="10" height="10" bgColor="#f1f6ff00" @click="copyData(item.deliveryNum)"></up-image>
|
<up-image src="/static/common/copy.png" width="10" height="10" bgColor="#f1f6ff00"
|
||||||
|
@click="copyData(item.deliveryNum)"></up-image>
|
||||||
</view>
|
</view>
|
||||||
<view class="delivery_num" v-else>运单号:暂无</view>
|
<view class="delivery_num" v-else>运单号:暂无</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="prize_draw_right_warp" v-if="item.type === 4" v-show="item.status === 1" @click="jumpGetFun(item)">去领取</view>
|
<view class="prize_draw_right_warp" v-if="item.type === 4" v-show="item.status === 1" @click="jumpGetFun(item)">
|
||||||
|
去领取</view>
|
||||||
<view class="prize_draw_right_warp yes_" v-if="item.type === 4" v-show="item.status === 2">已领取</view>
|
<view class="prize_draw_right_warp yes_" v-if="item.type === 4" v-show="item.status === 2">已领取</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">还未中奖哦~</view>
|
<view class="not_order_msg_warp">还未中奖哦~</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="loading" style="text-align: center;">加载中...</view>
|
<view v-if="loading" style="text-align: center;">加载中...</view>
|
||||||
@@ -33,12 +36,12 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getWinningList } from '@/api/raffle.js';
|
import { getWinningList } from '@/api/raffle.js';
|
||||||
import { formatDate,copyData } from '@/utils/index.js';
|
import { formatDate, copyData } from '@/utils/index.js';
|
||||||
import { DELIVER_STATUS,DELIVER_STATUS_,getValue } from '@/utils/enumUtils.js'
|
import { DELIVER_STATUS, DELIVER_STATUS_, getValue } from '@/utils/enumUtils.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name:"winning_record",
|
name: "winning_record",
|
||||||
props: {
|
props: {
|
||||||
heightRef: { //当前选中的tab项
|
heightRef: { //当前选中的tab项
|
||||||
type: Number,
|
type: Number,
|
||||||
@@ -49,22 +52,22 @@
|
|||||||
DELIVER_STATUS() {
|
DELIVER_STATUS() {
|
||||||
return DELIVER_STATUS;
|
return DELIVER_STATUS;
|
||||||
},
|
},
|
||||||
DELIVER_STATUS_(){
|
DELIVER_STATUS_() {
|
||||||
return DELIVER_STATUS_;
|
return DELIVER_STATUS_;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
prizeDrawList:[],// 抽奖列表
|
prizeDrawList: [],// 抽奖列表
|
||||||
form:{
|
form: {
|
||||||
status:'',
|
status: '',
|
||||||
page:1,
|
page: 1,
|
||||||
pageSize:20,
|
pageSize: 20,
|
||||||
},
|
},
|
||||||
loading: false, // 加载状态标志
|
loading: false, // 加载状态标志
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted(){
|
mounted() {
|
||||||
// this.jumpMine();
|
// this.jumpMine();
|
||||||
this.loadData(); // 页面加载时加载数据
|
this.loadData(); // 页面加载时加载数据
|
||||||
},
|
},
|
||||||
@@ -72,9 +75,9 @@
|
|||||||
formatDate,
|
formatDate,
|
||||||
copyData,
|
copyData,
|
||||||
getValue,
|
getValue,
|
||||||
jumpGetFun(item){
|
jumpGetFun(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url:'/pages/other_package/get_prize/get_prize?id='+item.id,
|
url: '/pages/other_package/get_prize/get_prize?id=' + item.id,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -85,7 +88,7 @@
|
|||||||
try {
|
try {
|
||||||
// 模拟异步获取数据,实际应用中应该替换为你的数据获取逻辑,例如API调用
|
// 模拟异步获取数据,实际应用中应该替换为你的数据获取逻辑,例如API调用
|
||||||
const newData = await this.fetchData(this.form.page, this.form.pageSize);
|
const newData = await this.fetchData(this.form.page, this.form.pageSize);
|
||||||
if(newData.entitys && newData.entitys.length !==0){
|
if (newData.entitys && newData.entitys.length !== 0) {
|
||||||
this.prizeDrawList = [...this.prizeDrawList, ...newData.entitys]; // 将新数据添加到列表中
|
this.prizeDrawList = [...this.prizeDrawList, ...newData.entitys]; // 将新数据添加到列表中
|
||||||
this.form.page++; // 页码加1
|
this.form.page++; // 页码加1
|
||||||
}
|
}
|
||||||
@@ -102,9 +105,9 @@
|
|||||||
pageSize,
|
pageSize,
|
||||||
}
|
}
|
||||||
const data = await getWinningList(params);
|
const data = await getWinningList(params);
|
||||||
if(data && data.bizcode === 100){
|
if (data && data.bizcode === 100) {
|
||||||
return data.data
|
return data.data
|
||||||
}else{
|
} else {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -113,51 +116,58 @@
|
|||||||
this.loadData(); // 加载更多数据
|
this.loadData(); // 加载更多数据
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.prize_draw_warp{
|
.prize_draw_warp {}
|
||||||
}
|
|
||||||
.prize_draw_item{
|
.prize_draw_item {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 20rpx 0;
|
padding: 20rpx 0;
|
||||||
border-bottom: 1rpx solid #EEEEEE;
|
border-bottom: 1rpx solid #EEEEEE;
|
||||||
}
|
}
|
||||||
.prize_draw_left_warp{
|
|
||||||
|
.prize_draw_left_warp {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.title_{
|
|
||||||
|
.title_ {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
}
|
}
|
||||||
.time_{
|
|
||||||
|
.time_ {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
}
|
}
|
||||||
.delivery_{
|
|
||||||
|
.delivery_ {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
.delivery_status{
|
|
||||||
|
.delivery_status {
|
||||||
padding: 6rpx 10rpx;
|
padding: 6rpx 10rpx;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
color: $app-bt-bj;
|
color: $app-bt-bj;
|
||||||
border: 1rpx solid $app-bt-bj;
|
border: 1rpx solid $app-bt-bj;
|
||||||
}
|
}
|
||||||
.delivery_num{
|
|
||||||
|
.delivery_num {
|
||||||
margin-left: 10rpx;
|
margin-left: 10rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.prize_draw_right_warp{
|
|
||||||
|
.prize_draw_right_warp {
|
||||||
background: $app-bt-bj;
|
background: $app-bt-bj;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -165,7 +175,8 @@
|
|||||||
padding: 10rpx 28rpx;
|
padding: 10rpx 28rpx;
|
||||||
height: 48rpx;
|
height: 48rpx;
|
||||||
}
|
}
|
||||||
.yes_{
|
|
||||||
|
.yes_ {
|
||||||
background: #F5F5F5;
|
background: #F5F5F5;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="lottery">
|
<view class="lottery">
|
||||||
<dengbo-lotteryWheel :prizes="prizes" :size="626" :duration="5000" @run="Click"
|
<dengbo-lotteryWheel :prizes="prizes" :size="626" :duration="5000" @run="Click" @done="Done"
|
||||||
@done="Done" ref="luckyWheel" :lightImgs="lightImages" customStyle="borderRadius: 50%;">
|
ref="luckyWheel" :lightImgs="lightImages" customStyle="borderRadius: 50%;">
|
||||||
<template v-slot:bg>
|
<template v-slot:bg>
|
||||||
<image src="/static/turntable/turntable.png" style="width: 100%; height: 100%" />
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/turntable.png"
|
||||||
|
style="width: 100%; height: 100%" />
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:pointer>
|
<template v-slot:pointer>
|
||||||
<up-image src="/static/turntable/zz.png" width="40" height="40" mode="widthFix" @click="startWheel"></up-image>
|
<up-image src="/static/turntable/zz.png" width="40" height="40" mode="widthFix"
|
||||||
|
@click="startWheel"></up-image>
|
||||||
</template>
|
</template>
|
||||||
</dengbo-lotteryWheel>
|
</dengbo-lotteryWheel>
|
||||||
</view>
|
</view>
|
||||||
@@ -15,10 +17,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
lightImages: ['/static/turntable/zz.png', '/static/turntable/turntable.png'],
|
lightImages: ['/static/turntable/zz.png', 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/turntable.png'],
|
||||||
prizes: [{
|
prizes: [{
|
||||||
name: '积分',
|
name: '积分',
|
||||||
image: '/static/turntable/record.png',
|
image: '/static/turntable/record.png',
|
||||||
@@ -72,20 +74,21 @@
|
|||||||
console.log('抽奖结束,中奖奖品:', prize);
|
console.log('抽奖结束,中奖奖品:', prize);
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.content{
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.lottery {
|
|
||||||
|
.lottery {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 626rpx;
|
width: 626rpx;
|
||||||
height: 626rpx;
|
height: 626rpx;
|
||||||
margin-top: 100rpx;
|
margin-top: 100rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -54,7 +54,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">暂无分类</view>
|
<view class="not_order_msg_warp">暂无分类</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -51,7 +51,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">还未发布新闻哦~</view>
|
<view class="not_order_msg_warp">还未发布新闻哦~</view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<Header leftTitle="商家入驻" left-path-type="switchTab" left-path="/pages/mine/mine" />
|
<Header leftTitle="商家入驻" left-path-type="switchTab" left-path="/pages/mine/mine" />
|
||||||
<view class="authentication_ok_content">
|
<view class="authentication_ok_content">
|
||||||
<view class="authentication_result">
|
<view class="authentication_result">
|
||||||
<up-image src="/static/mine/auth_ok.png" mode="widthFix" shape="circle" width="140" height="140"
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/auth_ok.png" mode="widthFix"
|
||||||
bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
shape="circle" width="140" height="140" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
||||||
<view class="result_value">提交成功</view>
|
<view class="result_value">提交成功</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="reauthentication_warp">
|
<view class="reauthentication_warp">
|
||||||
|
|||||||
@@ -3,7 +3,8 @@
|
|||||||
<view class="mine_header">
|
<view class="mine_header">
|
||||||
<view class="mine_login_data" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
<view class="mine_login_data" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
||||||
<view class="mine_data">
|
<view class="mine_data">
|
||||||
<up-image src="/static/logo_y.png" shape="circle" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/logo_y.png" shape="circle" width="80"
|
||||||
|
height="80" bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="mine_info">
|
<view class="mine_info">
|
||||||
<view class="mine_info_name">
|
<view class="mine_info_name">
|
||||||
<text style="margin-right: 20rpx;">{{ currentUserData.name || '信任桥用户' }}</text>
|
<text style="margin-right: 20rpx;">{{ currentUserData.name || '信任桥用户' }}</text>
|
||||||
@@ -80,7 +81,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<up-image src="/static/mine/enter_sj.png" width="50" height="50" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/enter_sj.png" width="50" height="50"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
</view>
|
</view>
|
||||||
<view class="enter_item" @click="jumpEnter('brand')">
|
<view class="enter_item" @click="jumpEnter('brand')">
|
||||||
<view>
|
<view>
|
||||||
@@ -92,7 +94,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<up-image src="/static/mine/enter_pp.png" width="50" height="50" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/enter_pp.png" width="50" height="50"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 服务工具 -->
|
<!-- 服务工具 -->
|
||||||
@@ -232,7 +235,7 @@ export default {
|
|||||||
{
|
{
|
||||||
id: 3,
|
id: 3,
|
||||||
title: "交易",
|
title: "交易",
|
||||||
url: '/static/mine/apply_hm.png'
|
url: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/apply_hm.png'
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// id:4,
|
// id:4,
|
||||||
@@ -282,7 +285,7 @@ export default {
|
|||||||
{
|
{
|
||||||
id: 7,
|
id: 7,
|
||||||
title: "联系客服",
|
title: "联系客服",
|
||||||
url: '/static/mine/tool_kf.png'
|
url: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/tool_kf.png'
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// id:4,
|
// id:4,
|
||||||
@@ -304,7 +307,7 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
id: 11,
|
id: 11,
|
||||||
title: "RWA交易",
|
title: "RWA交易",
|
||||||
url: '/static/mine/tool_hxjy.png',
|
url: 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/tool_hxjy.png',
|
||||||
path: "/pages/rwa_package/rwa/rwa",
|
path: "/pages/rwa_package/rwa/rwa",
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<Header :leftTitle="$t('authentication.title')" left-path-type="switchTab" left-path="/pages/mine/mine" />
|
<Header :leftTitle="$t('authentication.title')" left-path-type="switchTab" left-path="/pages/mine/mine" />
|
||||||
<view class="authentication_ok_content" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
<view class="authentication_ok_content" v-if="currentUserData && Object.keys(currentUserData).length !== 0">
|
||||||
<view class="authentication_result">
|
<view class="authentication_result">
|
||||||
<up-image src="/static/mine/auth_ok.png" mode="widthFix" shape="circle" width="140" height="140"
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/auth_ok.png" mode="widthFix"
|
||||||
bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
shape="circle" width="140" height="140" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
||||||
<view class="result_value">{{ getValue(CERT_STATUS_OPTION, currentUserData.certStatus) }}</view>
|
<view class="result_value">{{ getValue(CERT_STATUS_OPTION, currentUserData.certStatus) }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="currentUserData.certStatus === 3" class="reauthentication_warp">
|
<view v-if="currentUserData.certStatus === 3" class="reauthentication_warp">
|
||||||
@@ -14,7 +14,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">暂无相关认证信息</view>
|
<view class="not_order_msg_warp">暂无相关认证信息</view>
|
||||||
</view>
|
</view>
|
||||||
<up-toast ref="uToastRef"></up-toast>
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
|
|||||||
@@ -22,7 +22,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">还未绑定银行卡哦~</view>
|
<view class="not_order_msg_warp">还未绑定银行卡哦~</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
<!-- 我的信息 -->
|
<!-- 我的信息 -->
|
||||||
<view class="my_info">
|
<view class="my_info">
|
||||||
<view class="left_">
|
<view class="left_">
|
||||||
<up-image src="/static/logo_y.png" width="50" height="50" bgColor="#f1f6ff00" shape="circle" />
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/logo_y.png" width="50" height="50"
|
||||||
|
bgColor="#f1f6ff00" shape="circle" />
|
||||||
<view class="left_msg">
|
<view class="left_msg">
|
||||||
<view>
|
<view>
|
||||||
<text>{{ userData.name || '信任桥用户' }}</text>
|
<text>{{ userData.name || '信任桥用户' }}</text>
|
||||||
@@ -121,7 +122,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80"
|
||||||
|
height="80" bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">暂无相关数据</view>
|
<view class="not_order_msg_warp">暂无相关数据</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="royaltyLoading" style="text-align: center;">加载中...</view>
|
<view v-if="royaltyLoading" style="text-align: center;">加载中...</view>
|
||||||
|
|||||||
@@ -82,7 +82,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">团队暂无数据</view>
|
<view class="not_order_msg_warp">团队暂无数据</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="royaltyLoading" style="text-align: center;">加载中...</view>
|
<view v-if="royaltyLoading" style="text-align: center;">加载中...</view>
|
||||||
|
|||||||
@@ -88,7 +88,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">暂无相关订单</view>
|
<view class="not_order_msg_warp">暂无相关订单</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="loading" style="text-align: center;">加载中...</view>
|
<view v-if="loading" style="text-align: center;">加载中...</view>
|
||||||
|
|||||||
@@ -16,7 +16,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">还没有提现记录哦~</view>
|
<view class="not_order_msg_warp">还没有提现记录哦~</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="loading" style="text-align: center;">加载中...</view>
|
<view v-if="loading" style="text-align: center;">加载中...</view>
|
||||||
|
|||||||
@@ -38,7 +38,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</up-radio-group>
|
</up-radio-group>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">暂无兑换选项</view>
|
<view class="not_order_msg_warp">暂无兑换选项</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -32,7 +32,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">暂无记录~</view>
|
<view class="not_order_msg_warp">暂无记录~</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="loading" style="text-align: center;">加载中...</view>
|
<view v-if="loading" style="text-align: center;">加载中...</view>
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
<view class="setting_comm">
|
<view class="setting_comm">
|
||||||
<view class="header_user">
|
<view class="header_user">
|
||||||
<view class="mine_data">
|
<view class="mine_data">
|
||||||
<up-image src="/static/logo_y.png" shape="circle" width="60" height="60" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/logo_y.png" shape="circle" width="60"
|
||||||
|
height="60" bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="mine_info">
|
<view class="mine_info">
|
||||||
<view class="mine_info_name">{{ userData.name || '信任桥用户' }}</view>
|
<view class="mine_info_name">{{ userData.name || '信任桥用户' }}</view>
|
||||||
<view class="mine_info_id">注册手机号:{{ userData.mobile }}</view>
|
<view class="mine_info_id">注册手机号:{{ userData.mobile }}</view>
|
||||||
|
|||||||
@@ -15,7 +15,8 @@
|
|||||||
<dengbo-lotteryWheel :prizes="prizes" :size="626" :duration="5000" @run="startClick(1)" @done="Done"
|
<dengbo-lotteryWheel :prizes="prizes" :size="626" :duration="5000" @run="startClick(1)" @done="Done"
|
||||||
ref="luckyWheel" :lightImgs="lightImages" customStyle="borderRadius: 50%;" :styleOpt="styleOpt">
|
ref="luckyWheel" :lightImgs="lightImages" customStyle="borderRadius: 50%;" :styleOpt="styleOpt">
|
||||||
<template v-slot:bg>
|
<template v-slot:bg>
|
||||||
<image src="/static/turntable/turntable.png" style="width: 100%; height: 100%;" />
|
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/turntable.png"
|
||||||
|
style="width: 100%; height: 100%;" />
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:pointer>
|
<template v-slot:pointer>
|
||||||
<image src="/static/turntable/zz.png" style="width: 50px; height: 50px;" mode="widthFix"
|
<image src="/static/turntable/zz.png" style="width: 50px; height: 50px;" mode="widthFix"
|
||||||
|
|||||||
@@ -3,16 +3,9 @@
|
|||||||
<view class="_header_warp">全球聚合供应链</view>
|
<view class="_header_warp">全球聚合供应链</view>
|
||||||
|
|
||||||
<!-- <view class="_content_warp"> -->
|
<!-- <view class="_content_warp"> -->
|
||||||
<up-swiper
|
<up-swiper :list="swiperList" height="160" @change="e => currentNum = e.current" bgColor="#ffffff00">
|
||||||
:list="swiperList"
|
|
||||||
height="160"
|
|
||||||
@change="e => currentNum = e.current"
|
|
||||||
bgColor="#ffffff00"
|
|
||||||
>
|
|
||||||
<template #indicator>
|
<template #indicator>
|
||||||
<view
|
<view class="indicator-num">
|
||||||
class="indicator-num"
|
|
||||||
>
|
|
||||||
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ swiperList.length }}</text>
|
<text class="indicator-num__text">{{ currentNum + 1 }}/{{ swiperList.length }}</text>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -20,25 +13,26 @@
|
|||||||
<!-- 通知 -->
|
<!-- 通知 -->
|
||||||
<view class="supply_chain_note_warp">
|
<view class="supply_chain_note_warp">
|
||||||
<up-image src="/static/common/note.png" width="16" height="16" bgColor="#f1f6ff00"></up-image>
|
<up-image src="/static/common/note.png" width="16" height="16" bgColor="#f1f6ff00"></up-image>
|
||||||
<up-notice-bar :icon="false" bgColor="#F5F6F8FF" color="#000000E6" text="壹点科技全球聚合供应链:整合京东、阿里、唯品会等一手供应链资源,支持API一键导入,为私域电商全品类货源提供一件代发服务。"></up-notice-bar>
|
<up-notice-bar :icon="false" bgColor="#F5F6F8FF" color="#000000E6"
|
||||||
|
text="壹点科技全球聚合供应链:整合京东、阿里、唯品会等一手供应链资源,支持API一键导入,为私域电商全品类货源提供一件代发服务。"></up-notice-bar>
|
||||||
</view>
|
</view>
|
||||||
<!-- 保障 -->
|
<!-- 保障 -->
|
||||||
<view class="guarantee_warp">
|
<view class="guarantee_warp">
|
||||||
<view class="guarantee_item_warp" v-for="(item,index) in guaranteeList" :key="index">
|
<view class="guarantee_item_warp" v-for="(item, index) in guaranteeList" :key="index">
|
||||||
<view style="margin-top: 10rpx;">
|
<view style="margin-top: 10rpx;">
|
||||||
<up-image :src="item.path" width="20" height="20" bgColor="#f1f6ff00"></up-image>
|
<up-image :src="item.path" width="20" height="20" bgColor="#f1f6ff00"></up-image>
|
||||||
</view>
|
</view>
|
||||||
<view class="guarantee_item_content_warp">
|
<view class="guarantee_item_content_warp">
|
||||||
<view class="title_">{{item.title}}</view>
|
<view class="title_">{{ item.title }}</view>
|
||||||
<view class="content_">{{item.content}}</view>
|
<view class="content_">{{ item.content }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 分类 -->
|
<!-- 分类 -->
|
||||||
<view class="sort_warp">
|
<view class="sort_warp">
|
||||||
<view class="sort_item_warp" v-for="(item,index) in sortList" :key="index" @click="sortFun(item)">
|
<view class="sort_item_warp" v-for="(item, index) in sortList" :key="index" @click="sortFun(item)">
|
||||||
<up-image :src="item.path" width="30" height="30" bgColor="#f1f6ff00" ></up-image>
|
<up-image :src="item.path" width="30" height="30" bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="sort_item_title_warp">{{item.title}}</view>
|
<view class="sort_item_title_warp">{{ item.title }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 商品 -->
|
<!-- 商品 -->
|
||||||
@@ -48,115 +42,116 @@
|
|||||||
<view class="product_title_bg"></view>
|
<view class="product_title_bg"></view>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view scroll-y="true" @scrolltolower="loadMore" style="height:calc(100vh - 158px);margin-top: 10rpx;">
|
<scroll-view scroll-y="true" @scrolltolower="loadMore" style="height:calc(100vh - 158px);margin-top: 10rpx;">
|
||||||
<view class="supply_chain_product_content" v-if="productList && productList.length !==0">
|
<view class="supply_chain_product_content" v-if="productList && productList.length !== 0">
|
||||||
<view class="product_content_item" v-for="item in productList" :key="item.id" @click="jumpInfo(item)">
|
<view class="product_content_item" v-for="item in productList" :key="item.id" @click="jumpInfo(item)">
|
||||||
<up-image :src="item.thumb" width="100%" height="140" bgColor="#f1f6ff00"></up-image>
|
<up-image :src="item.thumb" width="100%" height="140" bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="product_content_item_content">
|
<view class="product_content_item_content">
|
||||||
<view class="product_item_name">{{item.title}}</view>
|
<view class="product_item_name">{{ item.title }}</view>
|
||||||
<view class="product_item_price">
|
<view class="product_item_price">
|
||||||
<view class="price_">
|
<view class="price_">
|
||||||
<text>¥</text>
|
<text>¥</text>
|
||||||
<text style="color:36rpx;">{{item.price}}</text>
|
<text style="color:36rpx;">{{ item.price }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="price_sell">已售{{item.sales}}件</view>
|
<view class="price_sell">已售{{ item.sales }}件</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="not_order_warp">
|
<view v-else class="not_order_warp">
|
||||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_order.png" width="80" height="80"
|
||||||
|
bgColor="#f1f6ff00"></up-image>
|
||||||
<view class="not_order_msg_warp">还未添加商品哦~</view>
|
<view class="not_order_msg_warp">还未添加商品哦~</view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<!-- </view> -->
|
<!-- </view> -->
|
||||||
<CustomTabBar :tabIndex="2"/>
|
<CustomTabBar :tabIndex="2" />
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getCarouselImage } from '@/api/common.js';
|
import { getCarouselImage } from '@/api/common.js';
|
||||||
import { APP_PAGE_TYPE } from '@/utils/enumUtils.js';
|
import { APP_PAGE_TYPE } from '@/utils/enumUtils.js';
|
||||||
import CustomTabBar from '@/components/custom-tab-bar.vue';
|
import CustomTabBar from '@/components/custom-tab-bar.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components:{CustomTabBar},
|
components: { CustomTabBar },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
swiperList:['/static/supply_chain/banner01.png'],
|
swiperList: ['https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/banner01.png'],
|
||||||
currentNum:0,
|
currentNum: 0,
|
||||||
guaranteeList:[
|
guaranteeList: [
|
||||||
{
|
{
|
||||||
path:'/static/supply_chain/pz.png',
|
path: '/static/supply_chain/pz.png',
|
||||||
title:'品质保障',
|
title: '品质保障',
|
||||||
content:'100%正品',
|
content: '100%正品',
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/ks.png',
|
path: '/static/supply_chain/ks.png',
|
||||||
title:'快速发货',
|
title: '快速发货',
|
||||||
content:'48小时内送出',
|
content: '48小时内送出',
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sh.png',
|
path: '/static/supply_chain/sh.png',
|
||||||
title:'售后服务',
|
title: '售后服务',
|
||||||
content:'快速响应',
|
content: '快速响应',
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/th.png',
|
path: '/static/supply_chain/th.png',
|
||||||
title:'退货无忧',
|
title: '退货无忧',
|
||||||
content:'七天无条件退货',
|
content: '七天无条件退货',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
sortList:[
|
sortList: [
|
||||||
{
|
{
|
||||||
path:'/static/supply_chain/sort_fs.png',
|
path: '/static/supply_chain/sort_fs.png',
|
||||||
title:'服饰鞋包',
|
title: '服饰鞋包',
|
||||||
category:"258,259,377"
|
category: "258,259,377"
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sort_sm.png',
|
path: '/static/supply_chain/sort_sm.png',
|
||||||
title:'数码家电',
|
title: '数码家电',
|
||||||
category:"255,257"
|
category: "255,257"
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sort_mz.png',
|
path: '/static/supply_chain/sort_mz.png',
|
||||||
title:'美妆个护',
|
title: '美妆个护',
|
||||||
category:"278,279,280"
|
category: "278,279,280"
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sort_sp.png',
|
path: '/static/supply_chain/sort_sp.png',
|
||||||
title:'食品酒水',
|
title: '食品酒水',
|
||||||
category:"274,275"
|
category: "274,275"
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sort_jj.png',
|
path: '/static/supply_chain/sort_jj.png',
|
||||||
title:'家居生活',
|
title: '家居生活',
|
||||||
category:"271"
|
category: "271"
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sort_my.png',
|
path: '/static/supply_chain/sort_my.png',
|
||||||
title:'母婴用品',
|
title: '母婴用品',
|
||||||
category:"379"
|
category: "379"
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sort_yd.png',
|
path: '/static/supply_chain/sort_yd.png',
|
||||||
title:'运动户外',
|
title: '运动户外',
|
||||||
category:"380"
|
category: "380"
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sort_qc.png',
|
path: '/static/supply_chain/sort_qc.png',
|
||||||
title:'汽车用品',
|
title: '汽车用品',
|
||||||
category:"389"
|
category: "389"
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sort_ts.png',
|
path: '/static/supply_chain/sort_ts.png',
|
||||||
title:'图书音像',
|
title: '图书音像',
|
||||||
category:"385"
|
category: "385"
|
||||||
},{
|
}, {
|
||||||
path:'/static/supply_chain/sort_bg.png',
|
path: '/static/supply_chain/sort_bg.png',
|
||||||
title:'办公用品',
|
title: '办公用品',
|
||||||
category:"386"
|
category: "386"
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
loading:false,
|
loading: false,
|
||||||
form:{
|
form: {
|
||||||
page:1,
|
page: 1,
|
||||||
limit:20,
|
limit: 20,
|
||||||
app_id:"2024111300164927",
|
app_id: "2024111300164927",
|
||||||
sign_type:"MD5",
|
sign_type: "MD5",
|
||||||
sign:"d04be0cedd49608e758458325faecf90",
|
sign: "d04be0cedd49608e758458325faecf90",
|
||||||
category:null,
|
category: null,
|
||||||
},
|
},
|
||||||
productList:[],// 商品图
|
productList: [],// 商品图
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
@@ -166,30 +161,30 @@
|
|||||||
/**
|
/**
|
||||||
* 查询供应链的商品
|
* 查询供应链的商品
|
||||||
*/
|
*/
|
||||||
searchGYLMall(){
|
searchGYLMall() {
|
||||||
if (this.loading) return; // 如果正在加载,则不重复加载
|
if (this.loading) return; // 如果正在加载,则不重复加载
|
||||||
this.loading = true; // 设置加载状态为true
|
this.loading = true; // 设置加载状态为true
|
||||||
try {
|
try {
|
||||||
const params = this.form;
|
const params = this.form;
|
||||||
uni.request({
|
uni.request({
|
||||||
url: "https://cyysc.gscm.top/outside/1/atm/goods/list",
|
url: "https://cyysc.gscm.top/outside/1/atm/goods/list",
|
||||||
method:"get",
|
method: "get",
|
||||||
data:params,
|
data: params,
|
||||||
header: {},
|
header: {},
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
const data = res.data;
|
const data = res.data;
|
||||||
if(data && data.result === 1){
|
if (data && data.result === 1) {
|
||||||
const newData = data.data.data;
|
const newData = data.data.data;
|
||||||
const newArr = newData.map(obj => {
|
const newArr = newData.map(obj => {
|
||||||
const sales = Math.floor(Math.random() * 5000) + 700;
|
const sales = Math.floor(Math.random() * 5000) + 700;
|
||||||
return { ...obj, sales:sales }; // 使用展开运算符添加新属性
|
return { ...obj, sales: sales }; // 使用展开运算符添加新属性
|
||||||
});
|
});
|
||||||
this.productList = [...this.productList, ...newArr]; // 将新数据添加到列表中
|
this.productList = [...this.productList, ...newArr]; // 将新数据添加到列表中
|
||||||
this.form.page++;
|
this.form.page++;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: (error) => {
|
fail: (error) => {
|
||||||
console.log("error",error);
|
console.log("error", error);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -202,7 +197,7 @@
|
|||||||
* 分类搜索
|
* 分类搜索
|
||||||
* @param {Object} item
|
* @param {Object} item
|
||||||
*/
|
*/
|
||||||
sortFun(item){
|
sortFun(item) {
|
||||||
this.productList = [];
|
this.productList = [];
|
||||||
this.form.page = 1;
|
this.form.page = 1;
|
||||||
this.form.category = item.category;
|
this.form.category = item.category;
|
||||||
@@ -216,85 +211,98 @@
|
|||||||
/**
|
/**
|
||||||
* 详情页面
|
* 详情页面
|
||||||
*/
|
*/
|
||||||
jumpInfo(item){
|
jumpInfo(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/other_package/productInfo/productInfo?id='+item.id+"&source=supply_chain",
|
url: '/pages/other_package/productInfo/productInfo?id=' + item.id + "&source=supply_chain",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.supply_chain_warp{
|
.supply_chain_warp {
|
||||||
height: calc(100vh - 140rpx);
|
height: calc(100vh - 140rpx);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
background-color: $app-bj;
|
background-color: $app-bj;
|
||||||
._header_warp{
|
|
||||||
|
._header_warp {
|
||||||
margin-top: 60rpx;
|
margin-top: 60rpx;
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
line-height: 80rpx;
|
line-height: 80rpx;
|
||||||
background-color: $app-bj;
|
background-color: $app-bj;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.supply_chain_note_warp{
|
|
||||||
|
.supply_chain_note_warp {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 0 0 30rpx;
|
padding: 0 0 0 30rpx;
|
||||||
}
|
}
|
||||||
.guarantee_warp{
|
|
||||||
|
.guarantee_warp {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
padding: 10rpx 30rpx;
|
padding: 10rpx 30rpx;
|
||||||
.guarantee_item_warp{
|
|
||||||
|
.guarantee_item_warp {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.guarantee_item_content_warp{
|
|
||||||
|
.guarantee_item_content_warp {
|
||||||
margin-left: 10rpx;
|
margin-left: 10rpx;
|
||||||
}
|
}
|
||||||
.title_{
|
|
||||||
|
.title_ {
|
||||||
font-size: 18rpx;
|
font-size: 18rpx;
|
||||||
color: rgba(0,0,0,0.6);
|
color: rgba(0, 0, 0, 0.6);
|
||||||
}
|
}
|
||||||
.content_{
|
|
||||||
|
.content_ {
|
||||||
font-size: 14rpx;
|
font-size: 14rpx;
|
||||||
color: rgba(0,0,0,0.26);
|
color: rgba(0, 0, 0, 0.26);
|
||||||
margin-top: 6rpx;
|
margin-top: 6rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.sort_warp{
|
|
||||||
|
.sort_warp {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 30rpx 0;
|
padding: 30rpx 0;
|
||||||
.sort_item_warp{
|
|
||||||
|
.sort_item_warp {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
}
|
}
|
||||||
.sort_item_title_warp{
|
|
||||||
|
.sort_item_title_warp {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
color: rgba(0,0,0,0.9);
|
color: rgba(0, 0, 0, 0.9);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.supply_chain_product_warp{
|
.supply_chain_product_warp {
|
||||||
padding: 0rpx 30rpx 0;
|
padding: 0rpx 30rpx 0;
|
||||||
.product_title{
|
|
||||||
|
.product_title {
|
||||||
position: relative;
|
position: relative;
|
||||||
.product_title_msg{
|
|
||||||
|
.product_title_msg {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-family: AlimamaFangYuanTiVF-Medium, AlimamaFangYuanTiVF-Medium;
|
font-family: AlimamaFangYuanTiVF-Medium, AlimamaFangYuanTiVF-Medium;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
color: rgba(0,0,0,0.9);
|
color: rgba(0, 0, 0, 0.9);
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
.product_title_bg{
|
|
||||||
|
.product_title_bg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 113rpx;
|
width: 113rpx;
|
||||||
@@ -304,36 +312,42 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.supply_chain_product_content{
|
|
||||||
|
.supply_chain_product_content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
.product_content_item{
|
|
||||||
|
.product_content_item {
|
||||||
width: 48%;
|
width: 48%;
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
.product_content_item_content{
|
|
||||||
|
.product_content_item_content {
|
||||||
border-radius: 18rpx;
|
border-radius: 18rpx;
|
||||||
padding: 0 20rpx 20rpx;
|
padding: 0 20rpx 20rpx;
|
||||||
}
|
}
|
||||||
.product_item_name{
|
|
||||||
|
.product_item_name {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
color: rgba(0,0,0,0.9);
|
color: rgba(0, 0, 0, 0.9);
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.product_item_price{
|
|
||||||
|
.product_item_price {
|
||||||
font-size: 20rpx;
|
font-size: 20rpx;
|
||||||
color: $app-zt-color;
|
color: $app-zt-color;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-top: 10rpx;
|
margin-top: 10rpx;
|
||||||
.price_sell{
|
|
||||||
color: rgba(0,0,0,0.26);
|
.price_sell {
|
||||||
|
color: rgba(0, 0, 0, 0.26);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 683 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 182 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 247 KiB |