fix: 修复升级后bug、调整编译脚本

This commit is contained in:
liuhongxu
2020-06-12 14:59:16 +08:00
parent 99f66eb3e1
commit 9b8ba9615a
7 changed files with 18 additions and 6 deletions

13
dev.sh
View File

@@ -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

View File

@@ -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",

View File

@@ -1,4 +1,4 @@
@import "../../../../style/imports";
@import "../../style/imports";
.order-item {
display: flex;

View File

@@ -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'

View File

@@ -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,

View File

@@ -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'