Commit a07a0138 authored by zhijie.xue's avatar zhijie.xue

修复语法问题

parent f582a698
function isLuckiiResource(url) { function isLuckiiResource(url) {
return url && url.indexOf('luckiistatic.q-gp.com') !== -1 return url && (url.indexOf('luckiistatic.q-gp.com') !== -1)
} }
function lottery(url) { function lottery(url) {
...@@ -13,10 +13,10 @@ function prize(url) { ...@@ -13,10 +13,10 @@ function prize(url) {
if (isLuckiiResource(url)) { if (isLuckiiResource(url)) {
return url + '?imageMogr2/format/webp/blur/1x0/quality/75'; return url + '?imageMogr2/format/webp/blur/1x0/quality/75';
} }
return url return url;
}
module.exports = { module.exports = {
lottery: lottery, lottery: lottery,
prize: prize prize: prize
} };
\ No newline at end of file
...@@ -252,8 +252,8 @@ ...@@ -252,8 +252,8 @@
</view> </view>
</view> </view>
</view> </view>
</template>
<wxs module="ic" src="../common/imageCompress.wxs"></wxs> <wxs module="ic" src="../common/imageCompress.wxs"></wxs>
</template>
<script> <script>
import wepy from '@wepy/core'; import wepy from '@wepy/core';
import Notify from '../components/vant/notify/notify'; import Notify from '../components/vant/notify/notify';
......
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 to comment