如題
該圖片是在APP放大預(yù)覽
第一步,在該uniapp應(yīng)用市場https://ext.dcloud.net.cn/plugin?id=805下載該插件,點(diǎn)下載插件zip
第二步,把components下的mp-html復(fù)制到view/uni-app/components下方
第三步,打開view/uni-app\pages\goods_details\index.vue
搜索產(chǎn)品介紹
把 ?
? ?
? ?
? ?刪除加上
??
?>?
第四步
在
import menuIcon from "@/components/menuIcon.vue";
下方增加
import mpHtml from "@/components/mp-html/mp-html";
這一句
和在
productConSwiper,下方增加
mpHtml,
這一句即可
這樣在APP就可以預(yù)覽圖片
第五步,如果還不會,就把附加解壓到uniapp\pages\goods_details文件夾
mp-html解壓到components
