|
|
|
|
@ -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,
|
|
|
|
|
|