update 1.3.7
parent
2404adc363
commit
812f9b0e3d
|
|
@ -0,0 +1,4 @@
|
|||
商品评价折叠
|
||||
展开显示2条
|
||||
尺码默认出现所有尺码,点击宽窄版型后出现对应尺码。
|
||||
宽窄版型默认不选中
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ecshopx-vshop",
|
||||
"app_name": "ecshopx",
|
||||
"name": "BIRKENSTOCK",
|
||||
"app_name": "BIRKENSTOCK",
|
||||
"version": "3.13.20",
|
||||
"private": true,
|
||||
"description": "taro app for bbc",
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ const config = {
|
|||
// 'pages/cart/cashier-alipay', // 支付宝收银台(adapay)
|
||||
'pages/cart/cashier-weapp', // 微信收银台(adapay)
|
||||
|
||||
'pages/home/story', // 品牌故事
|
||||
'pages/home/landing', // 跳转等待页面
|
||||
'pages/floorguide/index', // 楼层引导页面
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
|
|
@ -115,6 +115,7 @@ export default class SearchBar extends Component {
|
|||
}
|
||||
|
||||
handleBlurSearch = () => {
|
||||
return //不需要了
|
||||
this.props.onBlur?.()
|
||||
this.setState({
|
||||
showSearchDailog: false,
|
||||
|
|
|
|||
|
|
@ -293,7 +293,7 @@ function SpPage (props, ref) {
|
|||
/>
|
||||
</View>}
|
||||
{/* <Image className="chazhao" src={require("@/assets/chazhao-light.png")}></Image> */}
|
||||
{showCustomNavigation ? <SpImage onClick={() => Taro.navigateTo({ url: '/pages/item/list' })} src={`member/chazhao-${isBlack ? "black" : "light"}.png`} height={34} mode='heightFix' isNew />
|
||||
{showCustomNavigation ? <SpImage onClick={() => Taro.navigateTo({ url: '/pages/item/list?showSearch=true' })} src={`member/chazhao-${isBlack ? "black" : "light"}.png`} height={34} mode='heightFix' isNew />
|
||||
: <View className='icon-wrap'>
|
||||
<Text
|
||||
className={classNames('iconfont', {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
import React from 'react'
|
||||
import { View } from '@tarojs/components'
|
||||
import { SpImage, SpPage } from '@/components'
|
||||
import Taro from '@tarojs/taro'
|
||||
import './story.scss'
|
||||
|
||||
|
||||
export default function story () {
|
||||
const windowWidth = Taro.getSystemInfoSync().windowWidth
|
||||
return (
|
||||
<SpPage className='page-home-story has-navbar' isBlack showNavSearchIcon title={<SpImage src={`member/logo-black.png`} height={34} mode='heightFix' isNew />}>
|
||||
<SpImage width={windowWidth * 2} mode='widthFix' src="index/story/story-1.jpg" isShowMenuByLongpress={false} lazyLoad isNew></SpImage>
|
||||
<SpImage width={windowWidth * 2} mode='widthFix' src="index/story/story-2.jpg" isShowMenuByLongpress={false} lazyLoad isNew></SpImage>
|
||||
<SpImage width={windowWidth * 2} mode='widthFix' src="index/story/story-3.jpg" isShowMenuByLongpress={false} lazyLoad isNew></SpImage>
|
||||
<SpImage width={windowWidth * 2} mode='widthFix' src="index/story/story-4.jpg" isShowMenuByLongpress={false} lazyLoad isNew></SpImage>
|
||||
<View className="boback-btn" onClick={() => Taro.navigateBack({ delta: 1 })}></View>
|
||||
</SpPage>
|
||||
)
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
.page-home-story {
|
||||
position: relative;
|
||||
|
||||
.boback-btn {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
/* prettier-ignore */
|
||||
bottom: 40PX;
|
||||
z-index: 1;
|
||||
height: 80px;
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
// margin: 20px auto;
|
||||
}
|
||||
}
|
||||
|
|
@ -555,6 +555,19 @@ function Home () {
|
|||
</ScrollView>
|
||||
</View>)}
|
||||
</>}
|
||||
{isUpOperation && showRecommend && <View className="brand" style={{ padding: '0 15px 15px', height: '250px' }}>
|
||||
<SpImage width={windowWidth * 2 - 60} mode='widthFix' src="index/story/story.png" onClick={() => Taro.navigateTo({
|
||||
url: '/pages/home/story'
|
||||
})} isShowMenuByLongpress={false} lazyLoad isNew></SpImage>
|
||||
{/* <SpImage width={windowWidth * 2 - 60} mode='widthFix' src="index/story/more.png" isShowMenuByLongpress={false} lazyLoad isNew></SpImage> */}
|
||||
{/* <View style={{ marginTop: '30px' }}>
|
||||
<SpImage onClick={() => Taro.navigateTo({
|
||||
url: '/pages/webview?url=' + encodeURIComponent('https://www.baidu.com')
|
||||
})} width={windowWidth * 2 - 60} mode='widthFix' src="index/story/more.png" isShowMenuByLongpress={false} lazyLoad isNew></SpImage>
|
||||
</View> */}
|
||||
</View>}
|
||||
|
||||
|
||||
{false && isUpOperation && showRecommend && <View className="brand" style={{ padding: '15px', height: '550px' }}>
|
||||
<View className="brand-title">品牌介绍</View>
|
||||
<ScrollView scrollX scrollWithAnimation showScrollbar={false} scrollLeft={0} className="brand-img" style={{ height: '220px' }}>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
export default {
|
||||
navigationBarTitleText: '首页'
|
||||
navigationBarTitleText: ''
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ function ItemList () {
|
|||
const dispatch = useDispatch()
|
||||
|
||||
const goodsRef = useRef()
|
||||
const searchRef = useRef()
|
||||
// console.log('$instance.router.params', $instance.router?.params)
|
||||
useEffect(() => {
|
||||
if (S.getAuthToken()) {
|
||||
|
|
@ -88,8 +89,11 @@ function ItemList () {
|
|||
useEffect(() => {
|
||||
// card_id, user_card_id: 兑换券参数
|
||||
entryLaunch.getRouteParams($instance.router.params).then((params) => {
|
||||
const { cat_id, main_cat_id, tag_id, card_id, user_card_id } = params
|
||||
|
||||
const { cat_id, main_cat_id, tag_id, card_id, user_card_id, showSearch } = params
|
||||
if (showSearch === 'true') {
|
||||
setIsShowSearch(true)
|
||||
searchRef.current.handleFocusSearchHistory(true)
|
||||
}
|
||||
setState((draft) => {
|
||||
draft.routerParams = {
|
||||
cat_id,
|
||||
|
|
@ -362,6 +366,7 @@ function ItemList () {
|
|||
</View>
|
||||
)}
|
||||
<SpSearchBar
|
||||
ref={searchRef}
|
||||
className='search-wrap'
|
||||
keyword={keywords}
|
||||
hotSearch={historyList}
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ function MemberUserInfo () {
|
|||
loading
|
||||
} = state
|
||||
const { userInfo = {} } = useSelector((_state) => _state.user)
|
||||
const { appName } = useSelector((_state) => _state.sys)
|
||||
const pageRef = useRef()
|
||||
const { getUserInfo, logout } = useLogin()
|
||||
|
||||
|
|
@ -623,7 +624,7 @@ function MemberUserInfo () {
|
|||
onClick={() => Taro.navigateTo({ url: '/subpages/auth/reg-rule?type=member_logout' })}
|
||||
style={`color: #000000`}
|
||||
>
|
||||
《Birkenstock使用条款》
|
||||
{`《${appName}使用条款》`}
|
||||
</Text>
|
||||
及
|
||||
<Text
|
||||
|
|
|
|||
Loading…
Reference in New Issue