fenggang 5 年之前
父節點
當前提交
a8a7decf84

+ 2 - 2
components/award-item/award-item.wxss

@@ -19,8 +19,8 @@
 .award-btn {
   position: absolute;
   background-color: #2d8cf0;
-  right: 15rpx;
-  bottom: 25rpx;
+  right:0rpx;
+  bottom:130rpx;
   color: #fff;
   font-size: 24rpx;
   box-sizing: border-box;

+ 2 - 1
pages/award-detail/award-detail.js

@@ -1,6 +1,6 @@
 const WP = require('../../lib/wxParse/wxParse.js')
 const { getLotteryDetail, drawLottery, invite } = require('../../utils/API.js')
-const USER_INFO = wx.getStorageSync('USER_INFO')
+
 const NOTICE = `Lucky Maker作为提供抽奖服务的平台, 不对第三方发起人行为承担任何责任。活动奖品均由发起人提供并派发,Lucky Maker会在法律范围内尽可能地规范实行抽奖活动,感谢支持。`
 
 Page({
@@ -91,6 +91,7 @@ Page({
   },
 	onLoad(query) {
     wx.showLoading({title: '加载中', mask: true})
+    const USER_INFO = wx.getStorageSync('USER_INFO')
     if(!USER_INFO) {
       wx.navigateTo({url: '/pages/login/login'})
     }

+ 0 - 1
pages/award-detail/award-detail.wxml

@@ -1,6 +1,5 @@
 <import src="../../lib/wxParse/wxParse.wxml"></import>
 <view class="award-detail">
-<button type="default" bindtap="test">测试公众号页面</button>
   <view class="banner-wrapper">
     <swiper class="swiper" current="{{swiperIndex}}">
       <block wx:for="{{cover_images}}" wx:key="{{item}}">

+ 1 - 1
project.config.json

@@ -4,7 +4,7 @@
 		"ignore": []
 	},
 	"setting": {
-		"urlCheck": true,
+		"urlCheck": false,
 		"es6": true,
 		"postcss": true,
 		"minified": true,