Browse Source

修复图片不显示问题

master
kuaileWu 3 months ago
parent
commit
5911469b47
  1. 2
      pages/prebook/prebook.vue
  2. 1
      static/images/gou.svg

2
pages/prebook/prebook.vue

@ -127,7 +127,7 @@
uni.showToast({
title:"成功预约"+this.chooseVisitorCount+"人",
mask:true,
image:that.cssUrl+'gou.svg',
image:'/static/images/gou.svg',
times:false,
success() {
setTimeout(function(){

1
static/images/gou.svg

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" width="38px" height="38px" viewBox="0 0 38.0 38.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><clipPath id="i0"><path d="M2248,0 L2248,2863 L0,2863 L0,0 L2248,0 Z"></path></clipPath><clipPath id="i1"><path d="M19,0 C29.4932778,0 38,8.50672223 38,19 C38,29.4932778 29.4932778,38 19,38 C8.50672223,38 0,29.4932778 0,19 C0,8.50672223 8.50672223,0 19,0 Z M30.365619,11.3995609 C29.9384503,11.3995609 29.5293622,11.5719668 29.2310476,11.8777143 L15.7247619,23.7011429 L10.4373333,18.3811429 C10.1356871,18.0774793 9.72535437,17.9067123 9.29733333,17.9067123 C8.8693123,17.9067123 8.45897955,18.0774793 8.15733333,18.3811429 C7.54100419,19.0203996 7.54100419,20.0327432 8.15733333,20.672 L14.6390476,27.1211429 C14.9254899,27.4148898 15.3146711,27.5861295 15.7247619,27.5988571 C16.1530145,27.5967925 16.5629746,27.4249997 16.8647619,27.1211429 L31.5001905,14.1577143 C31.803854,13.8560681 31.9746211,13.4457353 31.9746211,13.0177143 C31.9746211,12.5896933 31.803854,12.1793605 31.5001905,11.8777143 C31.2018759,11.5719668 30.7927878,11.3995609 30.365619,11.3995609 Z"></path></clipPath></defs><g transform="translate(-916.0 -191.0)"><g clip-path="url(#i0)"><g transform="translate(863.0 158.0)"><g transform="translate(53.0 33.0)"><g clip-path="url(#i1)"><polygon points="0,0 38,0 38,38 0,38 0,0" stroke="none" fill="#D9D9D9"></polygon></g></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

Loading…
Cancel
Save