刘翔宇-旅管家 3 years ago
commit 93787f7a7c

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

@ -43,7 +43,7 @@
</view> </view>
<view class="login-validate"> <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="" <u-verification-code :keep-running="true" :seconds="60" ref="uCode" start-text=""
@change="t => tips = t"></u-verification-code> @change="t => tips = t"></u-verification-code>
<u-button :ripple="true" :hair-line="false" :custom-style="btnStyle" shape="circle" @click="sendCode">{{ tips }}</u-button> <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 { &-phone {
height: 70rpx; height: 70rpx;
background: #E2DFD6; background: rgba(226, 223, 214, 0.3);
opacity: 0.3; opacity: .9;
border-radius: 34rpx; border-radius: 34rpx;
display: flex; display: flex;
align-items: center; align-items: center;
@ -298,8 +298,8 @@ import popover from "@/component/popover/index.vue";
} }
&-validate { &-validate {
height: 70rpx; height: 70rpx;
background: #E2DFD6; background: rgba(226, 223, 214, 0.3);
opacity: 0.3; opacity: .9;
border-radius: 34rpx; border-radius: 34rpx;
display: flex; display: flex;
align-items: center; align-items: center;

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

Loading…
Cancel
Save