Commit 07717137 by Denglingling

更新 版本 1.1.4

parent 8cb22ec3
...@@ -8,7 +8,7 @@ import LoginPage from './containers/login/LoginPage'; ...@@ -8,7 +8,7 @@ import LoginPage from './containers/login/LoginPage';
import HomePage from './containers/home/HomePage'; import HomePage from './containers/home/HomePage';
import SelfOrderPage from './containers/selfOrder/SelfOrderPage'; import SelfOrderPage from './containers/selfOrder/SelfOrderPage';
import ChooseProductPage from './containers/selfOrder/module/ChooseProductPage'; import ChooseProductPage from './containers/selfOrder/module/ChooseProductPage';
import EditStencilPage from './containers/selfOrder/module/EditStencilPage'; import EditThirdLevelPage from './containers/selfOrder/module/EditThirdLevelPage';
import SubSuccessPage from './containers/selfOrder/module/SubSuccessPage'; import SubSuccessPage from './containers/selfOrder/module/SubSuccessPage';
import EquipConsuPage from './containers/equipConsu/EquipConsuPage'; import EquipConsuPage from './containers/equipConsu/EquipConsuPage';
import ConsumDetailsPage from './containers/equipConsu//module/ConsumDetailsPage'; import ConsumDetailsPage from './containers/equipConsu//module/ConsumDetailsPage';
...@@ -30,7 +30,7 @@ const Router = createAppContainer(createStackNavigator({ ...@@ -30,7 +30,7 @@ const Router = createAppContainer(createStackNavigator({
HomePage: {screen: HomePage}, HomePage: {screen: HomePage},
SelfOrderPage: {screen: SelfOrderPage}, SelfOrderPage: {screen: SelfOrderPage},
ChooseProductPage: {screen: ChooseProductPage}, ChooseProductPage: {screen: ChooseProductPage},
EditStencilPage: {screen: EditStencilPage}, EditThirdLevelPage: {screen: EditThirdLevelPage},
SubSuccessPage: {screen: SubSuccessPage}, SubSuccessPage: {screen: SubSuccessPage},
EquipConsuPage: {screen: EquipConsuPage}, EquipConsuPage: {screen: EquipConsuPage},
ConsumDetailsPage: {screen: ConsumDetailsPage}, ConsumDetailsPage: {screen: ConsumDetailsPage},
......
...@@ -45,7 +45,7 @@ class LoginPage extends Component{ ...@@ -45,7 +45,7 @@ class LoginPage extends Component{
subTitList: ['登录', '登录中...'], subTitList: ['登录', '登录中...'],
isSubLoding: false, isSubLoding: false,
isShowDomain: false, // 域名填写 isShowDomain: false, // 域名填写
version_apk: 'v1.1.3' version_apk: 'v1.1.4'
} }
} }
......
...@@ -49,7 +49,7 @@ class ChooseProductPage extends Component { ...@@ -49,7 +49,7 @@ class ChooseProductPage extends Component {
topActiveIndex: 0, topActiveIndex: 0,
topProcOptionList: [], // 顶部厂家信息 topProcOptionList: [], // 顶部厂家信息
leftActiveIndex: 0, leftActiveIndex: 0,
stencilData: [], rightSecondData: [],
leftOptionList: [], // 左侧分类数据 leftOptionList: [], // 左侧分类数据
defaultThridShow: false, // 默认人体髋关节-小类不显示 defaultThridShow: false, // 默认人体髋关节-小类不显示
selectShowPopup: false, // 共计已选弹窗 selectShowPopup: false, // 共计已选弹窗
...@@ -68,7 +68,6 @@ class ChooseProductPage extends Component { ...@@ -68,7 +68,6 @@ class ChooseProductPage extends Component {
// 顶部产品点击 // 顶部产品点击
handleTopNav(item, index) { handleTopNav(item, index) {
console.warn('top产品--',item, index) console.warn('top产品--',item, index)
// let {topActiveIndex} = this.state
this.setState({ this.setState({
topActiveIndex: index topActiveIndex: index
}) })
...@@ -76,11 +75,11 @@ class ChooseProductPage extends Component { ...@@ -76,11 +75,11 @@ class ChooseProductPage extends Component {
// 左侧标题点击 // 左侧标题点击
handleLeftNav(item, index) { handleLeftNav(item, index) {
console.warn('手术模板--', index, item) console.warn('左侧标题--', index, item)
let {leftOptionList} = this.state let {leftOptionList} = this.state
this.setState({ this.setState({
leftActiveIndex: index, leftActiveIndex: index,
stencilData: leftOptionList[index].stencilData rightSecondData: leftOptionList[index].localSecondData // 本地数据
}) })
} }
...@@ -198,9 +197,9 @@ class ChooseProductPage extends Component { ...@@ -198,9 +197,9 @@ class ChooseProductPage extends Component {
) )
} }
// 返回底部主要元素 // 返回右侧二级元素
renderContItem() { renderContItem() {
let { leftActiveIndex, defaultThridShow, stencilData } = this.state let { leftActiveIndex, defaultThridShow, rightSecondData } = this.state
return ( return (
<View style={styles.cont_bom_box}> <View style={styles.cont_bom_box}>
{ this.renderContLeftItem() } { this.renderContLeftItem() }
...@@ -212,7 +211,7 @@ class ChooseProductPage extends Component { ...@@ -212,7 +211,7 @@ class ChooseProductPage extends Component {
superIndex={leftActiveIndex} superIndex={leftActiveIndex}
defaultThridShow={defaultThridShow} defaultThridShow={defaultThridShow}
changeThrShow={(defaultThridShow) => this.handleChangeThrShow(defaultThridShow)} changeThrShow={(defaultThridShow) => this.handleChangeThrShow(defaultThridShow)}
superStencilData={stencilData} superStencilData={rightSecondData}
/> />
</View> </View>
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment