main
xy 2 years ago
parent 0c86b927dc
commit 7b8f75d275

@ -1,5 +1,4 @@
<script>
const jwx = require('jweixin-module')
export default {
onLaunch: function() {
console.log('App Launch')

@ -1,5 +1,5 @@
{
"name" : "uni",
"name" : "赏金摇奖",
"appid" : "__UNI__B3D2FD0",
"description" : "",
"versionName" : "1.0.0",

@ -43,7 +43,7 @@
</view>
<view class="login-validate">
<u-input v-model="code" placeholder-style="color:#969696" :custom-style="{ 'color': '#333333' }" @input="$u.debounce(bindMobile, 1000)"></u-input>
<u-input placeholder="请填写验证码" :maxlength="4" v-model="code" placeholder-style="color:#969696" :custom-style="{ 'color': '#333333' }" @input="$u.debounce(bindMobile, 1000)"></u-input>
<u-verification-code :keep-running="true" :seconds="60" ref="uCode" start-text=""
@change="t => tips = t"></u-verification-code>
<u-button :ripple="true" :hair-line="false" :custom-style="btnStyle" shape="circle" @click="sendCode">{{ tips }}</u-button>
@ -276,8 +276,8 @@ import popover from "@/component/popover/index.vue";
&-phone {
height: 70rpx;
background: #E2DFD6;
opacity: 0.3;
background: rgba(226, 223, 214, 0.3);
opacity: .9;
border-radius: 34rpx;
display: flex;
align-items: center;
@ -298,8 +298,8 @@ import popover from "@/component/popover/index.vue";
}
&-validate {
height: 70rpx;
background: #E2DFD6;
opacity: 0.3;
background: rgba(226, 223, 214, 0.3);
opacity: .9;
border-radius: 34rpx;
display: flex;
align-items: center;

@ -28,7 +28,7 @@
</view>
<view class="raffle-box__turntable">
<view v-for="(item,index) in prizeList" class="raffle-box__turntable--item" :style="{ 'grid-area': 'shop'+(index+1) }">
<view v-for="(item,index) in prizeList" :key="index" class="raffle-box__turntable--item" :style="{ 'grid-area': 'shop'+(index+1) }">
<view class="item-shop">
<view class="item-shop__box" :style="{ 'background': index === flag ? '#eb5036' : '' }">
<view class="item-shop__box--img">
@ -116,7 +116,7 @@
v: '下载“视界观”App',
b: '去下载'
}
]">
]" :key="index">
<view>{{ item.v }}</view>
<u-button :custom-style="{
background: '#FFD553',
@ -174,8 +174,8 @@
</template>
<script>
const jwx = require('jweixin-module')
import popover from "@/component/popover/index.vue";
import jwx from "jweixin-module";
export default {
components: {
popover
@ -199,7 +199,7 @@ export default {
url
}).then(res => {
jwx.config({
debug: true, // , api alert pc log pc
debug: false, // , api alert pc log pc
appId: res.appId,
jsApiList: res.jsApiList,
nonceStr: res.nonceStr,

Loading…
Cancel
Save