Commit 2665be03 by 黄日华

修复新界面兼容问题

parent d3399471
src/assets/Vertical/guide.jpg

32.1 KB | W: | H:

src/assets/Vertical/guide.jpg

67.4 KB | W: | H:

src/assets/Vertical/guide.jpg
src/assets/Vertical/guide.jpg
src/assets/Vertical/guide.jpg
src/assets/Vertical/guide.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -677,7 +677,7 @@ class VerticalPage extends Component { ...@@ -677,7 +677,7 @@ class VerticalPage extends Component {
{goodsArr.length === 0 && stype === 'guard' ? ( {goodsArr.length === 0 && stype === 'guard' ? (
<View style={styles.guardModal}> <View style={styles.guardModal}>
<View style={styles.guardModal_image}> <View style={styles.guardModal_image}>
<Image style={styles.Imageee} source={guide} /> <Image style={styles.cImage} source={guide} />
</View> </View>
<View style={styles.guardModal_button}> <View style={styles.guardModal_button}>
<View <View
...@@ -1769,13 +1769,18 @@ const styles = { ...@@ -1769,13 +1769,18 @@ const styles = {
backgroundColor: '#0C0C0C', backgroundColor: '#0C0C0C',
}, },
guardModal_image: { guardModal_image: {
width: '100%',
height: '60%', height: '60%',
display: 'flex', display: 'flex',
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
padding: 0,
margin: 0,
backgroundColor: '#ccc',
}, },
Imageee: { cImage: {
height: '100%', height: '100%',
resizeMode: 'contain',
}, },
guardModal_button: { guardModal_button: {
width: '100%', width: '100%',
......
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 to comment