1
This commit is contained in:
parent
f0cdb49ebc
commit
ca4c8a6b0b
@ -62,7 +62,7 @@ export default memo((
|
|||||||
</View>}
|
</View>}
|
||||||
|
|
||||||
<View className={style.drawer_container_context}>
|
<View className={style.drawer_container_context}>
|
||||||
{children}
|
{show&&children}
|
||||||
</View>
|
</View>
|
||||||
<View className="common_safe_area_y"></View>
|
<View className="common_safe_area_y"></View>
|
||||||
</View>
|
</View>
|
||||||
|
@ -101,12 +101,17 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
.order_address_list {
|
.order_address_list {
|
||||||
height: 900px;
|
height:80vh;
|
||||||
.order_address_title{
|
.order_address_title{
|
||||||
font-size: $font_size;
|
font-size: $font_size;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 20px 0 30px 0;
|
padding: 20px 0 30px 0;
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
.addressList_con{
|
||||||
|
padding-bottom: 20px;
|
||||||
|
height: calc(100% - 160px);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -114,9 +114,11 @@ export default memo(forwardRef(({onSelect, onChangeShipmentMode, defaultValue =
|
|||||||
<Popup show={showAddressList} showTitle={false} onClose={() => setShowAddressList(false)}>
|
<Popup show={showAddressList} showTitle={false} onClose={() => setShowAddressList(false)}>
|
||||||
<View className={styles.order_address_list}>
|
<View className={styles.order_address_list}>
|
||||||
<View className={styles.order_address_title}>请选择收货地址</View>
|
<View className={styles.order_address_title}>请选择收货地址</View>
|
||||||
|
<View className={styles.addressList_con}>
|
||||||
<AddressList onSelect={getAddress}/>
|
<AddressList onSelect={getAddress}/>
|
||||||
</View>
|
</View>
|
||||||
<View className="common_safe_area_y"></View>
|
<View className="common_safe_area_y"></View>
|
||||||
|
</View>
|
||||||
</Popup>
|
</Popup>
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
.apply_after_sales_con{
|
.apply_after_sales_con{
|
||||||
height: 80vh;
|
height: 80vh;
|
||||||
.scroll{
|
.scroll{
|
||||||
height: calc(100% - 80px);
|
height: calc(100% - 170px);
|
||||||
}
|
}
|
||||||
.returnSaleInput{
|
.returnSaleInput{
|
||||||
margin: 0 20px;
|
margin: 0 20px;
|
||||||
@ -85,8 +85,9 @@
|
|||||||
font-size: $font_size;
|
font-size: $font_size;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
.uploadImg{
|
.textarea{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 165.4px;
|
||||||
.descDataNum{
|
.descDataNum{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Image, ScrollView, Text, Textarea, View } from "@tarojs/components";
|
import { Image, ScrollView, Text, Textarea, View } from "@tarojs/components";
|
||||||
import { memo, useState } from "react";
|
import { memo, useCallback, useState } from "react";
|
||||||
import classnames from "classnames";
|
import classnames from "classnames";
|
||||||
import styles from './index.module.scss'
|
import styles from './index.module.scss'
|
||||||
import Popup from "@/components/popup";
|
import Popup from "@/components/popup";
|
||||||
@ -8,6 +8,19 @@ import Counter from "@/components/counter";
|
|||||||
|
|
||||||
export default memo(() => {
|
export default memo(() => {
|
||||||
const [showDesc, setShowDesc] = useState(true)
|
const [showDesc, setShowDesc] = useState(true)
|
||||||
|
const [descData, setDescData] = useState({
|
||||||
|
number: 0,
|
||||||
|
value: '',
|
||||||
|
count: 200
|
||||||
|
})
|
||||||
|
const getDesc = useCallback((e) => {
|
||||||
|
let value = e.detail.value
|
||||||
|
let res = value
|
||||||
|
if(value.length > descData.count) {
|
||||||
|
res = value.slice(0, descData.count)
|
||||||
|
}
|
||||||
|
setDescData({...descData, number:res.length, value: res})
|
||||||
|
},[])
|
||||||
return (
|
return (
|
||||||
<View className={styles.apply_after_sales_main}>
|
<View className={styles.apply_after_sales_main}>
|
||||||
<Popup showIconButton={true} show={showDesc} showTitle={false} onClose={() => setShowDesc(false)} >
|
<Popup showIconButton={true} show={showDesc} showTitle={false} onClose={() => setShowDesc(false)} >
|
||||||
@ -94,9 +107,9 @@ export default memo(() => {
|
|||||||
</View>
|
</View>
|
||||||
<View className={styles.other_desc}>
|
<View className={styles.other_desc}>
|
||||||
<View className={styles.title}>其他说明</View>
|
<View className={styles.title}>其他说明</View>
|
||||||
<View className={styles.uploadImg}>
|
<View className={styles.textarea}>
|
||||||
<Textarea placeholder="一般情况下选填,当退货说明=“其它问题”时,必填" cursorSpacing={100}></Textarea>
|
<Textarea placeholder="一般情况下选填,当退货说明=“其它问题”时,必填" cursorSpacing={100} maxlength={descData.count} onInput={(e) => getDesc(e)}></Textarea>
|
||||||
<View className={styles.descDataNum}>0/100</View>
|
<View className={styles.descDataNum}>{descData.number +'/'+ descData.count}</View>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
<View className="common_safe_area_y"></View>
|
<View className="common_safe_area_y"></View>
|
||||||
|
@ -226,7 +226,7 @@ import styles from './index.module.scss'
|
|||||||
<Remark onSave={(e) => getRemark(e)}/>
|
<Remark onSave={(e) => getRemark(e)}/>
|
||||||
</Popup>
|
</Popup>
|
||||||
<Payment onSubmitSuccess={onPaySuccess} show={payMentShow} onClose={closePayShow} orderInfo={payOrderInfo} />
|
<Payment onSubmitSuccess={onPaySuccess} show={payMentShow} onClose={closePayShow} orderInfo={payOrderInfo} />
|
||||||
{/* <ApplyAfterSales/> */}
|
<ApplyAfterSales/>
|
||||||
<View className="common_safe_area_y"></View>
|
<View className="common_safe_area_y"></View>
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,6 @@ import SelectData, {ListProps} from "./components/selectData";
|
|||||||
import { goLink } from "@/common/common";
|
import { goLink } from "@/common/common";
|
||||||
import styles from './searchList.module.scss'
|
import styles from './searchList.module.scss'
|
||||||
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||||
import useManualPullDownRefresh from "@/use/useManualPullDownRefresh";
|
|
||||||
import {GetProductListApi} from "@/api/material"
|
import {GetProductListApi} from "@/api/material"
|
||||||
import Taro, { useDidShow, usePullDownRefresh, useRouter } from "@tarojs/taro";
|
import Taro, { useDidShow, usePullDownRefresh, useRouter } from "@tarojs/taro";
|
||||||
import { formatHashTag, formatImgUrl } from "@/common/fotmat";
|
import { formatHashTag, formatImgUrl } from "@/common/fotmat";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user