@dcloudio/uni-cli-shared
Advanced tools
Comparing version 0.2.958 to 0.2.959
@@ -233,3 +233,7 @@ const fs = require('fs') | ||
getShadowTemplate (colorType = 'grey') { | ||
return `<cover-image src="https://cdn.dcloud.net.cn/img/shadow-${colorType}.png" style="z-index:998;position:fixed;left:0;top:0;width:100%;height:3px;"/>` | ||
let tagName = 'cover-image' | ||
if (process.env.UNI_PLATFORM === 'mp-toutiao') { | ||
tagName = 'image' | ||
} | ||
return `<${tagName} src="https://cdn.dcloud.net.cn/img/shadow-${colorType}.png" style="z-index:998;position:fixed;left:0;top:0;width:100%;height:3px;"/>` | ||
}, | ||
@@ -236,0 +240,0 @@ getPlatformScss () { |
{ | ||
"name": "@dcloudio/uni-cli-shared", | ||
"version": "0.2.958", | ||
"version": "0.2.959", | ||
"description": "uni-cli-shared", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
40195
981
39