當前方案中需要在nginx location中添加如下配置:
subs_filter </body> '<style>body{ filter: grayscale(1); }</style></body>';
當前方案需要確保nginx有subs_filter模塊。
如果nginx沒有該模塊,則需要前端自己修改單獨項目css文件代碼實現(xiàn),下載當前郵件中的附件樣式表,在index.html中加載該樣式表。
當前方案兼容除IE外所有瀏覽器
當前方案中需要在nginx location中添加如下配置:
subs_filter </body> '<style>body{ filter: grayscale(1); }</style></body>';
當前方案需要確保nginx有subs_filter模塊。
如果nginx沒有該模塊,則需要前端自己修改單獨項目css文件代碼實現(xiàn),下載當前郵件中的附件樣式表,在index.html中加載該樣式表。
當前方案兼容除IE外所有瀏覽器