mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-13 06:35:41 +08:00
fix: 修复升级后bug、调整编译脚本
This commit is contained in:
13
dev.sh
13
dev.sh
@@ -6,7 +6,7 @@
|
||||
# @FilePath: /unite-vshop/dev.sh
|
||||
# @Date: 2020-06-10 10:15:51
|
||||
# @LastEditors: Arvin
|
||||
# @LastEditTime: 2020-06-11 10:32:14
|
||||
# @LastEditTime: 2020-06-12 14:57:52
|
||||
###
|
||||
#/usr/bash
|
||||
|
||||
@@ -95,6 +95,17 @@ APP_CUSTOM_SERVER='${custom_server}'
|
||||
APP_HOME_PAGE='${home_page}'
|
||||
' > ./.env
|
||||
|
||||
if["$(uname)"=="Darwin"];then
|
||||
|
||||
echo "npm run dev:weapp"
|
||||
|
||||
npm run dev:weapp
|
||||
|
||||
elif["$(expr substr $(uname -s) 1 10)"=="MINGW32_NT"];then
|
||||
|
||||
echo "npm run dev:weapp:windows"
|
||||
|
||||
npm run dev:weapp:windows
|
||||
|
||||
fi
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
"build:h5": "taro build --type h5",
|
||||
"build:rn": "taro build --type rn",
|
||||
"dev:weapp": "NODE_ENV=production npm run build:weapp -- --watch",
|
||||
"dev:weapp:windows": "set NODE_ENV=production && npm run build:weapp -- --watch",
|
||||
"dev:swan": "npm run build:swan -- --watch",
|
||||
"dev:alipay": "npm run build:alipay -- --watch",
|
||||
"dev:tt": "npm run build:tt -- --watch",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import "../../../../style/imports";
|
||||
@import "../../style/imports";
|
||||
|
||||
.order-item {
|
||||
display: flex;
|
||||
@@ -13,7 +13,7 @@ import _cloneDeep from 'lodash/cloneDeep'
|
||||
import CheckoutItems from './checkout-items'
|
||||
import PaymentPicker from './comps/payment-picker'
|
||||
// import DrugInfo from './drug-info'
|
||||
import OrderItem from '../../subpage/pages/trade/comps/order-item'
|
||||
import OrderItem from '../../components/orderItem/order-item'
|
||||
|
||||
import './espier-checkout.scss'
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import Taro, { Component } from '@tarojs/taro'
|
||||
import { View, Text } from '@tarojs/components'
|
||||
import { AtButton } from 'taro-ui'
|
||||
import { copyText } from '@/utils'
|
||||
import OrderItem from './order-item'
|
||||
import OrderItem from '../../../../components/orderItem/order-item'
|
||||
|
||||
import './detail-item.scss'
|
||||
|
||||
@@ -12,7 +12,7 @@ export default class DetailItem extends Component {
|
||||
}
|
||||
|
||||
static defaultProps = {
|
||||
// customHeader: false,
|
||||
// customHeader: false
|
||||
customFooter: false,
|
||||
// customRender: false,
|
||||
// noHeader: false,
|
||||
|
||||
@@ -3,7 +3,7 @@ import { View, Text, Button } from '@tarojs/components'
|
||||
import { connect } from "@tarojs/redux";
|
||||
import { Price } from '@/components'
|
||||
import { classNames } from '@/utils'
|
||||
import OrderItem from './order-item'
|
||||
import OrderItem from '../../../../components/orderItem/order-item'
|
||||
|
||||
import './item.scss'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user