Commit e442ec08 by hank

bug

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