mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-12 06:15:38 +08:00
添加支付宝mini.project.json
This commit is contained in:
@@ -38,6 +38,9 @@ if (process.env.TARO_ENV != 'h5') {
|
||||
if (process.env.TARO_ENV == 'h5') {
|
||||
copyPatterns.push({ from: 'src/files', to: `${DIST_PATH}` })
|
||||
}
|
||||
if(process.env.TARO_ENV == 'alipay') {
|
||||
copyPatterns.push({ from: 'mini.project.json', to: `${DIST_PATH}/mini.project.json` })
|
||||
}
|
||||
|
||||
const config = {
|
||||
projectName: pkg.name,
|
||||
|
||||
3
mini.project.json
Normal file
3
mini.project.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"enableAppxNg": true
|
||||
}
|
||||
@@ -103,7 +103,7 @@
|
||||
}
|
||||
.goods-item-wrap {
|
||||
margin-bottom: 20px;
|
||||
box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
|
||||
// box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 2px;
|
||||
}
|
||||
.sp-goods-item {
|
||||
|
||||
@@ -107,8 +107,8 @@ function NearlyShop(props) {
|
||||
|
||||
// 定位
|
||||
const getLocationInfo = async () => {
|
||||
setState((v) => {
|
||||
v.locationIng = true
|
||||
setState((draft) => {
|
||||
draft.locationIng = true
|
||||
})
|
||||
setPolicyModal(false)
|
||||
await entryLaunch.isOpenPosition(async (res) => {
|
||||
@@ -118,17 +118,15 @@ function NearlyShop(props) {
|
||||
v.shopList = []
|
||||
v.keyword = ''
|
||||
v.name = ''
|
||||
// v.type = 0
|
||||
v.search_type = undefined
|
||||
})
|
||||
console.log('getLocationInfo 重新定位',)
|
||||
shopRef.current.reset()
|
||||
}
|
||||
})
|
||||
|
||||
setState((v) => {
|
||||
v.locationIng = false
|
||||
v.type = 2
|
||||
setState((draft) => {
|
||||
draft.locationIng = false
|
||||
draft.type = 2
|
||||
})
|
||||
}
|
||||
|
||||
@@ -258,7 +256,7 @@ function NearlyShop(props) {
|
||||
</View>
|
||||
<View className='block-title block-flex'>
|
||||
<View>我的收货地址</View>
|
||||
{!address && (
|
||||
{address && (
|
||||
<View
|
||||
className='arrow'
|
||||
onClick={() =>
|
||||
|
||||
Reference in New Issue
Block a user