Commit 0b38e148 by Denglingling

更新 版本 1.1.4

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