Commit e442ec08 by hank

bug

parent cf4c3cf7
...@@ -2,14 +2,7 @@ import api from '@/api/index' ...@@ -2,14 +2,7 @@ import api from '@/api/index'
import { ComponentClass } from 'react' import { ComponentClass } from 'react'
import { showMyToast } from '@/common/utils' import { showMyToast } from '@/common/utils'
import Taro, { Component, Config } from '@tarojs/taro' import Taro, { Component, Config } from '@tarojs/taro'
import { import { View, Text, Input, RichText, Image, ScrollView, Button } from '@tarojs/components'
View,
Text,
Input,
Image,
ScrollView,
Button,
} from '@tarojs/components'
import './index.scss' import './index.scss'
...@@ -118,13 +111,18 @@ class DeviceDetail extends Component { ...@@ -118,13 +111,18 @@ class DeviceDetail extends Component {
<Image className="item-img" src={equipmentUrl} /> <Image className="item-img" src={equipmentUrl} />
</View> </View>
<View className="item-detail"> <View className="item-detail">
{ <RichText nodes={equipmentDetails}>equipmentDetails</RichText>
equipmentDetails {/* {equipmentDetails} */}
}
</View> </View>
</View> </View>
<Button type="primary" className="bottom-btn" onClick={() => {this.buyDevice()}}> <Button
type="primary"
className="bottom-btn"
onClick={() => {
this.buyDevice()
}}
>
购买 购买
</Button> </Button>
</ScrollView> </ScrollView>
......
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