feat:体验版发版

This commit is contained in:
2025-08-06 22:24:53 +08:00
parent 7379cdd064
commit 350f89565b
24 changed files with 429 additions and 428 deletions
+13 -10
View File
@@ -4,11 +4,15 @@
<view class="ID_card_msg">(请务必上传本人证件照,生活照、艺术照将会被驳回)</view>
<view class="ID_card_upload">
<view class="upload_item" @click="phoneFun('Z')">
<up-image :src="fileListZ && Object.keys(fileListZ).length !==0 ? fileListZ.accessUrl : '/static/common/ID_rx.png'" width="100%" height="90" bgColor="#f1f6ff00"></up-image>
<up-image
:src="fileListZ && Object.keys(fileListZ).length !== 0 ? fileListZ.accessUrl : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_rx.png'"
width="100%" height="90" bgColor="#f1f6ff00"></up-image>
<view class="upload_msg">点击上传身份证人像面</view>
</view>
<view class="upload_item" @click="phoneFun('F')">
<up-image :src="fileListF && Object.keys(fileListF).length !==0 ? fileListF.accessUrl : '/static/common/ID_gq.png'" width="100%" height="90" bgColor="#f1f6ff00"></up-image>
<up-image
:src="fileListF && Object.keys(fileListF).length !== 0 ? fileListF.accessUrl : 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_gq.png'"
width="100%" height="90" bgColor="#f1f6ff00"></up-image>
<view class="upload_msg">点击上传身份国旗面</view>
</view>
</view>
@@ -18,7 +22,8 @@
<view class="templ_img_item" v-for="item in uploadTemplList" :key="item.id">
<up-image :src="item.url" width="100%" height="50" bgColor="#f1f6ff00"></up-image>
<view class="templ_img_item_msg">
<up-image :src="item.isOk ? '/static/common/ID_ok_1.png' :'/static/common/ID_error.png'" width="10" height="10" bgColor="#f1f6ff00"></up-image>
<up-image :src="item.isOk ? '/static/common/ID_ok_1.png' : '/static/common/ID_error.png'" width="10"
height="10" bgColor="#f1f6ff00"></up-image>
<view class="templ_img_item_msg_title">{{ item.title }}</view>
</view>
</view>
@@ -43,22 +48,22 @@
id: 1,
title: "标准",
isOk: true,
url:"/static/common/ID_ok.png",
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_ok.png",
}, {
id: 2,
title: "边框缺失",
isOk: false,
url:"/static/common/ID_error_1.png",
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_error_1.png",
}, {
id: 3,
title: "照片模糊",
isOk: false,
url:"/static/common/ID_error_2.png",
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_error_2.png",
}, {
id: 4,
title: "闪光强烈",
isOk: false,
url:"/static/common/ID_error_3.png",
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_error_3.png",
}
],
fileListZ: {},// 身份正面照
@@ -157,6 +162,4 @@
}
</script>
<style>
</style>
<style></style>
+3 -3
View File
@@ -8,8 +8,8 @@
style="width: 100%; height: 100%" />
</template>
<template v-slot:pointer>
<up-image src="/static/turntable/zz.png" width="40" height="40" mode="widthFix"
@click="startWheel"></up-image>
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/zz.png" width="40" height="40"
mode="widthFix" @click="startWheel"></up-image>
</template>
</dengbo-lotteryWheel>
</view>
@@ -20,7 +20,7 @@
export default {
data() {
return {
lightImages: ['/static/turntable/zz.png', 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/turntable.png'],
lightImages: ['https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/zz.png', 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/turntable.png'],
prizes: [{
name: '积分',
image: '/static/turntable/record.png',
+1 -1
View File
File diff suppressed because one or more lines are too long
+8 -8
View File
File diff suppressed because one or more lines are too long
@@ -76,22 +76,22 @@ export default {
id: 1,
title: "标准",
isOk: true,
url: "/static/common/ID_ok.png",
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_ok.png",
}, {
id: 2,
title: "边框缺失",
isOk: false,
url: "/static/common/ID_error_1.png",
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_error_1.png",
}, {
id: 3,
title: "照片模糊",
isOk: false,
url: "/static/common/ID_error_2.png",
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_error_2.png",
}, {
id: 4,
title: "闪光强烈",
isOk: false,
url: "/static/common/ID_error_3.png",
url: "https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/ID_error_3.png",
}
],
certShow: false,
+3 -3
View File
@@ -19,8 +19,8 @@
style="width: 100%; height: 100%;" />
</template>
<template v-slot:pointer>
<image src="/static/turntable/zz.png" style="width: 50px; height: 50px;" mode="widthFix"
@click="startClick(1)" />
<image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/zz.png"
style="width: 50px; height: 50px;" mode="widthFix" @click="startClick(1)" />
</template>
</dengbo-lotteryWheel>
</view>
@@ -71,7 +71,7 @@ import { getActivityList, raffleExecute } from '@/api/raffle.js';
export default {
data() {
return {
lightImages: ['/static/turntable/bg_bs.png', '/static/turntable/bg_hs.png'],
lightImages: ['https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/bg_bs.png', 'https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/bg_hs.png'],
prizesObj: {},
prizes: [],
lotteryList: [],// 中奖的列表ID
+10 -6
View File
@@ -1,6 +1,7 @@
<template>
<view>
<view :style="{ 'height': isDataNull ? 'calc(100vh - 134rpx)' : 'calc(100vh - 410rpx)' }" class="shopping_cart_warp">
<view :style="{ 'height': isDataNull ? 'calc(100vh - 134rpx)' : 'calc(100vh - 410rpx)' }"
class="shopping_cart_warp">
<view class="shopping_cart_header">
<view class="cart">购物车({{ shoppingTotal }})</view>
<view class="enit_but" @click="isEdit = true" v-if="!isEdit" v-show="!isDataNull">编辑</view>
@@ -9,10 +10,12 @@
<!-- 购物车列表 -->
<up-loading-page :loading="listLoading"></up-loading-page>
<view class="shopping_cart_content">
<view v-if="!isDataNull" class="shopping_cart_content_item" v-for="(item, index) in shoppingList" :key="item.id">
<view v-if="!isDataNull" class="shopping_cart_content_item" v-for="(item, index) in shoppingList"
:key="item.id">
<!-- 店铺头部 -->
<up-checkbox :customStyle="{ marginBottom: '8px' }" name="isCheck" usedAlone v-model:checked="item.isCheck"
shape="circle" activeColor="#7934F6" size="19" iconSize="18" @change="(event) => shoppingChange(event, index)">
shape="circle" activeColor="#7934F6" size="19" iconSize="18"
@change="(event) => shoppingChange(event, index)">
<template #label>
<view class="content_item_header">
<up-image :src="item.shopLogo ? item.shopLogo : '/static/shopping/store.png'" width="22" height="22"
@@ -25,8 +28,8 @@
<view>
<view class="content_item_info" v-for="(pItem, pIndex) in item.product" :key="pItem.id">
<!-- 单个商品 -->
<up-checkbox :customStyle="{ marginBottom: '8px' }" name="isCheck" usedAlone v-model:checked="pItem.isCheck"
shape="circle" activeColor="#7934F6" size="19" iconSize="18"
<up-checkbox :customStyle="{ marginBottom: '8px' }" name="isCheck" usedAlone
v-model:checked="pItem.isCheck" shape="circle" activeColor="#7934F6" size="19" iconSize="18"
:disabled="!isEdit && [1, 2].includes(pItem.goodsStatus)"
@change="(event) => productChange(event, index, pIndex)">
</up-checkbox>
@@ -62,7 +65,8 @@
</view>
</view>
<view v-else class="not_order_warp">
<up-image src="/static/common/not_shopping.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_shopping.png" width="80" height="80"
bgColor="#f1f6ff00"></up-image>
<view class="not_order_msg_warp">购物车是空的</view>
</view>
<choiceness />
+17 -23
View File
@@ -14,20 +14,15 @@
</view>
<!-- 搜索 -->
<view style="width: 200rpx;" @click="jumpSearch">
<up-search
shape="square"
bgColor="#EEEEEEFF"
color="#666666FF"
:showAction="false"
placeholder="搜索"
></up-search>
<up-search shape="square" bgColor="#EEEEEEFF" color="#666666FF" :showAction="false"
placeholder="搜索"></up-search>
</view>
</view>
<view class="u-menu-wrap">
<!-- 左侧类别 -->
<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop">
<view v-for="(item,index) in tabbarList" :key="index" class="u-tab-item" :class="[current==index ? 'u-tab-item-active' : '']"
:data-current="index" @tap.stop="swichMenu(item,index)">
<view v-for="(item, index) in tabbarList" :key="index" class="u-tab-item"
:class="[current == index ? 'u-tab-item-active' : '']" :data-current="index" @tap.stop="swichMenu(item, index)">
<text class="u-line-1">{{ item.name }}</text>
</view>
</scroll-view>
@@ -35,10 +30,7 @@
<scroll-view scroll-y class="right-box">
<!-- banner图 -->
<view style="padding: 0rpx 20rpx;">
<up-swiper
:list="bannerList"
height="80px"
></up-swiper>
<up-swiper :list="bannerList" height="80px"></up-swiper>
</view>
<view class="page-view">
<!-- 这里还有一层循环 -->
@@ -48,18 +40,16 @@
<text>{{ item.name }}</text>
</view>
<view class="item-container" v-if="item.foods && item.foods.length !== 0">
<view
class="thumb-box"
v-for="(item1, index1) in item.foods"
:key="index1"
@click="jumpSearch(item1)"
>
<image class="item-menu-image" :src="item1.icon?item1.icon:'/static/common/def_img.jpg'" mode=""></image>
<view class="thumb-box" v-for="(item1, index1) in item.foods" :key="index1" @click="jumpSearch(item1)">
<image class="item-menu-image" :src="item1.icon ? item1.icon : '/static/common/def_img.jpg'" mode="">
</image>
<view class="item-menu-name">{{ item1.name }}</view>
</view>
</view>
<view v-else class="not_order_warp">
<view class="not_order_warp_img"><up-image src="/static/common/not_shopping.png" width="100" height="100" bgColor="#f1f6ff00"></up-image></view>
<view class="not_order_warp_img"><up-image
src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/not_shopping.png" width="100" height="100"
bgColor="#f1f6ff00"></up-image></view>
<view class="not_order_msg_warp">暂无分类,快去添加吧~</view>
</view>
</view>
@@ -206,24 +196,29 @@
padding: 130rpx 0rpx 0rpx;
height: calc(100vh - 270rpx); // 130 上边的导航栏,140下边的导航栏
}
.sort_header {
display: flex;
justify-content: space-between;
padding: 0 30rpx;
.sort_category_header {
display: flex;
align-items: center;
}
.category_item {
width: 140rpx;
font-weight: bold;
font-size: 36rpx;
color: #999999;
}
.category_item_sel {
font-size: 44rpx;
color: #1A1A1A;
}
.category_item_sel_but {
height: 8rpx;
width: 50rpx;
@@ -234,9 +229,8 @@
}
}
.sort_content{
.sort_content {}
}
.u-menu-wrap {
flex: 1;
display: flex;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB