diff --git a/src/assets/矢量智能对象@2x(2).png b/src/assets/矢量智能对象@2x(2).png
deleted file mode 100755
index 640f577..0000000
Binary files a/src/assets/矢量智能对象@2x(2).png and /dev/null differ
diff --git a/src/components/search-bar/index.js b/src/components/search-bar/index.js
index 75e9ef6..fc79077 100755
--- a/src/components/search-bar/index.js
+++ b/src/components/search-bar/index.js
@@ -12,7 +12,7 @@ export default class SearchBar extends Component {
isOpened: false,
keyword: '',
showDailog: true,
- localStorageKey: 'searchHistory'
+ localStorageKey: 'searchHistory',
}
constructor(props) {
@@ -22,7 +22,12 @@ export default class SearchBar extends Component {
searchValue: '',
showSearchDailog: false,
historyList: [],
- isShowAction: false
+ isShowAction: false,
+ qaList: [
+ { content: '正常版和窄版的区别' },
+ { content: '如何区分常规软木鞋床和软底软木鞋床' },
+ { content: '人造革和牛皮革的区别' },
+ ]
}
}
@@ -123,9 +128,15 @@ export default class SearchBar extends Component {
})
}
+ handleClickQa = () => {
+ Taro.navigateTo({
+ url: '/subpages/member/qa-page?index=0'
+ })
+ }
+
render () {
const { isFixed, keyword, showDailog, placeholder, hotSearch } = this.props
- const { showSearchDailog, historyList, isShowAction, searchValue } = this.state
+ const { showSearchDailog, historyList, isShowAction, searchValue, qaList } = this.state
return (
*/}
)}
+
+ 常见问题
+
+
+
+ {qaList.map((item, index) =>
+ {item.content}
+ {/* */}
+ )}
+
)}
diff --git a/src/components/sp-goods-price/index.js b/src/components/sp-goods-price/index.js
index 78b77d2..379bb7f 100755
--- a/src/components/sp-goods-price/index.js
+++ b/src/components/sp-goods-price/index.js
@@ -7,7 +7,7 @@ import { classNames } from '@/utils'
import './index.scss'
function SpGoodsPrice (props) {
- const { info } = props
+ const { info, showMarketPrice = false } = props
const { priceSetting } = useSelector((state) => state.sys)
const { cart_page, item_page, order_page } = priceSetting
const {
@@ -45,9 +45,9 @@ function SpGoodsPrice (props) {
{
!isPoint &&
}
- {/* {marketPrice > 0 && enMarketPrice && (
+ {marketPrice > 0 && enMarketPrice && showMarketPrice && (
- )} */}
+ )}
{info.memberPrice < info.price && enMemberPrice && (
diff --git a/src/components/sp-goods-price/index.scss b/src/components/sp-goods-price/index.scss
index 8b0d73f..0bc57ba 100755
--- a/src/components/sp-goods-price/index.scss
+++ b/src/components/sp-goods-price/index.scss
@@ -1,6 +1,6 @@
.sp-goods-price {
.mkt-price {
- margin-left: 8px;
+ margin-left: 18px;
}
.vip-price,
.svip-price {
diff --git a/src/components/sp-order-item/index.scss b/src/components/sp-order-item/index.scss
index 23dcb75..f0a0bf3 100755
--- a/src/components/sp-order-item/index.scss
+++ b/src/components/sp-order-item/index.scss
@@ -31,7 +31,7 @@
}
&__title {
// font-size: floor(0.95 * $font-size);
- @include multi-ellipsis(1);
+ // @include multi-ellipsis(1);
margin-bottom: 26px;
color: #000;
font-size: 20px;
diff --git a/src/components/sp-sku-select-new/index.js b/src/components/sp-sku-select-new/index.js
index 841728e..58e7785 100755
--- a/src/components/sp-sku-select-new/index.js
+++ b/src/components/sp-sku-select-new/index.js
@@ -65,7 +65,7 @@ function SpSkuSelect (props, ref) {
specItems.forEach((item) => {
const key = item.specItem.map((spec) => spec.specId).join('_')
skuDictRef.current[key] = item
- console.log("🚀 ~ item库存为:", key, item.specItem.map((item) => item.specName).join('_'), item.store)
+ // console.log("🚀 ~ item库存为:", key, item.specItem.map((item) => item.specName).join('_'), item.store)
})
let selItem = null
if (skuList.length === 3) {
diff --git a/src/marketing/pages/member/destroy-member.scss b/src/marketing/pages/member/destroy-member.scss
index 44e10d7..bd542e4 100755
--- a/src/marketing/pages/member/destroy-member.scss
+++ b/src/marketing/pages/member/destroy-member.scss
@@ -1,19 +1,23 @@
-@import "@/style/imports";
+@import '@/style/imports';
.destory-member {
position: relative;
height: 100vh;
+ .sp-page-body {
+ padding: 0 20rpx;
+ box-sizing: border-box;
+ }
.title {
text-align: center;
font-size: 32px;
padding: 50px 0px;
}
.content {
- margin: 0px 20px;
+ // margin: 0px 20px;
background: #fff;
padding: 30px 45px;
border-radius: 16px;
- box-shadow: 0px 2px 10px 0px #EAE7E0;
+ box-shadow: 0px 2px 10px 0px #eae7e0;
}
.margin {
margin-bottom: 35px;
@@ -36,9 +40,9 @@
}
.button {
width: 80%;
- background: #F4811F;
+ background: #f4811f;
border-radius: 60px;
- color: #FFFFFF;
+ color: #ffffff;
text-align: center;
margin: 100px auto 50px auto;
padding: 15px 0px;
diff --git a/src/pages/home/index.scss b/src/pages/home/index.scss
index 572b615..37dd5f7 100755
--- a/src/pages/home/index.scss
+++ b/src/pages/home/index.scss
@@ -235,6 +235,24 @@ page {
}
}
}
+ .mutedBtn {
+ animation: fadeInAnimation 0.3s ease-in;
+ // background-color: #fff;
+ width: 100px;
+ height: 100px;
+ border-radius: 50%;
+ position: absolute;
+ right: 30px;
+ bottom: 30px;
+ z-index: 100;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ .muted-icon {
+ width: 60rpx;
+ height: 60rpx;
+ }
+ }
}
.shop-box {
height: 520px;
diff --git a/src/pages/index.js b/src/pages/index.js
index b1420fb..75bbfd7 100755
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -105,7 +105,8 @@ const initialState = {
],
goodList: [],
recommend: [],
- activeInfo: {}
+ activeInfo: {},
+ muted: true,
}
function Home () {
@@ -647,7 +648,7 @@ function Home () {
controls={false}
autoplay={true}
loop={true}
- muted={true}
+ muted={state.muted}
showProgress={false}
showFullscreenBtn={false}
showPlayBtn={false}
@@ -670,6 +671,9 @@ function Home () {
} */}
+ {!isUpOperation && item.type === "video" && setState(v => { v.muted = !state.muted })} >
+
+ }
))}
diff --git a/src/pages/item/espier-detail.js b/src/pages/item/espier-detail.js
index 6e4e63e..4ade176 100755
--- a/src/pages/item/espier-detail.js
+++ b/src/pages/item/espier-detail.js
@@ -632,7 +632,7 @@ function EspierDetail (props) {
{/* 拼团、秒杀、限时特惠不显示 */}
{!ACTIVITY_LIST[info.activityType] && (
-
+
)}
{showSaleTotal &&
@@ -642,7 +642,7 @@ function EspierDetail (props) {
}
-
+ {/* */}
{/* { !info.nospec && (
@@ -710,7 +710,7 @@ function EspierDetail (props) {
} */}
{/* 店铺 */}
- {VERSION_PLATFORM && }
+ {/* {VERSION_PLATFORM && } */}
{/* Sku选择器列表 */}
{/* Sku选择器 */}
@@ -731,7 +731,7 @@ function EspierDetail (props) {
curItem && setState((draft) => {
draft.skuText = skuText
draft.curItem = curItem
- // 不切换顶部轮播图
+ // 切换顶部轮播图
draft.selSkuImg = curItem.specItem?.[0]?.specImgs?.[0]
if (idx === 0) draft.swiperList = curItem?.specItem?.[idx]?.specImgs
})
diff --git a/src/store/slices/sys.js b/src/store/slices/sys.js
index 182e8d0..a0416a8 100755
--- a/src/store/slices/sys.js
+++ b/src/store/slices/sys.js
@@ -66,7 +66,7 @@ const initialState = {
market_price: false
},
item_page: {
- market_price: false,
+ market_price: true,
member_price: false,
svip_price: false
},
diff --git a/src/subpage/pages/trade/comps/detail-item.scss b/src/subpage/pages/trade/comps/detail-item.scss
index aa88d7e..3aa2729 100755
--- a/src/subpage/pages/trade/comps/detail-item.scss
+++ b/src/subpage/pages/trade/comps/detail-item.scss
@@ -4,6 +4,11 @@
padding: 36px 0 37px;
&-good {
position: relative;
+ .sp-order-item {
+ &__bd {
+ width: 66%;
+ }
+ }
}
// &__fix {
// display: flex;
diff --git a/src/subpage/pages/trade/comps/new-item.js b/src/subpage/pages/trade/comps/new-item.js
index 4a46cb3..95868ec 100755
--- a/src/subpage/pages/trade/comps/new-item.js
+++ b/src/subpage/pages/trade/comps/new-item.js
@@ -313,7 +313,7 @@ export default class TradeItem extends Component {
) : null} */}
{
- !info.aftersales_bn && (
+ !info.aftersales_bn && info.is_rate != 1 && (