Merge branch 'dev1.0.0' into develop

msb_beta
ch 3 years ago
commit 548fe5a02c

@ -2,11 +2,11 @@
* @Author: ch
* @Date: 2022-04-22 16:48:11
* @LastEditors: ch
* @LastEditTime: 2022-04-22 17:03:48
* @LastEditTime: 2022-04-22 20:52:22
* @Description: file content
-->
<template>
<view class="goods-item">
<view class="goods-item" @click="$emit('click')">
<image class="goods-item--image" mode="aspectFit" :src="data.productImageUrl" />
<view class="goods-item--con">
<view class="goods-item--title-box">

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>马士兵严选</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.b5602bf5.js></script><script src=/static/js/index.27db4afe.js></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.b5602bf5.js></script><script src=/static/js/index.e8312dde.js></script></body></html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-22 13:54:15
* @LastEditors: ch
* @LastEditTime: 2022-04-22 18:58:37
* @LastEditTime: 2022-04-22 21:08:34
* @Description: file content
-->
<template>
@ -55,7 +55,7 @@ export default {
selectedId :{
get(){
const queryId = this.query.id,
defaultAddress = this.addresList.find(i => i.isDefault);
defaultAddress = this.addresList.find(i => i.isDefault) || {};
return queryId || defaultAddress.id;
},
set(val){

@ -2,12 +2,16 @@
* @Author: ch
* @Date: 2022-04-12 17:33:42
* @LastEditors: ch
* @LastEditTime: 2022-04-13 13:47:07
* @LastEditTime: 2022-04-22 21:02:11
* @Description: file content
-->
<template>
<view class="seckill">
<view class="seckill--price-box">
<view class="seckill" :class="activityStatus === 'startActivity' && 'seckill__start'">
<view class="seckill--price-box" v-if="activityStatus === 'noStartActivity'">
<text class="seckill--price-icon"></text>
<text class="seckill--price">{{data.originalPrice}}</text>
</view>
<view class="seckill--price-box " v-else>
<text class="seckill--price-icon"></text>
<text class="seckill--price">{{data.activityPrice}}</text>
<text class="seckill--price-org">{{data.originalPrice}}</text>
@ -27,6 +31,10 @@ export default {
data : {
type : Object,
default : () => ({})
},
activityStatus : {
type : String,
default : 'noStartActivity'
}
},
data(){
@ -113,17 +121,26 @@ export default {
position: relative;
display: flex;
justify-content: space-between;
padding: 0 20rpx 0 234rpx;
padding: 0 20rpx 0 260rpx;
&::after{
position: absolute;
left: 0;
top: 0;
display: block;
content: '';
width: 266rpx;
width: 367rpx;
height: 100rpx;
background: url('@/static/goods/seckill.png') no-repeat -8rpx -16rpx;
background-size: 290rpx;
background-size: 327rpx;
}
&__start{
padding: 0 20rpx 0 234rpx;
&::after{
width: 327rpx;
background: url('@/static/goods/seckill_start.png') no-repeat -8rpx -16rpx;
background-size: 290rpx;
}
}
&--price-box{
padding-top: 30rpx;

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-23 17:27:21
* @LastEditors: ch
* @LastEditTime: 2022-04-22 20:09:27
* @LastEditTime: 2022-04-22 21:04:17
* @Description: file content
-->
<template>
@ -11,7 +11,8 @@
<image class="back--icon" src="@/static/goods/back.png"/>
</view>
<SlideImage :images="goods.pictureList"></SlideImage>
<SeckillPrice :data.sync="productActivityVO" v-if="productActivityVO.isActivity" @change="getGoodsDetail"></SeckillPrice>
<SeckillPrice :data.sync="productActivityVO" :activityStatus="activityStatus"
v-if="productActivityVO.isActivity" @change="getGoodsDetail"></SeckillPrice>
<view class="goods-info">
<view class="pirce" v-if="!productActivityVO.isActivity">
<text></text>
@ -36,9 +37,8 @@
<view class="icon cart" @click="$Router.push('/cart')"></view>
</view>
<view class="footer--btns">
<UiButton class="btn" :disable="stock == 0" v-if="activityStatus !== 'startActivity' " @click="onShowSkuPopup(2)"></UiButton>
<UiButton class="btn btn--buy" :disable="stock == 0" v-if="activityStatus === 'noStartActivity'" @click="onShowSkuPopup(3)"></UiButton>
<UiButton class="btn btn--buy" :disable="stock == 0" v-else @click="onShowSkuPopup(3)"> </UiButton>
<UiButton class="btn" :disable="stock == 0 || activityStatus == startActivity" @click="onShowSkuPopup(2)"></UiButton>
<UiButton class="btn btn--buy" :disable="stock == 0" @click="onShowSkuPopup(3)"> </UiButton>
</view>
</view>
</view>

@ -2,13 +2,13 @@
* @Author: ch
* @Date: 2022-04-15 16:36:02
* @LastEditors: ch
* @LastEditTime: 2022-04-22 18:28:23
* @LastEditTime: 2022-04-22 21:10:56
* @Description: file content
-->
<template>
<UiWhiteBox>
<u-cell class="address" isLink v-if="lastLogisitcs"
@click="$Router.push(`/logisitcsInfo?orderId=${orderInfo.orderId}`)">
@click="$Router.push(`/logisitcsInfo?orderId=${orderId}`)">
<view slot="title" class="address--title">{{lastLogisitcs.context}}</view>
<image class="address--icon" slot="icon" src="@/static/order/fj.png" />
<view slot="label" class="address--label">
@ -36,6 +36,10 @@ export default {
logisitcsInfo : {
type : Object,
defalut : () => ({})
},
orderId: {
type : Number | null,
defalut : null
}
},
computed : {

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-31 14:26:09
* @LastEditors: ch
* @LastEditTime: 2022-04-22 18:48:28
* @LastEditTime: 2022-04-22 21:11:38
* @Description: file content
-->
<template>
@ -29,7 +29,7 @@
</template>
</UiGoodsInfo>
</UiWhiteBox>
<LogisitcsInfo :logisitcsInfo="orderInfo.logistics" />
<LogisitcsInfo :logisitcsInfo="orderInfo.logistics" :orderId="orderInfo.orderId"/>
<OrderInfo :orderInfo="orderInfo" />
<Operation :orderInfo="orderInfo" v-if="orderInfo.orderStatus !== 3"></Operation>
</view>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Loading…
Cancel
Save