zhouzhenyuan 1 year ago
parent 80c78c961b
commit 62b0448d30
  1. 1326
      pages.json
  2. 15
      pages/activity/presale.vue
  3. 142
      pages/goods/detail.vue
  4. 122
      pages/index/index.vue
  5. 215
      pages/member/index.vue
  6. 274
      pages/memberInfo/index.vue
  7. 105
      pages/order/detail.vue
  8. 17
      pages/order/index.vue
  9. 22
      pages/sureOrder/index.vue
  10. 431
      pages/user/index.vue
  11. 9
      pages/user/vip/goods.vue
  12. BIN
      static/user/sale.png
  13. BIN
      static/user/vip.png

File diff suppressed because it is too large Load Diff

@ -8,20 +8,20 @@
<u-tabs :list="list" :is-scroll="true" :show-bar="false" active-color="#FFFFFF" bg-color="rgba(255,255,255,0)" inactive-color="rgba(255,255,255,0.62)" v-model="current"></u-tabs>
</view>
<view class="title">
<image src="@/static/news/newPresale-1.png"></image>
<image src="/static/news/newPresale-1.png"></image>
正在进行中
<image src="@/static/news/newPresale-1.png"></image>
<image src="/static/news/newPresale-1.png"></image>
</view>
<view class="list">
<view class="item" v-for="i in 10" :key="i">
<image class="pic" src="@/static/home/phone.jpg"></image>
<image class="pic" src="/static/home/phone.jpg"></image>
<view class="info">
<view class="t">一加Ace 2pro超值砍价手机全网通双卡双待</view>
<view class="d"><u-count-down :timestamp="timestamp" format="HH:mm:ss"></u-count-down><text></text></view>
<view class="p">
<image src="@/static/news/newPresale-2.png"></image>
<image src="/static/news/newPresale-2.png"></image>
<view class="s">预约价¥4189</view>
<view class="n">去预约</view>
<view class="n" @click="goPre(i)">去预约</view>
</view>
</view>
</view>
@ -59,6 +59,11 @@
uni.navigateTo({
url: "/pages/activity/presaleRule"
})
},
goPre(i){
uni.navigateTo({
url: "/pages/goods/detail?isPre=true"
})
},
}
}

@ -7,7 +7,7 @@
<view class="search">
<image src="/static/tabbar/home.png" mode="" class="icon" @click="goHome"></image>
<view class="searInput">
<view class="searInput" @click="goSearch">
<image src="/static/home/search.png" mode="" class="seaIcon"></image>
<input v-model="searchValue" class="input" focus="true" placeholder="iPhone15" type="text" />
</view>
@ -152,35 +152,49 @@
</view>
<view class="footer">
<view class="footerCus firstBtn">
<view class="cusIcon">
<image src="/static/detail/customer.png" mode=""></image>
<view class="fooLeft">
<view class="footerCus firstBtn">
<view class="cusIcon">
<image src="/static/detail/customer.png" mode=""></image>
</view>
<view class="customer">
客服
</view>
</view>
<view class="customer">
客服
<view class="footerCus " @click="shoppingCart">
<view class="cusIcon">
<image src="/static/detail/car.png" mode=""></image>
</view>
<view class="customer car">
购物车
</view>
</view>
</view>
<view class="footerCus">
<view class="cusIcon">
<image src="/static/detail/collect.png" mode=""></image>
<view class="fooRight">
<view class="addCar" v-if="!isPre">
加入购物车
</view>
<view class="buyNow" v-if="!isPre" @click="buyNow">
立即购买
</view>
<view class="customer">
收藏
<view class="buyNow" v-if="isPre">
立即预约
</view>
</view>
<view class="footerCus " @click="shoppingCart">
<view class="cusIcon">
<image src="/static/detail/car.png" mode=""></image>
</view>
<view class="dia">
<view class="preSuc">
<view class="preImg">
<image src="../../static/order/ld.png" mode="" class="ldImg"></image>
</view>
<view class="customer car">
购物车
<view class="preTitle">
预约成功
</view>
<view class="iKnow">
我知道了
</view>
</view>
<view class="addCar">
加入购物车
</view>
<view class="buyNow">
立即购买
</view>
</view>
</view>
@ -190,8 +204,12 @@
data() {
return {
searchValue: '',
isPre:false,
}
},
onLoad(options){
this.isPre = options.isPre
},
methods:{
goHome(){
uni.navigateTo({
@ -211,10 +229,22 @@
},
shoppingCart(){
//
uni.navigateTo({
uni.switchTab({
url:'/pages/cart/index'
})
},
goSearch(){
//
uni.navigateTo({
url:'/pages/search/index'
})
},
buyNow(){
//
uni.navigateTo({
url:'/pages/sureOrder/index'
})
},
}
}
</script>
@ -401,6 +431,7 @@
font-weight: 400;
color: #FFFFFF;
line-height: 48rpx;
text-decoration: line-through;
}
.rightInfo {
@ -749,6 +780,16 @@
display: flex;
align-items: center;
text-align: center;
justify-content: space-between;
.fooLeft{
display: flex;
align-items: center;
}
.fooRight{
display: flex;
align-items: center;
margin-right: 20rpx;
}
.firstBtn {
margin-left: 60rpx;
}
@ -807,4 +848,59 @@
margin-left: 8rpx;
}
}
.dia{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(69,69,69,0.44);
display: flex;
justify-content: center;
align-items: center;
text-align: center;
.preSuc{
width: 560rpx;
height: 400rpx;
background: linear-gradient(180deg, #FFE4E4 0%, #FFFFFF 100%);
border-radius: 12rpx 12rpx 12rpx 12rpx;
opacity: 1;
display: flex;
flex-direction: column;
align-items: center;
.preImg{
width: 100rpx;
height: 100rpx;
position: relative;
top: -50rpx;
.ldImg{
width: 100%;
height: 100%;
}
}
.preTitle{
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #000000;
line-height: 38rpx;
margin-top: 32rpx;
}
.iKnow{
width: 412rpx;
height: 72rpx;
background: #F55349;
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
text-align: center;
line-height: 72rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #FFFFFF;
margin-top: 70rpx;
}
}
}
</style>

@ -61,7 +61,7 @@
</view>
</view>
<view class="newUser">
<view class="newUser" @click="goNewUser">
<view class="firLine">
<view class="lineTitle">
新人首单礼
@ -90,13 +90,20 @@
</view>
</view>
</view>
<view class="big">
<view class="big" @click="goBigGoods">
<view class="bigheader">
<view class="card">
大牌正品
<view class="headLeft">
<view class="card">
大牌正品
</view>
<view class="shop">
<text class="shopText">店内现货</text>
</view>
</view>
<view class="shop">
<text class="shopText">店内现货</text>
<view class="lookMore">
查看更多
<u-icon name="arrow-right"></u-icon>
</view>
</view>
<view class="sellGoods">
@ -115,24 +122,32 @@
</view>
<view class="limitTime" @click="seckill">
<view class="limitHeadr">
<view class="headerTitle">
<image src="/static/home/limitBuy.png" mode=""></image>
</view>
<view class="residue">
本场剩余
<view class="hou com">
20
<view class="headeLeft">
<view class="headerTitle">
<image src="/static/home/limitBuy.png" mode=""></image>
</view>
:
<view class="min com">
56
</view>
<view class="headeLeft">
<view class="residue">
本场剩余
<view class="hou com">
20
</view>
:
<view class="min com">
56
</view>
:
<view class="sec com">
47
</view>
</view>
:
<view class="sec com">
47
<view class="lookMore">
查看更多
<u-icon name="arrow-right"></u-icon>
</view>
</view>
</view>
<view class="limitGoods">
<view v-for="(item,index) in 5" :key="index" class="limitItem">
@ -292,7 +307,7 @@
</view>
</view>
</view>
<view class="shopGoods sameCityServe">
<view class="shopGoods sameCityServe" @click="sameCityServe">
<view class="fli">
<view class="xh">
同城服务
@ -387,16 +402,18 @@
sameCity: false,
secondType: [{
name: '预售专区',
url: ''
url: '/pages/activity/presale'
}, {
name: '邀请有礼',
url: '/pages/invite/index'
url: '/pages/invite/index',
}, {
name: '每日签到'
name: '领券中心',
url: '/pages/coupon/index'
}, {
name: '安装报修'
}, {
name: '上门回收'
name: '上门回收',
url: '/pages/news/recycling/index'
}, {
name: '空调',
url: '/pages/goods/detail'
@ -447,6 +464,12 @@
url: '/pages/activity/newsshop'
})
},
goNewUser(){
//
uni.navigateTo({
url: '/pages/activity/newPeople'
})
},
goNewGoods() {
uni.navigateTo({
url: '/pages/activity/newGoods'
@ -467,6 +490,16 @@
url: item.url
})
},
goBigGoods(){
uni.navigateTo({
url: '/pages/user/vip/goods'
})
},
sameCityServe(){
uni.navigateTo({
url: '/pages/activity/intimate'
})
},
}
}
</script>
@ -902,7 +935,6 @@
height: 230rpx;
background-image: url('../../static/home/newUserBg.png');
background-size: 100% 100%;
margin-top: 16rpx;
margin-left: 20rpx;
.firLine {
@ -1006,9 +1038,13 @@
.bigheader {
display: flex;
align-items: center;
justify-content: space-between;
.headLeft{
display: flex;
align-items: center;
}
.card {
width: 190rpx;
width: 146rpx;
height: 58rpx;
font-size: 34rpx;
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
@ -1016,30 +1052,34 @@
color: #303030;
line-height: 58rpx;
}
.shop {
width: 148rpx;
height: 42rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #8C4D00;
line-height: 42rpx;
background-image: url('../../static/home/shopBack.png');
margin-left: 12rpx;
.shopText {
width: 96rpx;
text-align: center;
margin-left: 18rpx;
}
}
.lookMore{
height: 28rpx;
font-size: 20rpx;
font-weight: 400;
color: #8C4D00;
line-height: 28rpx;
margin-right: 28rpx;
}
}
.sellGoods {
display: flex;
flex-wrap: wrap;
.goodsItem {
width: 134rpx;
display: flex;
@ -1104,9 +1144,11 @@
display: flex;
justify-content: space-between;
align-items: center;
.headeLeft{
display: flex;
align-items: center;
}
.headerTitle {
width: 159rpx;
height: 60rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
@ -1134,6 +1176,15 @@
text-align: center;
}
}
.lookMore{
height: 28rpx;
font-size: 20rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #8C4D00;
line-height: 28rpx;
margin-right: 28rpx;
}
}
.limitGoods {
@ -1189,6 +1240,7 @@
font-weight: 400;
color: #8E8E8E;
line-height: 28rpx;
text-decoration: line-through;
}
}
@ -1399,6 +1451,7 @@
white-space: nowrap;
line-height: 24rpx;
margin-left: 6rpx;
}
.text_13 {
@ -1475,6 +1528,7 @@
white-space: nowrap;
line-height: 22rpx;
margin: 16rpx 0 0 10rpx;
text-decoration: line-through;
}
.text_18 {

@ -23,16 +23,20 @@
有效期至2024.01.21
</view>
</view>
<view class="buyInfo" @click="goBuyInfo">
购买记录
<u-icon name="arrow-right"></u-icon>
</view>
</view>
<view class="notVip" v-if="!isVip">
<view class="notVip">
<view class="openVip">
开通Ultra会员获得以下 <text>10</text>特权
</view>
<view class="vipList">
<view v-for="(item,index) in 10" :key="index" class="vipItem">
<view v-for="(item,index) in equityList" :key="index" class="vipItem">
<image src="/static/member/my.png" mode="" class="itemImg"></image>
<view class="vipInfo">
天天免邮
{{item.name}}
</view>
</view>
</view>
@ -56,28 +60,6 @@
12/
</view>
</view>
<!-- <view class="first common">
<view class="timeLong sec">
6个月
</view>
<view class="firPrice">
99
</view>
<view class="avePrice">
12/
</view>
</view>
<view class="first common">
<view class="timeLong sec">
1个月
</view>
<view class="firPrice">
99
</view>
<view class="avePrice">
12/
</view>
</view> -->
</view>
<view class="payType">
<view class="firLine">
@ -103,34 +85,7 @@
</view>
</view>
</view>
<view class="main" v-if="isVip">
<view class="mTitle">
月卡订单记录
</view>
<view class="card">
<view class="tp">
<view class="info">
生效中
</view>
</view>
<view class="detail">
<view class="topLine">
<view class="send">
省钱月卡1个月
</view>
<view class="btn">
活动赠送
</view>
</view>
<view class="time">
2023.12.22-2024.01.21
</view>
</view>
</view>
<view class="showInfo">
已展示近18个月省钱月卡订单
</view>
</view>
<view class="footer">
<view class="fLeft">
<view class="ys">
@ -152,6 +107,27 @@
export default {
data() {
return {
equityList:[{
name:'天天免邮'
},{
name:'超低会员价'
},{
name:'折上95折'
},{
name:'退换免运费'
},{
name:'促销福利'
},{
name:'极速售后'
},{
name:'门店特权'
},{
name:'不回本退差价'
},{
name:'团购优惠券'
},{
name:'双倍积分'
}],
payTypeChose:true,
isChose: 0,
isVip: false,
@ -160,6 +136,13 @@
backgroundSize: '100% auto',
},
}
},
methods:{
goBuyInfo(){
uni.navigateTo({
url:'/pages/memberInfo/index'
})
},
}
}
</script>
@ -257,6 +240,16 @@
}
}
.buyInfo{
// width: 112rpx;
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 40rpx;
margin-left: 86rpx;
}
}
.notVip {
@ -278,14 +271,14 @@
.vipList {
display: flex;
flex-wrap: wrap;
margin: 24rpx 0 0 34rpx;
margin: 24rpx 0 0 0rpx;
.vipItem {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
margin-right: 40rpx;
margin-right: 6rpx;
.itemImg {
width: 88rpx;
@ -293,7 +286,7 @@
}
.vipInfo {
width: 96rpx;
width: 144rpx;
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
@ -301,6 +294,7 @@
color: #7D2D21;
line-height: 34rpx;
margin-top: 30rpx;
text-align: center;
}
}
}
@ -426,115 +420,6 @@
}
}
}
.main {
width: 750rpx;
height: 1296rpx;
background: #FFFFFF;
opacity: 1;
border-radius: 50rpx 50rpx 0 0;
position: relative;
top: -30rpx;
padding-top: 56rpx;
}
.mTitle {
width: 192rpx;
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #8B4338;
line-height: 44rpx;
margin: 0rpx 0 0 38rpx;
}
.card {
width: 654rpx;
height: 192rpx;
background: #FFF4F4;
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
margin: 26rpx 0 0 38rpx;
display: flex;
.tp {
width: 84rpx;
height: 84rpx;
background-image: url('../../static/member/tip.png');
background-size: 100% 100%;
.info {
width: 84rpx;
height: 40rpx;
line-height: 40rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #FFFFFF;
transform: rotate(-45deg);
}
}
.detail {
margin-top: 48rpx;
.topLine {
display: flex;
align-items: center;
.send {
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #785B45;
line-height: 40rpx;
}
.btn {
width: 106rpx;
height: 36rpx;
border-radius: 50rpx 50rpx 50rpx 50rpx;
opacity: 1;
border: 2rpx solid rgba(134, 102, 77, 0.45);
text-align: center;
line-height: 36rpx;
font-size: 20rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: rgba(120, 91, 69, 0.63);
line-height: 36rpx;
margin-left: 8rpx;
}
}
.time {
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 34rpx;
margin-top: 28rpx;
}
}
}
.showInfo {
width: 100%;
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 40rpx;
text-align: center;
margin-top: 46rpx;
}
.footer {
position: fixed;
bottom: 0rpx;

@ -0,0 +1,274 @@
<template>
<view class="member">
<view>
<u-navbar title="会员中心" back-icon-color="#fff" :border-bottom="false" title-color="#333"
:background="background"></u-navbar>
</view>
<view class="tips">
<image src="/static/default-logo.png" mode="" class="headIcon"></image>
<view class="meInfo">
<view class="info">
<view class="name">
Deioio
</view>
<view class="hy">
v月卡会员
</view>
</view>
<view class="time">
有效期至2024.01.21
</view>
</view>
</view>
<view class="main">
<view class="mTitle">
月卡订单记录
</view>
<view class="card">
<view class="tp">
<view class="info">
生效中
</view>
</view>
<view class="detail">
<view class="topLine">
<view class="send">
省钱月卡1个月
</view>
<view class="btn">
活动赠送
</view>
</view>
<view class="time">
2023.12.22-2024.01.21
</view>
</view>
</view>
<view class="showInfo">
已展示近18个月省钱月卡订单
</view>
</view>
<view class="footer">
<view class="fLeft">
<view class="ys">
已省 <text>3.2</text>
</view>
<view class="yj">
原价 30
</view>
</view>
<view class="btn">
<text>36</text>开卡3个月
</view>
</view>
</view>
</template>
<script>
import img from "@/static/member/top.png"
export default {
data() {
return {
payTypeChose:true,
isChose: 0,
isVip: false,
background: {
background: 'url(' + img + ') center top no-repeat',
backgroundSize: '100% auto',
},
}
}
}
</script>
<style lang="scss" scoped>
.member {
width: 100%;
background: url('../../static/member/merBack.png') 100% no-repeat;
background-size: 100% 100%;
position: relative;
}
.tips {
width: 698rpx;
height: 234rpx;
margin: 46rpx 0 0 26rpx;
background-image: url('/static/member/bg.png');
background-repeat: no-repeat;
background-size: 100% 100%;
display: flex;
align-items: center;
padding: 0rpx 0 0 34rpx;
.headIcon {
width: 114rpx;
height: 114rpx;
margin-right: 30rpx;
margin-top: 12rpx;
}
.meInfo {
.info {
display: flex;
margin-bottom: 26rpx;
.name {
height: 50rpx;
font-size: 36rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #785B45;
line-height: 50rpx;
margin-right: 18rpx;
}
.hy {
width: 126rpx;
height: 42rpx;
background: rgba(255, 255, 255, 0.71);
border-radius: 62rpx 62rpx 62rpx 62rpx;
opacity: 1;
text-align: center;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 42rpx;
}
}
.time {
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 34rpx;
}
}
.buyInfo{
// width: 112rpx;
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 40rpx;
margin-left: 86rpx;
}
}
.main {
width: 750rpx;
height: 1296rpx;
background: #FFFFFF;
opacity: 1;
border-radius: 50rpx 50rpx 0 0;
position: relative;
top: -30rpx;
padding-top: 56rpx;
}
.mTitle {
width: 192rpx;
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #8B4338;
line-height: 44rpx;
margin: 0rpx 0 0 38rpx;
}
.card {
width: 654rpx;
height: 192rpx;
background: #FFF4F4;
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
margin: 26rpx 0 0 38rpx;
display: flex;
.tp {
width: 84rpx;
height: 84rpx;
background-image: url('../../static/member/tip.png');
background-size: 100% 100%;
.info {
width: 84rpx;
height: 40rpx;
line-height: 40rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #FFFFFF;
transform: rotate(-45deg);
}
}
.detail {
margin-top: 48rpx;
.topLine {
display: flex;
align-items: center;
.send {
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #785B45;
line-height: 40rpx;
}
.btn {
width: 106rpx;
height: 36rpx;
border-radius: 50rpx 50rpx 50rpx 50rpx;
opacity: 1;
border: 2rpx solid rgba(134, 102, 77, 0.45);
text-align: center;
line-height: 36rpx;
font-size: 20rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: rgba(120, 91, 69, 0.63);
line-height: 36rpx;
margin-left: 8rpx;
}
}
.time {
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 34rpx;
margin-top: 28rpx;
}
}
}
.showInfo {
width: 100%;
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 40rpx;
text-align: center;
margin-top: 46rpx;
}
</style>

@ -31,12 +31,15 @@
<view class="name">2023-12-20 09:15</view>
</view>
</view>
<view class="conRight">
<view class="conRight" @click="openCode">
<view class="code">
取件
核销
</view>
<view class="codeNum">
7599
<image src="/static/user/code.png" mode=""></image>
</view>
<view class="openCode">
点击放大核销码
</view>
</view>
</view>
@ -246,6 +249,22 @@
</view>
</view>
</view>
<view class="bigCode">
<view class="cm">
<view class="cm_text">
核销码
</view>
<view class="txm">
<image src="" mode="" class="codeImg"></image>
</view>
<view class="cline">
<u-line border-style="dashed" color="#D0D0D0" />
</view>
<view class="sm">
可前往门店扫码完成操作
</view>
</view>
</view>
</view>
</template>
@ -262,6 +281,12 @@
sendType:false,
cdDia:false,
}
},
methods:{
openCode(){
//
},
}
}
</script>
@ -459,17 +484,31 @@
font-family: PingFang SC, PingFang SC;
font-weight: 600;
color: #F21A1C;
display: flex;
flex-direction: column;
align-items: center;
.code {
height: 34rpx;
font-size: 24rpx;
line-height: 34rpx;
margin-bottom: 8rpx;
}
.codeNum {
height: 50rpx;
font-size: 36rpx;
line-height: 50rpx;
width: 80rpx;
height:78rpx;
image{
width: 100%;
height: 100%;
}
}
.openCode{
height: 28rpx;
font-size: 20rpx;
font-weight: 400;
color: #848484;
line-height: 23rpx;
margin-top: 4rpx;
}
}
}
@ -888,4 +927,56 @@
}
}
}
.bigCode{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(65,65,65,0.46);
display: flex;
align-items: center;
justify-content: center;
.cm{
width: 560rpx;
height: 714rpx;
background: #FFFFFF;
border-radius: 16rpx 16rpx 16rpx 16rpx;
opacity: 1;
padding-top: 44rpx;
.cm_text{
width: 100%;
height: 42rpx;
font-size: 30rpx;
font-weight: 500;
color: #424242;
line-height: 42rpx;
text-align: center;
}
.txm{
.codeImg{
width: 394rpx;
height: 458rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1;
}
}
.cline{
padding: 0 34rpx;
margin: 46rpx 0 30rpx 0;
}
.sm{
width: 100%;
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #979797;
line-height: 28rpx;
text-align: center;
}
}
}
</style>

@ -20,7 +20,7 @@
</view>
<view class="b">卖家已发货</view>
</view>
<view class="bd">
<view class="bd" @click="goOrderDetail()">
<view class="pic">
<image src="/static/home/phone.jpg"></image>
</view>
@ -83,10 +83,12 @@
}, {
name: `已完成`,
value: 'received'
}, {
name: `待评价`,
value: 'comment'
}]
},
// {
// name: ``,
// value: 'comment'
// },
]
export default {
mixins: [MescrollMixin],
@ -161,6 +163,11 @@
},
methods: {
goOrderDetail(){
uni.navigateTo({
url:'/pages/order/detail',
})
},
toggleImage() {
this.isToggle = !this.isToggle
},

@ -1,7 +1,7 @@
<template>
<view class="sureOrder">
<view class="header">
确认订单
<view >
<u-navbar title="确认订单" back-icon-color="#fff" :border-bottom="false" title-color="#333" :background="background"></u-navbar>
</view>
<view class="buyType">
<view class="toDoor">
@ -232,10 +232,15 @@
</template>
<script>
import img from "@/static/member/head.png"
export default{
data(){
return{
buyType:false,
background: {
background: 'url('+ img+') center top no-repeat',
backgroundSize: '100% auto',
},
}
}
}
@ -247,19 +252,6 @@
padding-bottom: 120rpx;
background-image: url('../../static/home/homeback.png');
background-size: 100% 100%;
padding-top: 128rpx;
.header{
left: 0;
right: 0;
margin: auto;
width: 112rpx;
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #000000;
line-height: 40rpx;
}
}
.buyType{
display: flex;

@ -18,16 +18,16 @@
<image src="/static/home/news.png" class="thumbnail"></image>
<text lines="1" class="text_2">消息</text>
</view>
<view class="group_4">
<view class="group_4" @click="lookMemberCode('2')">
<image src="/static/user/code.png" class="thumbnail_2"></image>
<text lines="1" class="text_3">会员码</text>
</view>
<view class="group_5" v-if="userType!=2">
<view class="group_5" v-if="userType!=2" @click="lookMemberCode('3')">
<image src="/static/user/code.png" class="thumbnail_3"></image>
<text lines="1" class="text_4">分销码</text>
</view>
</view>
<view class="plus" v-if="userType!=3" @click="goMember">
<!-- <view class="plus" v-if="userType!=3&&userType!=1" @click="goMember">
<view class="plusLeft">
<view class="leftTop">
Plus会员
@ -47,6 +47,30 @@
兑换好物别浪费
</view>
</view>
</view> -->
<view class="newplus" v-if="userType!=3&&userType!=1">
<view class="memVip" @click="goMember">
<view class="vipLine">
<image src="/static/user/vip.png" mode="" class="vipIcon"></image>
<text>Plus会员</text>
</view>
<view class="sec">
<text class="inVip">加入会员</text>
<text class="enjoyVip">享受会员价</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
<view class="memVip fxVip">
<view class="vipLine">
<image src="/static/user/vip.png" mode="" class="vipIcon"></image>
<text>分销会员</text>
</view>
<view class="sec">
<text class="inVip">加入会员</text>
<text class="enjoyVip">享受分销价</text>
<u-icon name="arrow-right"></u-icon>
</view>
</view>
</view>
<view class="goodsManage" v-if="userType==1">
<view class="manageTitle">
@ -56,7 +80,7 @@
src="https://lanhu.oss-cn-beijing.aliyuncs.com/FigmaDDSSlicePNG734520a67fe8e1d927b6d6e351bd2ade.png"
class="thumbnail_4"></image>
</view>
<view class="grounding">
<view class="grounding" v-if="userType==1">
<view class="image-text_2">
<image src="/static/user/shelf.png" class="label_1"></image>
<view class="text-group_2">
@ -64,10 +88,6 @@
<text lines="1" class="text_8">一键上架</text>
</view>
</view>
<view class="image-text_3">
<image src="/static/user/update.png" class="label_2"></image>
<text lines="1" class="text-group_3">批量改价</text>
</view>
<view class="box_3">
<image src="/static/user/deal.png" class="image_4"></image>
<text lines="1" class="text_9">删除商品</text>
@ -78,7 +98,7 @@
</view>
</view>
</view>
<view class="userSell">
<view class="userSell" v-if="userType==1">
<view class="sell">
会员分销
</view>
@ -87,18 +107,19 @@
会员管理
</view>
<view class="typeRight common">
<image src="/static/user/sale.png" mode="" class="sale"></image>
分销管理
</view>
</view>
</view>
<view class="coupon">
<view class="coupon" v-if="userType!=1">
<view class="walletList">
<view class="listItem">
<view class="num">
235
</view>
<view class="info">
收藏商品
预约记录
</view>
</view>
<view class="listItem">
@ -114,15 +135,15 @@
2
</view>
<view class="info">
优惠券
发货记录
</view>
</view>
<view class="listItem">
<view class="listItem" @click="getCoupon">
<view class="num">
2
</view>
<view class="info">
积分
优惠券
</view>
</view>
</view>
@ -136,29 +157,25 @@
class="thumbnail_4"></image>
</view>
<view class="grounding goodsOrder">
<view class="image-text_2">
<view class="image-text_2" @click="goGoodsOrder('payment')">
<image src="/static/user/unpay.png" class="label_1"></image>
<view class="text-group_2">
<text lines="1" class="text_7">2</text>
<text lines="1" class="text_8">待付款</text>
</view>
</view>
<view class="image-text_3 send">
<view class="image-text_3 send" @click="goGoodsOrder('delivery')">
<image src="/static/user/unsend.png" class="label_2"></image>
<text lines="1" class="text-group_3">待发货</text>
</view>
<view class="box_3 send">
<view class="box_3 send" @click="goGoodsOrder('received')">
<image src="/static/user/untake.png" class="image_4"></image>
<text lines="1" class="text_9">待收货</text>
</view>
<view class="box_3 send">
<view class="box_3 send" @click="goGoodsOrder('received')">
<image src="/static/user/over.png" class="image_4"></image>
<text lines="1" class="text_9">已完成</text>
</view>
<view class="image-text_4 send">
<image src="/static/user/detail.png" class="label_3"></image>
<text lines="1" class="text-group_4">待评价</text>
</view>
</view>
</view>
<view class="goodsManage">
@ -185,17 +202,13 @@
<image src="/static/user/untake.png" class="image_4"></image>
<text lines="1" class="text_9">待支付</text>
</view>
<view class="box_3 send">
<image src="/static/user/over.png" class="image_4"></image>
<text lines="1" class="text_9">待评价</text>
</view>
<view class="image-text_4 send">
<image src="/static/user/detail.png" class="label_3"></image>
<text lines="1" class="text-group_4">待验收</text>
</view>
</view>
</view>
<view class="goodsManage">
<view class="goodsManage" v-if="userType!=2">
<view class="manageTitle">
<text lines="1" class="text_5 titleLeft">分销订单</text>
<text lines="1" class="text_6 titleRight">查看全部</text>
@ -234,7 +247,7 @@
我的钱包
</view>
<view class="walletList">
<view class="listItem">
<view class="listItem" @click="myWallet">
<view class="num">
235.00
</view>
@ -265,25 +278,25 @@
我的服务
</view>
<view class="serve">
<view class="serveIcon">
<view class="serveIcon" v-if="userType==1">
<image src="/static/user/record.png" mode="" class="icons"></image>
<view class="serveInfo">
发货记录
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" v-if="userType==1">
<image src="/static/user/car.png" mode="" class="icons"></image>
<view class="serveInfo">
物流查询
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" v-if="userType==1">
<image src="/static/user/member.png" mode="" class="icons"></image>
<view class="serveInfo">
会员价
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" v-if="userType==1">
<image src="/static/user/retail.png" mode="" class="icons"></image>
<view class="serveInfo">
分销价
@ -295,13 +308,13 @@
商家入驻
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" v-if="userType==1">
<image src="/static/user/staff.png" mode="" class="icons"></image>
<view class="serveInfo">
员工管理
</view>
</view>
<view class="serveIcon">
<view class="serveIcon" v-if="userType==1">
<image src="/static/user/setHome.png" mode="" class="icons"></image>
<view class="serveInfo">
店铺设置
@ -310,7 +323,7 @@
<view class="serveIcon">
<image src="/static/user/address.png" mode="" class="icons"></image>
<view class="serveInfo">
地址管理
地址
</view>
</view>
<view class="serveIcon">
@ -322,13 +335,16 @@
<view class="serveIcon">
<image src="/static/user/invites.png" mode="" class="icons"></image>
<view class="serveInfo">
邀请分销
<text v-if="userType!=2">邀请分销</text>
<text v-if="userType==2">加入分销</text>
</view>
</view>
<view class="serveIcon">
<image src="/static/user/customer.png" mode="" class="icons"></image>
<view class="serveInfo">
客服
<view>
<!-- 客服 class="serveInfo" -->
<button type="default" open-type="contact" class="infoBtn"
style="border: none;display: inline-block;width: 120rpx;padding:0;color">客服</button>
</view>
</view>
<view class="serveIcon">
@ -355,54 +371,121 @@
帮助中心
</view>
</view>
<view class="serveIcon">
<image src="/static/user/help.png" mode="" class="icons"></image>
<view class="serveInfo">
我要找货
</view>
</view>
<view class="serveIcon">
<image src="/static/user/help.png" mode="" class="icons"></image>
<view class="serveInfo">
数据统计
</view>
</view>
<view class="serveIcon">
<image src="/static/user/help.png" mode="" class="icons"></image>
<view class="serveInfo">
会员管理
</view>
</view>
<view class="serveIcon">
<image src="/static/user/help.png" mode="" class="icons"></image>
<view class="serveInfo">
进群有礼
</view>
</view>
</view>
</view>
<view class="line">
<image src="/static/user/left.png" mode=""></image>
<text>专属推荐</text>
<image src="/static/user/right.png" mode=""></image>
</view>
<view class="goodsList">
<view class="group_11" v-for="(item,index) in 8" :key="index">
<view class="block_2">
<image src="/static/home/phone.jpg" class="image_3"></image>
<view class="box_6">
<view class="text-wrapper_4">
<text lines="1" class="text_12">自营</text>
<view class="goodsSuggest" v-if="userType!=1">
<view class="line">
<image src="/static/user/left.png" mode=""></image>
<text>专属推荐</text>
<image src="/static/user/right.png" mode=""></image>
</view>
<view class="goodsList">
<view class="group_11" v-for="(item,index) in 8" :key="index" @click="goodsDetail(item)">
<view class="block_2">
<image src="/static/home/phone.jpg" class="image_3"></image>
<view class="box_6">
<view class="text-wrapper_4">
<text lines="1" class="text_12">自营</text>
</view>
<text lines="1" decode="true" class="text_13">iphone13&nbsp;绿色&nbsp;128GB</text>
</view>
<text lines="1" decode="true" class="text_13">iphone13&nbsp;绿色&nbsp;128GB</text>
</view>
<view class="text-wrapper_5">
<text lines="1" class="text_14">¥</text>
<text lines="1" class="text_15">7599</text>
<text lines="1" class="text_16">到手价</text>
<text lines="1" class="text_17">¥7089</text>
<view class="text-wrapper_5">
<text lines="1" class="text_14">¥</text>
<text lines="1" class="text_15">7599</text>
<text lines="1" class="text_16">到手价</text>
<text lines="1" class="text_17">¥7089</text>
</view>
<text lines="1" decode="true" class="text_18">200+条评论&nbsp;99%好评率</text>
</view>
<text lines="1" decode="true" class="text_18">200+条评论&nbsp;99%好评率</text>
</view>
</view>
</view>
</view>
<view class="memberCode" v-if="memberCode" @click="memberCode=false">
<view class="codeMain">
<view class="myCode">
<text v-if="userType==2">我的专属会员识别码</text>
<text v-if="userType==3">我的专属分销识别码</text>
</view>
<view class="codeImg">
<image src="" mode="" class="img"></image>
</view>
<view class="codeName">
SJIHIHOHOOHOH
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
userType: 1,
userType: 2,
memberCode: false,
}
},
methods:{
goMember(){
methods: {
goMember() {
uni.navigateTo({
url: '/pages/member/index'
})
},
goOrder() {
uni.navigateTo({
url:'/pages/member/index'
url: '/pages/order/index'
})
},
goOrder(){
lookMemberCode(val) {
this.memberCode = true;
},
getCoupon() {
//
uni.navigateTo({
url: '/pages/news/coupon/list'
})
},
myWallet() {
//
uni.navigateTo({
url:'/pages/order/index'
url: '/pages/wallet/index'
})
},
goGoodsOrder(val) {
//
uni.navigateTo({
url: '/pages/order/index?dataType=' + val
})
},
goodsDetail(item) {
//
uni.navigateTo({
url: '/pages/goods/detail'
})
},
}
@ -494,7 +577,7 @@
margin-top: 2rpx;
display: flex;
flex-direction: column;
width: 88rpx;
width: 126rpx;
}
.text_1 {
@ -676,22 +759,23 @@
}
}
}
.coupon{
.coupon {
width: 688rpx;
height: 142rpx;
background: #FFFFFF;
border-radius: 10rpx 10rpx 10rpx 10rpx;
opacity: 1;
margin: 16rpx 0 0 92rpx;
.walletList {
display: flex;
margin: 30rpx 0 0 42rpx;
margin: 30rpx 0 0 28rpx;
justify-content: space-around;
.listItem {
text-align: center;
.num {
height: 50rpx;
font-size: 36rpx;
@ -700,7 +784,7 @@
color: #2F2F2F;
line-height: 50rpx;
}
.info {
height: 34rpx;
font-size: 24rpx;
@ -712,6 +796,74 @@
}
}
}
.newplus {
display: flex;
margin: 16rpx 0 0 92rpx;
.memVip {
width: 334rpx;
height: 130rpx;
background: linear-gradient(180deg, #FFF0DF 0%, #EFD4B4 100%);
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
margin-right: 12rpx;
.vipLine {
width: 176rpx;
height: 46rpx;
background: #FCF0E3;
opacity: 1;
border-radius: 8rpx 0 20rpx 0;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #966542;
display: flex;
align-items: center;
.vipIcon {
width: 42rpx;
height: 40rpx;
margin-left: 16rpx;
}
}
.sec {
color: #AD836C;
margin-top: 12rpx;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
.inVip {
font-size: 28rpx;
font-weight: 500;
color: #654731;
margin-right: 6rpx;
}
.enjoyVip {
height: 28rpx;
font-size: 20rpx;
font-weight: 400;
color: #966542;
line-height: 28rpx;
margin-right: 28rpx;
}
}
}
.fxVip {
width: 334rpx;
height: 130rpx;
background: linear-gradient(180deg, #F8DAC2 0%, #F5C4A6 100%);
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
}
}
.goodsManage {
background-color: rgba(255, 255, 255, 1.000000);
border-radius: 10rpx;
@ -768,9 +920,10 @@
.goodsOrder {
width: 688rpx;
margin: 26rpx 0 30rpx 12rpx;
justify-content: center;
margin: 26rpx 0rpx 30rpx 12rpx;
justify-content: space-around;
text-align: center;
padding-right: 26rpx;
}
.send {
@ -797,13 +950,15 @@
height: 100rpx;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
justify-content: space-between;
}
.label_1 {
width: 62rpx;
height: 62rpx;
margin-left: 24rpx;
// margin-left: 24rpx;
}
.text-group_2 {
@ -812,6 +967,8 @@
margin-top: 4rpx;
flex-direction: row;
display: flex;
text-align: center;
align-items: center;
}
.text_7 {
@ -839,7 +996,6 @@
text-align: left;
white-space: nowrap;
line-height: 24rpx;
margin-left: -4rpx;
}
.image-text_3 {
@ -968,6 +1124,17 @@
.typeRight {
margin: 20rpx 20rpx 0 0rpx;
display: flex;
align-items: center;
.sale {
width: 98rpx;
height: 98rpx;
position: relative;
top: 0rpx;
left: 20rpx;
margin-right: 20rpx;
}
}
}
@ -993,7 +1160,7 @@
.walletList {
display: flex;
margin: 22rpx 0 0 80rpx;
margin: 22rpx 0 0 18rpx;
justify-content: space-around;
.listItem {
@ -1039,7 +1206,7 @@
}
.serve {
margin: 16rpx 0 0 62rpx;
margin: 16rpx 0 0 42rpx;
display: flex;
flex-wrap: wrap;
@ -1069,20 +1236,33 @@
text-align: center;
}
.infoBtn {
width: 120rpx;
height: 34rpx;
font-size: 24rpx;
font-weight: 400;
color: #3D3D3D;
line-height: 34rpx;
text-align: center;
padding: 0;
}
}
}
}
.line{
.line {
display: flex;
justify-content: center;
align-items: center;
margin: 26rpx 0 20rpx 0;
image{
image {
width: 60rpx;
height: 44rpx;
}
text{
text {
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
@ -1092,11 +1272,13 @@
margin: 0 16rpx;
}
}
.goodsList {
margin: 0 0 0 72rpx;
display: flex;
flex-wrap: wrap;
width: 100%;
.group_11 {
width: 340rpx;
height: 438rpx;
@ -1105,7 +1287,7 @@
justify-content: space-between;
margin: 14rpx 0 0 16rpx;
}
.block_2 {
background-color: rgba(255, 255, 255, 1.000000);
border-radius: 8rpx;
@ -1116,13 +1298,13 @@
flex-direction: column;
justify-content: flex-center;
}
.image_3 {
width: 276rpx;
height: 252rpx;
margin: 20rpx 0 0 28rpx;
}
.box_6 {
width: 300rpx;
height: 34rpx;
@ -1131,7 +1313,7 @@
justify-content: space-between;
margin: 14rpx 0 0 28rpx;
}
.text-wrapper_4 {
background-color: rgba(255, 68, 56, 1.000000);
border-radius: 4rpx;
@ -1140,7 +1322,7 @@
flex-direction: column;
width: 58rpx;
}
.text_12 {
width: 48rpx;
height: 34rpx;
@ -1154,7 +1336,7 @@
line-height: 24rpx;
margin-left: 6rpx;
}
.text_13 {
width: 236rpx;
height: 34rpx;
@ -1167,7 +1349,7 @@
white-space: nowrap;
line-height: 24rpx;
}
.text-wrapper_5 {
width: 242rpx;
height: 50rpx;
@ -1175,7 +1357,7 @@
display: flex;
margin: 20rpx 0 0 34rpx;
}
.text_14 {
width: 16rpx;
height: 34rpx;
@ -1189,7 +1371,7 @@
line-height: 24rpx;
margin-top: 12rpx;
}
.text_15 {
width: 86rpx;
height: 50rpx;
@ -1202,7 +1384,7 @@
white-space: nowrap;
line-height: 36rpx;
}
.text_16 {
width: 60rpx;
height: 28rpx;
@ -1216,7 +1398,7 @@
line-height: 20rpx;
margin: 14rpx 0 0 4rpx;
}
.text_17 {
width: 66rpx;
height: 30rpx;
@ -1229,8 +1411,9 @@
white-space: nowrap;
line-height: 22rpx;
margin: 16rpx 0 0 10rpx;
text-decoration: line-through;
}
.text_18 {
width: 220rpx;
height: 28rpx;
@ -1245,4 +1428,64 @@
margin: -2rpx 0 20rpx 36rpx;
}
}
.memberCode {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(9, 9, 9, 0.38);
z-index: 20;
display: flex;
align-items: center;
justify-content: center;
.codeMain {
width: 560rpx;
height: 714rpx;
background: #FFF5E8;
border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1;
.myCode {
width: 100%;
height: 50rpx;
font-size: 36rpx;
font-weight: 500;
color: #654731;
line-height: 50rpx;
text-align: center;
margin-top: 64rpx;
}
.codeImg {
display: flex;
justify-content: center;
width: 100%;
height: 378rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1;
margin-top: 34rpx;
.img {
width: 388rpx;
height: 378rpx;
background-color: #fff;
}
}
.codeName {
width: 100%;
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #A8A8A8;
line-height: 44rpx;
text-align: center;
margin-top: 62rpx;
}
}
}
</style>

@ -58,7 +58,7 @@
<image src="https://cdn.uviewui.com/uview/swiper/1.jpg"></image>
</view>
<view class="b">
<view class="item" v-for="i in 2" :key="i">
<view class="item" v-for="i in 2" :key="i" @click="goodsDetail(i)">
<image src="@/static/home/phone.jpg"></image>
<view class="title">
<text>自营</text>iphone13 绿色 128GB
@ -118,7 +118,12 @@
},
tabFilter(index){
this.filterIndex = index;
}
},
goodsDetail(i){
uni.navigateTo({
url:'/pages/goods/detail'
})
},
}
}
</script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Loading…
Cancel
Save