商城测试版v6
This commit is contained in:
parent
b9119c9f35
commit
d5a5099e25
@ -186,6 +186,12 @@ export default {
|
|||||||
"index",
|
"index",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
root: "pages/bindSalesman",
|
||||||
|
pages: [
|
||||||
|
"index",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// export const BASE_URL = `http://10.0.0.5:50001/lymarket`
|
// export const BASE_URL = `http://10.0.0.5:50001/lymarket`
|
||||||
// export const BASE_URL = `http://192.168.0.89:40001/lymarket`
|
// export const BASE_URL = `http://192.168.0.89:40001/lymarket`
|
||||||
// export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞
|
// export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞
|
||||||
export const BASE_URL = `https://test.zzfzyc.com/lymarket` // 测试环境
|
// export const BASE_URL = `https://test.zzfzyc.com/lymarket` // 测试环境
|
||||||
// export const BASE_URL = `http://192.168.1.9:40001/lymarket` // 发
|
// export const BASE_URL = `http://192.168.1.9:40001/lymarket` // 发
|
||||||
// export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发
|
// export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发
|
||||||
// export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发
|
// export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发
|
||||||
@ -12,7 +12,7 @@ export const BASE_URL = `https://test.zzfzyc.com/lymarket` // 测试环境
|
|||||||
// export const BASE_URL = `https://www.zzfzyc.com/lymarket` // 正式环境
|
// export const BASE_URL = `https://www.zzfzyc.com/lymarket` // 正式环境
|
||||||
// export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞
|
// export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞
|
||||||
// export const BASE_URL = `http://192.168.1.7:50002/lymarket` // 添
|
// export const BASE_URL = `http://192.168.1.7:50002/lymarket` // 添
|
||||||
// export const BASE_URL = `http://192.168.1.42:50001/lymarket` // 杰
|
export const BASE_URL = `http://192.168.1.42:50001/lymarket` // 杰
|
||||||
|
|
||||||
// CDN
|
// CDN
|
||||||
// 生成密钥
|
// 生成密钥
|
||||||
|
@ -167,7 +167,8 @@ export const isLabImage = (imgurl, rgb, suffix="!w200") => {
|
|||||||
*/
|
*/
|
||||||
export const numberWithCommas = ({number = 0, digit = 2}) => {
|
export const numberWithCommas = ({number = 0, digit = 2}) => {
|
||||||
if(!isNaN(Number(number))) {
|
if(!isNaN(Number(number))) {
|
||||||
return parseFloat(number).toFixed(digit).replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g, ",");
|
// return parseFloat(number).toFixed(digit).replace(/^\B(?<!\.\d*)(?=(\d{3})+(?!\d))$/g, ",");
|
||||||
|
return parseFloat(number).toFixed(digit).toLocaleString()
|
||||||
} else {
|
} else {
|
||||||
return 0.00
|
return 0.00
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
border:1PX solid #818181;
|
border:1PX solid #818181;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
image{
|
image{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
76
src/components/bindSalesmanPopup/index.module.scss
Normal file
76
src/components/bindSalesmanPopup/index.module.scss
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
.bindSalesman_main{
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
position: fixed;
|
||||||
|
left:0;
|
||||||
|
top:0;
|
||||||
|
.bindSalesman_pop{
|
||||||
|
width: 598px;
|
||||||
|
height: 654px;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 40px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
position:absolute;
|
||||||
|
margin:auto;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 1999;
|
||||||
|
.bindSalesman_header{
|
||||||
|
height: 300px;
|
||||||
|
width: 100%;
|
||||||
|
image{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 40px 40px 0 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bindSalesman_message{
|
||||||
|
color: #707070;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
flex:1;
|
||||||
|
font-size: 26px;
|
||||||
|
padding: 0 30px;
|
||||||
|
text{
|
||||||
|
display: block;
|
||||||
|
&:nth-child(1) {
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: 700;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bindSalesman_operation{
|
||||||
|
display: flex;
|
||||||
|
.btns{
|
||||||
|
flex:1;
|
||||||
|
border-top: 1PX solid #dddddd;
|
||||||
|
height: 128px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 128px;
|
||||||
|
font-size: 26px;
|
||||||
|
color: #707070;
|
||||||
|
&:nth-child(2) {
|
||||||
|
border-left: 1PX solid #dddddd;
|
||||||
|
color: #007AFF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bindSalesman_mask{
|
||||||
|
z-index: 99;
|
||||||
|
position: absolute;
|
||||||
|
left:0;
|
||||||
|
top:0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
opacity: 0.8;
|
||||||
|
background: #000000;
|
||||||
|
}
|
||||||
|
}
|
51
src/components/bindSalesmanPopup/index.tsx
Normal file
51
src/components/bindSalesmanPopup/index.tsx
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
import { Image, Swiper, SwiperItem, Text, View } from "@tarojs/components"
|
||||||
|
import styles from './index.module.scss'
|
||||||
|
import { formatImgUrl } from "@/common/fotmat"
|
||||||
|
import Taro from "@tarojs/taro";
|
||||||
|
import { goLink } from "@/common/common";
|
||||||
|
|
||||||
|
type params = {
|
||||||
|
show?: true|false,
|
||||||
|
onClose?: () => void
|
||||||
|
}
|
||||||
|
export default ({show, onClose}:params) => {
|
||||||
|
const onCustomer = async () => {
|
||||||
|
let res = await Taro.showModal({
|
||||||
|
title: '是否拨打服务热线',
|
||||||
|
confirmText: '拨打',
|
||||||
|
content: '(0757) 8270 6695',
|
||||||
|
cancelText: '取消',
|
||||||
|
})
|
||||||
|
if(res.confirm) {
|
||||||
|
Taro.makePhoneCall({
|
||||||
|
phoneNumber: '(0757)82706695'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const onConfirm = () => {
|
||||||
|
onClose?.()
|
||||||
|
// goLink('/')
|
||||||
|
}
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
{show&&<View className={styles.bindSalesman_main}>
|
||||||
|
<View className={styles.bindSalesman_pop}>
|
||||||
|
<View className={styles.bindSalesman_header}>
|
||||||
|
<Image src={formatImgUrl('/mall/invite_code_top.png', '!w400')} mode="aspectFill"/>
|
||||||
|
</View>
|
||||||
|
<View className={styles.bindSalesman_message}>
|
||||||
|
<Text>提示</Text>
|
||||||
|
<Text>暂未开通下单权限功能,稍后有客服联系您,请注意接收电话。</Text>
|
||||||
|
</View>
|
||||||
|
<View className={styles.bindSalesman_operation}>
|
||||||
|
<View className={styles.btns} onClick={() => onConfirm()}>输入邀请码</View>
|
||||||
|
<View className={styles.btns} onClick={() => onCustomer()}>联系客服</View>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
<View className={styles.bindSalesman_mask} onClick={onClose}></View>
|
||||||
|
</View>}
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
|
||||||
|
}
|
@ -111,8 +111,9 @@ export default memo(({orderInfo, onClick}:Param) => {
|
|||||||
validatarFunc: (orderInfo) => {
|
validatarFunc: (orderInfo) => {
|
||||||
let orderStatus = [
|
let orderStatus = [
|
||||||
SaleOrderStatusAlreadyReceipt.value,
|
SaleOrderStatusAlreadyReceipt.value,
|
||||||
|
SaleOrderStatusRefund.value
|
||||||
]
|
]
|
||||||
return orderStatus.includes(orderInfo.status)
|
return orderInfo.av_return_roll&& orderStatus.includes(orderInfo.status)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0 30px;
|
padding: 0 30px;
|
||||||
|
box-sizing: border-box;
|
||||||
.search_item{
|
.search_item{
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 55px;
|
height: 55px;
|
||||||
@ -40,6 +41,7 @@
|
|||||||
border: 2px solid $color_main;
|
border: 2px solid $color_main;
|
||||||
background-color: #ecf5ff;
|
background-color: #ecf5ff;
|
||||||
color: $color_main;
|
color: $color_main;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.con{
|
.con{
|
||||||
|
@ -0,0 +1,49 @@
|
|||||||
|
.bindSalesman_main{
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
position: fixed;
|
||||||
|
left:0;
|
||||||
|
top:0;
|
||||||
|
.bindSalesman_pop{
|
||||||
|
width: 654px;
|
||||||
|
height: 900px;
|
||||||
|
border-radius: 40px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
position:absolute;
|
||||||
|
margin:auto;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 1999;
|
||||||
|
.bindSalesman_header{
|
||||||
|
width: 654px;
|
||||||
|
height: 654px;
|
||||||
|
image{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 40px 40px 0 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btns{
|
||||||
|
width: 488px;
|
||||||
|
height: 104px;
|
||||||
|
image{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bindSalesman_mask{
|
||||||
|
z-index: 99;
|
||||||
|
position: absolute;
|
||||||
|
left:0;
|
||||||
|
top:0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
opacity: 0.8;
|
||||||
|
background: #000000;
|
||||||
|
}
|
||||||
|
}
|
48
src/pages/bindSalesman/component/successBind/index.tsx
Normal file
48
src/pages/bindSalesman/component/successBind/index.tsx
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
import { Image, Swiper, SwiperItem, Text, View } from "@tarojs/components"
|
||||||
|
import styles from './index.module.scss'
|
||||||
|
import { formatImgUrl } from "@/common/fotmat"
|
||||||
|
import Taro from "@tarojs/taro";
|
||||||
|
import { goLink } from "@/common/common";
|
||||||
|
import CloseBtn from "@/components/closeBtn";
|
||||||
|
import { useEffect, useState } from "react";
|
||||||
|
|
||||||
|
type params = {
|
||||||
|
show?: true|false,
|
||||||
|
onClose?: () => void
|
||||||
|
}
|
||||||
|
export default ({show = false, onClose}:params) => {
|
||||||
|
const [showPop, setShowPop] = useState<true|false>(false)
|
||||||
|
useEffect(() => {
|
||||||
|
if(show !== undefined) setShowPop(() => show)
|
||||||
|
}, [show])
|
||||||
|
const onClick = async (val) => {
|
||||||
|
onClose?.()
|
||||||
|
setShowPop(() => false)
|
||||||
|
if(val == 1) {
|
||||||
|
goLink('/pages/depositBeforehand/index')
|
||||||
|
} else {
|
||||||
|
goLink('/pages/index/index', {}, 'switchTab')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const onCloseEven = () => {
|
||||||
|
setShowPop(() => false)
|
||||||
|
onClose?.()
|
||||||
|
}
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
{showPop&&<View className={styles.bindSalesman_main}>
|
||||||
|
<View className={styles.bindSalesman_pop}>
|
||||||
|
<View className={styles.bindSalesman_header} onClick={() => onClick(1)}>
|
||||||
|
<Image src={formatImgUrl('/mall/invite_code_success.png', '!w400')} mode="widthFix"/>
|
||||||
|
</View>
|
||||||
|
<View className={styles.btns} onClick = {() => onClick(2)}>
|
||||||
|
<Image src={formatImgUrl('/mall/invite_code_btn.png', '!w400')} mode="widthFix"/>
|
||||||
|
</View>
|
||||||
|
{/* <CloseBtn styleObj={{backgroundImage: '', border:'2PX solid #fff', color: '#fff'}}/> */}
|
||||||
|
</View>
|
||||||
|
<View className={styles.bindSalesman_mask} onClick={onCloseEven}></View>
|
||||||
|
</View>}
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
|
||||||
|
}
|
4
src/pages/bindSalesman/index.config.ts
Normal file
4
src/pages/bindSalesman/index.config.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export default {
|
||||||
|
navigationBarTitleText: '邀请码',
|
||||||
|
enableShareAppMessage: true,
|
||||||
|
}
|
69
src/pages/bindSalesman/index.module.scss
Normal file
69
src/pages/bindSalesman/index.module.scss
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
.bindSalesmanPage_main{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
.header_image{
|
||||||
|
width: 240px;
|
||||||
|
height: 188px;
|
||||||
|
padding: 50px 0;
|
||||||
|
image{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.inputCode{
|
||||||
|
width: 670px;
|
||||||
|
height: 106px;
|
||||||
|
background: #f6f6f6;
|
||||||
|
border: 2px solid #f0f0f0;
|
||||||
|
border-radius: 20px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 20px 0 20px 30px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
input{
|
||||||
|
flex:1;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
.scan_code{
|
||||||
|
width: 101px;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
border-left: 1PX solid #ccc;
|
||||||
|
.miconfont{
|
||||||
|
font-size: 50px;
|
||||||
|
color: #007AFF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.close_btn{
|
||||||
|
padding: 0 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btns{
|
||||||
|
width: 670px;
|
||||||
|
height: 90px;
|
||||||
|
opacity: 0.6;
|
||||||
|
background: linear-gradient(41deg,#007aff, #4fa6ff 86%, #68b4ff 100%);
|
||||||
|
border-radius: 46px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 90px;
|
||||||
|
color: #fff;
|
||||||
|
margin-top: 50px;
|
||||||
|
}
|
||||||
|
.message{
|
||||||
|
padding: 150px 30px 20px 30px;
|
||||||
|
color: #ABABAB;
|
||||||
|
font-size: 28px;
|
||||||
|
text{
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
&:nth-child(1) {
|
||||||
|
text-align: center;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
76
src/pages/bindSalesman/index.tsx
Normal file
76
src/pages/bindSalesman/index.tsx
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
import { Image, Input, Text, View } from '@tarojs/components'
|
||||||
|
import styles from './index.module.scss'
|
||||||
|
import useLogin from '@/use/useLogin'
|
||||||
|
import classnames from "classnames";
|
||||||
|
import { formatImgUrl } from '@/common/fotmat'
|
||||||
|
import { useEffect, useState } from 'react';
|
||||||
|
import { alert } from '@/common/common';
|
||||||
|
import CloseBtn from '@/components/closeBtn';
|
||||||
|
import SuccessBind from './component/successBind';
|
||||||
|
import Taro, { useDidShow } from "@tarojs/taro";
|
||||||
|
export default () => {
|
||||||
|
useLogin()
|
||||||
|
|
||||||
|
useDidShow(() => {
|
||||||
|
onClipboardData()
|
||||||
|
})
|
||||||
|
|
||||||
|
const [submitData, setSubmitData] = useState({
|
||||||
|
code: '',
|
||||||
|
})
|
||||||
|
|
||||||
|
const onSubmit = () => {
|
||||||
|
if(!submitData.code) alert.error('请输入邀请码')
|
||||||
|
}
|
||||||
|
|
||||||
|
const onInputCode = (e) => {
|
||||||
|
setSubmitData((val) => ({...val, code:e.detail.value}))
|
||||||
|
}
|
||||||
|
|
||||||
|
const oncloseEven = () => {
|
||||||
|
setSubmitData((val) => ({...val, code:''}))
|
||||||
|
}
|
||||||
|
|
||||||
|
const onScanCode = () => {
|
||||||
|
Taro.scanCode({
|
||||||
|
success: (res) => {
|
||||||
|
console.log(res)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
//获取粘贴版内容
|
||||||
|
const onClipboardData = () => {
|
||||||
|
Taro.getClipboardData({
|
||||||
|
success: function (res){
|
||||||
|
console.log('res.data:::', res.data)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<View className={styles.bindSalesmanPage_main}>
|
||||||
|
<View className={styles.header_image}>
|
||||||
|
<Image src={formatImgUrl('/mall/invite_code_bg.png')} mode="aspectFill"/>
|
||||||
|
</View>
|
||||||
|
<View className={styles.inputCode}>
|
||||||
|
<Input value={submitData.code} placeholder='请输入邀请码' onInput={(e) => onInputCode(e)}/>
|
||||||
|
<View className={styles.close_btn} >
|
||||||
|
{submitData.code&&<CloseBtn styleObj={{backgroundColor: '#ccc', color: '#fff'}} onClose={oncloseEven}/>}
|
||||||
|
</View>
|
||||||
|
<View className={styles.scan_code} onClick={() => onScanCode()}>
|
||||||
|
<Text className={classnames('iconfont icon-saomazhifu', styles.miconfont)}></Text>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
<View className={styles.btns} onClick={onSubmit}>提交</View>
|
||||||
|
<View className={styles.message}>
|
||||||
|
<Text>温馨提示</Text>
|
||||||
|
<Text>1. 新用户授权手机号码后,7天内可以输入邀请码,超过时间不能输入。</Text>
|
||||||
|
<Text>2. 一个手机只能输入一次邀请码。输入邀请码。</Text>
|
||||||
|
</View>
|
||||||
|
<View className='common_safe_area_y'></View>
|
||||||
|
<SuccessBind show={false}/>
|
||||||
|
</View>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
@ -12,6 +12,8 @@ import Taro, { Events, useDidShow, usePullDownRefresh } from '@tarojs/taro'
|
|||||||
import { GetProductKindListApi, GetProductListApi } from '@/api/material'
|
import { GetProductKindListApi, GetProductListApi } from '@/api/material'
|
||||||
import useLogin from '@/use/useLogin'
|
import useLogin from '@/use/useLogin'
|
||||||
import { dataLoadingStatus } from '@/common/util'
|
import { dataLoadingStatus } from '@/common/util'
|
||||||
|
import BindSalesman from '@/components/bindSalesmanPopup'
|
||||||
|
import BindSalesmanPopup from '@/components/bindSalesmanPopup'
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
|
|
||||||
@ -105,7 +107,9 @@ export default () => {
|
|||||||
</View>
|
</View>
|
||||||
<View className='common_safe_area_y'></View>
|
<View className='common_safe_area_y'></View>
|
||||||
<ShopCart show={showShopCart} onClose={() => setShowShopCart(false)} />
|
<ShopCart show={showShopCart} onClose={() => setShowShopCart(false)} />
|
||||||
|
<BindSalesmanPopup show={true}/>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
</MoveBtn>
|
</MoveBtn>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,7 @@
|
|||||||
}
|
}
|
||||||
.color_num {
|
.color_num {
|
||||||
background: rgba(0,0,0, 0.5);
|
background: rgba(0,0,0, 0.5);
|
||||||
border-radius: 0px 50px 0px 0px;
|
border-radius: 0px 50px 0px 30px;
|
||||||
font-size: $font_size_min;
|
font-size: $font_size_min;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -203,7 +203,7 @@ export default () => {
|
|||||||
return <View key={item.id} className={styles.product_item} onClick={() => goLinkPage(item)}>
|
return <View key={item.id} className={styles.product_item} onClick={() => goLinkPage(item)}>
|
||||||
<View className={styles.product_img}>
|
<View className={styles.product_img}>
|
||||||
<LabAndImg value={{lab:item.lab,rgb:item.rgb,texture_url:item.texture_url}}/>
|
<LabAndImg value={{lab:item.lab,rgb:item.rgb,texture_url:item.texture_url}}/>
|
||||||
<View className={styles.color_num}>{(item.product_color_code)}#</View>
|
<View className={styles.color_num}>{(item.product_color_code)}</View>
|
||||||
</View>
|
</View>
|
||||||
<View className={styles.product_info}>
|
<View className={styles.product_info}>
|
||||||
<View className={styles.title}>{formatHashTag(item.product_code, item.product_name)}</View>
|
<View className={styles.title}>{formatHashTag(item.product_code, item.product_name)}</View>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user