Browse Source

824second

master
fan 4 years ago
parent
commit
1c810c8d3b
  1. 68
      components/switch/switch.vue
  2. 39
      package-lock.json
  3. 29
      pages.json
  4. 26
      pages/menu/My/index.css
  5. 156
      pages/menu/My/index.vue
  6. 57
      pages/menu/about/RiskDisclosureAGREEMENT.vue
  7. 57
      pages/menu/about/privacyPolicy.vue
  8. 18
      pages/menu/color/index.vue
  9. 853
      pages/menu/colorMoni/index.css
  10. 877
      pages/menu/colorMoni/index.vue
  11. 66
      pages/menu/goods/goodsDetail/index.css
  12. 39
      pages/menu/goods/goodsDetail/index.vue
  13. 20
      pages/menu/search/index.css
  14. 44
      pages/menu/search/index.vue
  15. BIN
      static/home/[email protected]
  16. BIN
      static/tabbar/[email protected]
  17. BIN
      static/tabbar/[email protected]
  18. BIN
      static/tabbar/[email protected]
  19. BIN
      static/tabbar/[email protected]
  20. 4
      unpackage/dist/dev/app-plus/app-config-service.js
  21. 16360
      unpackage/dist/dev/app-plus/app-service.js
  22. 10100
      unpackage/dist/dev/app-plus/app-view.js
  23. 2
      unpackage/dist/dev/app-plus/manifest.json
  24. BIN
      unpackage/dist/dev/app-plus/static/home/[email protected]
  25. BIN
      unpackage/dist/dev/app-plus/static/tabbar/[email protected]
  26. BIN
      unpackage/dist/dev/app-plus/static/tabbar/[email protected]
  27. BIN
      unpackage/dist/dev/app-plus/static/tabbar/[email protected]
  28. BIN
      unpackage/dist/dev/app-plus/static/tabbar/[email protected]
  29. 12
      utils/api.js

68
components/switch/switch.vue

@ -0,0 +1,68 @@
<template>
<view class="index-header">
<view class="item" :class="switNum==1?'active':''" @click="goColor()">
Real Dish
</view>
<view class="item" :class="switNum==2?'active':''" @click="goMoniColor()">
Virtual Disk
</view>
</view>
</template>
<script>
const COMPONENT_NAME = 'swit'
export default {
name: COMPONENT_NAME,
props:{
switNum: {
type: Number,
}
},
data() {
return {
switNum:1,
}
},
computed: {
},
mounted() {
},
methods: {
goColor(){
uni.reLaunch({
url:'../../../pages/menu/color/index'
})
},
goMoniColor(){
uni.reLaunch({
url:'../../../pages/menu/colorMoni/index'
})
}
},
}
</script>
<style scoped lang="scss">
.index-header{
display: flex;
align-items: center;
justify-content: space-between;
background-color: #300261;
.item{
width: 50%;
text-align: center;
font-size: 32rpx;
color: rgba($color: #fff, $alpha: .5);
line-height: 108rpx;
}
}
.active{
color: #FFFFFF !important;
border-bottom: 4rpx solid #954DE3;
}
</style>

39
package-lock.json

@ -4,16 +4,16 @@
"dependencies": {
"axios": {
"version": "0.21.1",
"resolved": "https://registry.nlark.com/axios/download/axios-0.21.1.tgz",
"integrity": "sha1-IlY0gZYvTWvemnbVFu8OXTwJsrg=",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz",
"integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==",
"requires": {
"follow-redirects": "^1.10.0"
}
},
"clipboard": {
"version": "2.0.8",
"resolved": "https://registry.npm.taobao.org/clipboard/download/clipboard-2.0.8.tgz?cache=0&sync_timestamp=1615409953598&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fclipboard%2Fdownload%2Fclipboard-2.0.8.tgz",
"integrity": "sha1-/8bBA90pZ6gwBfP2GXaqRlWkzbo=",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.8.tgz",
"integrity": "sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==",
"requires": {
"good-listener": "^1.2.2",
"select": "^1.1.2",
@ -22,41 +22,46 @@
},
"delegate": {
"version": "3.2.0",
"resolved": "https://registry.nlark.com/delegate/download/delegate-3.2.0.tgz",
"integrity": "sha1-tmtxwxWFIuirV0T3INjKDCr1kWY="
"resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",
"integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw=="
},
"follow-redirects": {
"version": "1.14.1",
"resolved": "https://registry.nlark.com/follow-redirects/download/follow-redirects-1.14.1.tgz?cache=0&sync_timestamp=1620555300559&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.14.1.tgz",
"integrity": "sha1-2RFN7Qoc/dM04WTmZirQK/2R/0M="
"version": "1.14.2",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.2.tgz",
"integrity": "sha512-yLR6WaE2lbF0x4K2qE2p9PEXKLDjUjnR/xmjS3wHAYxtlsI9MLLBJUZirAHKzUZDGLxje7w/cXR49WOUo4rbsA=="
},
"good-listener": {
"version": "1.2.2",
"resolved": "https://registry.npm.taobao.org/good-listener/download/good-listener-1.2.2.tgz",
"resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
"integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",
"requires": {
"delegate": "^3.1.2"
}
},
"i": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/i/-/i-0.3.6.tgz",
"integrity": "sha1-2WyScyB28HJxG2sQ/X1PZa2O4j0="
},
"js-md5": {
"version": "0.7.3",
"resolved": "https://registry.nlark.com/js-md5/download/js-md5-0.7.3.tgz",
"integrity": "sha1-tPL7sLMnRV9ZjWcn447Ccs0Jw/I="
"resolved": "https://registry.npmjs.org/js-md5/-/js-md5-0.7.3.tgz",
"integrity": "sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ=="
},
"select": {
"version": "1.1.2",
"resolved": "https://registry.nlark.com/select/download/select-1.1.2.tgz",
"resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",
"integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0="
},
"tiny-emitter": {
"version": "2.1.0",
"resolved": "https://registry.nlark.com/tiny-emitter/download/tiny-emitter-2.1.0.tgz",
"integrity": "sha1-HRpW7fxRxD6GPLtTgqcjMONVVCM="
"resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
"integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q=="
},
"vue-clipboard2": {
"version": "0.3.1",
"resolved": "https://registry.npm.taobao.org/vue-clipboard2/download/vue-clipboard2-0.3.1.tgz",
"integrity": "sha1-blUft704SImyiw2jsSKJ7WvKSJQ=",
"resolved": "https://registry.npmjs.org/vue-clipboard2/-/vue-clipboard2-0.3.1.tgz",
"integrity": "sha512-H5S/agEDj0kXjUb5GP2c0hCzIXWRBygaWLN3NEFsaI9I3uWin778SFEMt8QRXiPG+7anyjqWiw2lqcxWUSfkYg==",
"requires": {
"clipboard": "^2.0.0"
}

29
pages.json

@ -9,6 +9,21 @@
"style": {
}
},
{
"path": "pages/menu/about/RiskDisclosureAGREEMENT",
"style": {
}
},
{
"path": "pages/menu/about/privacyPolicy",
"style": {
}
},
{
"path": "pages/menu/search/index",
"style": {
}
},
{
"path": "pages/menu/goods/index",
"style": {
@ -48,6 +63,12 @@
}
},
{
"path": "pages/menu/colorMoni/index",
"style": {
}
},
{
"path": "pages/menu/promotion/applyRecord/index",
"style": {
@ -185,10 +206,16 @@
{
"text":"Home",
"pagePath":"pages/menu/goods/index",
"iconPath":"./static/tabbar/meun_icon_home_sel@3x.png",
"iconPath":"./static/tabbar/meun_icon_home_nor@3x.png",
"selectedIconPath":"./static/tabbar/[email protected]"
},
{
"text":"Search",
"pagePath":"pages/menu/search/index",
"iconPath":"./static/tabbar/[email protected]",
"selectedIconPath":"./static/tabbar/[email protected]"
},
{
"text":"Game",
"pagePath":"pages/menu/color/index",
"iconPath":"./static/tabbar/[email protected]",

26
pages/menu/My/index.css

@ -87,7 +87,6 @@ margin-left: 24rpx;
color: #fff;
}
.my-body{
padding: 0 36rpx;
background-color: #FFFFFF;
}
.my-body-item{
@ -98,20 +97,43 @@ margin-left: 24rpx;
font-size: 30rpx;
text-transform: capitalize;
position: relative;
padding: 0 36rpx;
}
.my-body-item:last-child{
border-bottom: none;
}
.erji{
max-height: 0;
height: auto;
overflow: hidden;
transition: all .5s;
opacity: 0;
padding: 0 36rpx;
background-color: #F8F8F8;
}
.activeErji .erji{
opacity: 1;
max-height: 600rpx;
}
.erji .text{
line-height: 90rpx;
font-size: 30rpx;
color: #000000;
}
.my-body-item::before{
content: '';
width: 28rpx;
transition: .5s all;
height: 28rpx;
background: url(../../../static/home/top_icon_ins.png)no-repeat;
position: absolute;
right: 0;
right: 50rpx;
top: 50%;
transform: translateY(-50%);
}
.activeErji .my-body-item::before{
transform: translateY(-50%) rotate(90deg);
}
.my-body-out{
text-align: center;
color: #303133FF;

156
pages/menu/My/index.vue

@ -14,12 +14,6 @@
<text class="my-id">
ID: {{MyInfo.userId}}
</text>
<text class="my-id">
Sex:
<text v-if="MyInfo.sex==-1">unknown</text>
<text v-if="MyInfo.sex==1">male</text>
<text v-if="MyInfo.sex==2">female</text>
</text>
</view>
</view>
<view class="my-b">
@ -37,8 +31,8 @@
<view class="my-btn1" @click="goRecharge()">
recharge
</view>
<view class="my-btn2" @click="goWithdraw">
Withdraw
<view class="my-btn2" @click="go(3)">
Change Nick Name
</view>
</view>
</view>
@ -47,10 +41,39 @@
<view class="my-bg">
<view class="my-body">
<view class="fuji" :class="fujiNum==1?'activeErji':''" @click="fuji()">
<view class="my-body-item">
Wallet
</view>
<view class="erji">
<view class="text" @click="goRecharge()">
Recharge
</view>
<view class="text" @click="goWithdraw()">
Withdrawal
</view>
<view class="text" @click="goTransactions()">
Transactions
</view>
</view>
</view>
<view class="my-body-item" v-for="(item,index) in myAList" :key="item.id" @click="go(item.id)">
{{item.text}}
</view>
<view class="fuji" :class="fujiNum2==2?'activeErji':''" @click="fuji2()">
<view class="my-body-item">
About
</view>
<view class="erji">
<view class="text" @click="goPrivacy()">
Privacy Policy
</view>
<view class="text" @click="goRisk()">
Risk Disclosure Agreement
</view>
</view>
</view>
</view>
<view class="my-body-out" @click="logout">
logout
@ -81,32 +104,6 @@
</view>
</view>
<!-- 修改性别 -->
<view class="tc" v-show="transferCode==2">
<view class="title">
change sex
</view>
<view class="tc_body">
<u-radio-group v-model="newSex">
<u-radio
v-for="(item, index) in list" :key="index"
:name="item.value"
:disabled="item.disabled"
>
{{item.name}}
</u-radio>
</u-radio-group>
</view>
<view class="anniu_con flex">
<view class="cancel" @click="transferCode=0">
cancel
</view>
<view class="cancel pupler" @click="changeSex()">
confirm
</view>
</view>
</view>
@ -120,6 +117,11 @@
export default {
data() {
return {
//
i:0,
i2:0,
fujiNum:-1,
fujiNum2:-1,
// mask
mCode:-1,
list: [
@ -135,20 +137,12 @@
},
],
newName: '',
newSex: '1',
MyInfo: {},
transferCode: 0,
currentBalance: '',
areaCode: '',
androidUrl: '',
myAList: [{
id: '3',
text: 'Change Nick Name'
},
{
id:'0',
text:'Change Sex'
},
myAList: [
{
id: '1',
text: 'Bank card'
@ -157,6 +151,10 @@
id: '2',
text: 'Address'
},
{
id: '3',
text: 'Orders'
},
{
id: '4',
text: 'Reset password'
@ -198,8 +196,32 @@
})
},
methods: {
radioChange(){
console.log(this.newSex,33333)
goPrivacy(){
uni.navigateTo({
url:'../about/privacyPolicy'
})
},
goRisk(){
uni.navigateTo({
url:'../about/RiskDisclosureAGREEMENT'
})
},
//
fuji(){
this.fujiNum=1;
this.i++;
if(this.i%2==0){
this.i=0;
this.fujiNum=-1;
}
},
fuji2(){
this.fujiNum2=2;
this.i2++;
if(this.i2%2==0){
this.i2=0;
this.fujiNum2=-1;
}
},
//
go(i) {
@ -281,43 +303,6 @@
},
changeSex() {
console.log(this.newSex)
uni.showLoading({
title: "loading"
})
const post = api.updateGender({
"ticket": uni.getStorageSync('logInfo').data,
"gender": this.newSex,
})
post.then(res => {
if (res.success == true) {
uni.showToast({
title: 'Modified successfully',
icon: 'success',
duration: 1500
})
setTimeout(function() {
location.reload();
}, 1000)
} else {
uni.showToast({
title: 'Modification failed',
icon: 'none',
duration: 1500
})
}
})
.catch(e => {
uni.showToast({
title: e,
icon: 'none',
duration: 2500
})
})
},
goRecharge() {
uni.navigateTo({
url: '../recharge/index'
@ -328,6 +313,11 @@
url: '../withdrawl/index'
})
},
goTransactions(){
uni.navigateTo({
url: '../withdrawl/transactions/index'
})
},
logout() {
const param = {
"ticket": uni.getStorageSync('logInfo').data,

57
pages/menu/about/RiskDisclosureAGREEMENT.vue

@ -0,0 +1,57 @@
<template>
<view class="content">
<navigation>
Risk Disclosure AGREEMENT
</navigation>
<view class="arcon">
<view class="record_body">
A+ Plan is an lnternet online wealth manage ment product launched by NGNClub.NGNC lub users can transfer idle funds in NGNClu b account to A+ Plan to obtain daily income of 0.5% to 1%. For example, if you deposit 10,000 today, you will receive tomorrow 50 to100 income. The funds of A+ Plan can be tr ansferred in and out at any time without affe cting your use. You can choose to transfer t he account funds in to obtain income when you are not playing, such as when you are s leeping and resting
</view>
<view class="record_body">
Transfer-in amount: minimum 1000 naira<br>
Income settlement time: After midnight the n ext day
</view>
</view>
</view>
</template>
<script>
import api from '@/utils/api'
import utils from '@/utils'
import cont from "@/components/navigation/navigation.vue"
export default{
data(){
return{
}
},
onLoad() {
},
methods:{
},
}
</script>
<style>
.arcon{
padding: 0 36rpx;
padding-top: 70rpx;
}
.record_body{
color: #303133FF;
line-height: 48rpx;
font-size: 28rpx;
text-transform: capitalize;
}
</style>

57
pages/menu/about/privacyPolicy.vue

@ -0,0 +1,57 @@
<template>
<view class="content">
<navigation>
Privacy Policy
</navigation>
<view class="arcon">
<view class="record_body">
A+ Plan is an lnternet online wealth manage ment product launched by NGNClub.NGNC lub users can transfer idle funds in NGNClu b account to A+ Plan to obtain daily income of 0.5% to 1%. For example, if you deposit 10,000 today, you will receive tomorrow 50 to100 income. The funds of A+ Plan can be tr ansferred in and out at any time without affe cting your use. You can choose to transfer t he account funds in to obtain income when you are not playing, such as when you are s leeping and resting
</view>
<view class="record_body">
Transfer-in amount: minimum 1000 naira<br>
Income settlement time: After midnight the n ext day
</view>
</view>
</view>
</template>
<script>
import api from '@/utils/api'
import utils from '@/utils'
import cont from "@/components/navigation/navigation.vue"
export default{
data(){
return{
}
},
onLoad() {
},
methods:{
},
}
</script>
<style>
.arcon{
padding: 0 36rpx;
padding-top: 70rpx;
}
.record_body{
color: #303133FF;
line-height: 48rpx;
font-size: 28rpx;
text-transform: capitalize;
}
</style>

18
pages/menu/color/index.vue

@ -1,6 +1,7 @@
<template>
<view class="content">
<navigation :showBack="showBack">color</navigation>
<swit :switNum="1"/>
<balance @send="getSonValue" :currencySymbol="currencySymbol" :currentBalance="currentBalance">
<view class="rules-btn" slot="rules" @click="goRule()">rules</view>
</balance>
@ -350,12 +351,16 @@
import utils from '@/utils'
import navigation from "@/components/navigation/navigation.vue"
import balance from "@/components/balance/balance.vue"
import swit from "@/components/switch/switch.vue"
import gameView from "@/components/gameView/gameView.vue"
import gamecont from "@/components/gamecont/gamecont.vue"
import gamecont2 from "@/components/gamecont2/gamecont2.vue"
import index from '@/utils/index.js'
import gamecont3 from "@/components/gamecont3/gamecont3.vue"
export default {
components: {
swit
},
data() {
return {
// back
@ -497,11 +502,9 @@
const siteWhatsapp = uni.getStorageSync('siteInfo').siteWhatsapp;
if (siteTelegram != undefined && siteTelegram != '') {
this.teList = siteTelegram.split(',')
console.log(1111111 + this.teList)
}
if (siteWhatsapp != undefined && siteWhatsapp != '') {
this.whatAppList = siteWhatsapp.split(',')
console.log(2222222 + this.whatAppList)
}
@ -517,7 +520,6 @@
},
onReachBottom() {
this.pageSize += 9;
console.log(this.pageSize, this.totalPage, 5555555555555555555)
if (this.pageSize > this.totalPage) {
return;
}
@ -536,7 +538,6 @@
}
}
console.log(this.missingFrequency)
},
@ -574,7 +575,6 @@
return item.replace(item.split(':')[0] + ':', '')
},
getName(item) {
// console.log(item,20000);
return item.split(':')[0]
},
@ -586,8 +586,7 @@
"ticket": uni.getStorageSync('logInfo').data,
})
post.then(res => {
console.log(uni.getStorageSync('logInfo').data, 6666666)
console.log(res.data, 123123)
this.betting_amount = res.data.betting_amount.split(',');
this.betting_rule = res.data.tips;
})
@ -600,7 +599,6 @@
"ticket": uni.getStorageSync('logInfo').data,
})
post.then(res => {
console.log(res.data, 888888888888)
this.colorList = res.data;
this.colorData = this.colorList[0];
this.gameNav2[1].text = this.colorData.name + " record"
@ -729,7 +727,6 @@
uni.showLoading({
title:'loading'
})
console.log(res.data)
if (res.success == true) {
// this.xiaSul = 1;
uni.showToast({
@ -789,7 +786,6 @@
this.myGameRecord[i].addTime = index.formatyymmddhhmmss(this.myGameRecord[i]
.addTime);
}
console.log(res.data, 5666666)
})
.catch(e => {
@ -844,7 +840,6 @@
gaClick(i, j) {
console.log(j,8000000)
this.ganum = i
this.gNum = j;
this.colorData = this.colorList[i];
@ -853,7 +848,6 @@
this.ganumArr = this.gNum.split(',')
this.nextBttingValue = this.lotteryData[j]
this.gg=this.colorList[i].id
console.log(1111111111111111,i,this.gg)
this.getLottertRecord();
this.timeChange(this.lotteryData[j].remain)

853
pages/menu/colorMoni/index.css

@ -0,0 +1,853 @@
.content{
position: relative;
}
.item{
margin-top: 60rpx;
/* height: 380rpx;
overflow-y: scroll;
overflow-x: hidden; */
}
.img2{
width: 60rpx;
height: 60rpx;
}
.p2{
font-size: 28rpx;
color: #303133FF;
margin-left: 20rpx;
}
.p1{
font-size: 28rpx;
color: #606266FF;
}
.colseKefu{
position: absolute;
right: 36rpx;
top: 36rpx;
width: 36rpx;
height: 36rpx;
}
.img1{
display: block;
margin: 0 auto;
width: 108rpx;
height: 108rpx;
}
.title{
text-transform: capitalize;
font-size: 28rpx;
color: #954DE3FF;
text-align: center;
}
.title p{
margin-top: 18rpx;
}
.body_item{
display: flex;
align-items: center;
padding-bottom: 40rpx;
}
.body_item_info{
font-size: 28rpx;
color: #606266;
text-transform: capitalize;
margin-top: 28rpx;
margin-bottom: 20rpx;
}
.tc{
width: 600rpx;
background-color: #fff;
border-radius: 24rpx;
padding-top: 48rpx;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
z-index: 999;
}
.tc_body{
padding: 48rpx 36rpx;
padding-bottom: 0rpx;
position: relative;
}
.tc_body::before{
content: '';
position: absolute;
top: 20rpx;
left: 50%;
transform: translateX(-50%);
width: 100%;
height: 2rpx;
background-color: #EDEFF2FF;
}
.my-cont{
width: 180rpx;
height: 180rpx;
position: fixed;
top: 75%;
right: 0;
}
.my-cont image{
width: 100%;
height: 100%;
}
.flex{
align-items: center;
}
.flex .my-cont{
margin-left: auto;
}
.rules-btn{
font-size: 24rpx;
color: #FFFFFF;
text-transform: capitalize;
position: relative;
padding-right: 70rpx;
}
.rules-btn::before{
content: '';
width: 24rpx;
height: 24rpx;
background: url(../../../static/home/top_icon_ins.png)no-repeat;
position: absolute;
right: 36rpx;
top: 50%;
transform: translateY(-50%);
}
.bg_white{
position: relative;
top: -36rpx;
background-color: #fff;
border-radius: 48rpx 48rpx 0 0;
}
.gameNav{
padding: 0 36rpx;
display: flex;
height: 96rpx;
justify-content: space-around;
font-size: 28rpx;
color: #909399;
line-height: 96rpx;
align-items: center;
}
.flex{
display: flex;
justify-content: space-around;
align-items: center;
}
.gameNav-item{
position: relative;
}
.gameNav-item::after{
content: '';
width: 0rpx;
height: 4rpx;
background: #954DE3;
position: absolute;
left: 50%;
bottom: 0px;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.active{
color: #954DE3;
}
.active::after{
width: 80rpx;
}
.donna2{
background-color: #3F0380;
margin-bottom: 16rpx;
}
.don_con{
border-radius: 16rpx;
height: 160rpx;
padding: 24rpx 24rpx;
justify-content: space-between;
}
.follow_xiazhu_con{
background-color: #34026B;
border-radius: 48rpx 48rpx 0 0;
padding: 0 36rpx;
position: absolute;
left: 0;
bottom: 0;
z-index: 9999;
}
.tc{
width: 600rpx;
background-color: #fff;
border-radius: 24rpx;
padding: 0 36rpx;
padding-top: 48rpx;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.tc_body{
padding: 48rpx 0;
}
.body_item_info{
font-size: 28rpx;
color: #606266;
text-transform: capitalize;
margin-bottom: 20rpx;
}
.body_item_info image{
width: 40rpx;
height: 40rpx;
}
.flex{
display: flex;
justify-content: space-between;
align-items: center;
}
.cancel{
width: 50%;
text-align: center;
text-transform: capitalize;
font-size: 32rpx;
line-height: 108rpx;
}
.title{
text-transform: capitalize;
font-size: 36rpx;
color: #303133;
text-align: center;
}
.xia_head{
height: 72rpx;
position: relative;
}
.tiao{
width: 32rpx;
height: 6rpx;
border-radius: 4rpx;
background-color: rgba(255,255,255,.1);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 24rpx;
}
.xia_item{
width: 678rpx;
padding: 36rpx 0;
}
.info{
justify-content: space-between;
}
.info .imgcon{
width: 76rpx;
height: 76rpx;
}
.info .imgcon image{
width: 100%;
height: 100%;
}
.doname{
margin-left: 24rpx;
}
.doname .name{
color: #fff;
font-size: 32rpx;
}
.doname .win{
width: 124rpx;
padding: 4rpx 8rpx;
line-height: 32rpx;
color: #fff;
font-size: 20rpx;
background-color: #491C7A;
border-radius: 8rpx;
margin-top: 6rpx;
}
.recharge{
position: relative;
padding-left: 50rpx;
}
.recharge image{
width: 40rpx;
height: 40rpx;
position: absolute;
left: 0;
bottom: 0;
}
.recharge i{
font-style: normal;
margin-right: 8rpx;
}
.recharge span{
color: #fff;
font-size: 32rpx;
}
.follow{
width: 142rpx;
line-height: 60rpx;
background-color: #954DE3;
color: #fff;
font-size: 24rpx;
border-radius: 16rpx;
position: relative;
text-align: center;
padding-right: 10rpx;
}
.follow::after{
content: '';
width: 24rpx;
height: 24rpx;
background: url(../../../static/color/top_icon_ins@3x.png)no-repeat;
background-size: contain;
position: absolute;
right: 10rpx;
top: 50%;
transform: translateY(-50%) rotate(90deg);
}
.list{
border-top: 2rpx solid #34026B;
justify-content: space-between;
flex-wrap: wrap;
overflow: hidden;
max-height: 0;
transition: .5s all;
padding: 0 24rpx;
}
.list_con{
align-items: center;
padding: 26rpx 0;
}
.list_con .img1{
width: 32rpx;
height: 32rpx;
margin-left: 16rpx;
}
.num{
font-size: 24rpx;
color: #fff;
}
.instit{
text-transform: capitalize;
font-size: 24rpx;
margin-left: 16rpx;
}
.red{
color: #F25B5B !important;
}
.green{
color: #00B977;
}
.donna2.on .list,.follow:hover .list{
max-height: 1000rpx;
}
.donna2.on .follow::after{
transform: translateY(-50%) rotate(
270deg
);
padding: 0 !important;
}
.xiazhu{
background-color: #fff;
position: fixed;
bottom: 0;
padding-top: 48rpx;
width: 100%;
border-radius: 48rpx 48rpx 0 0;
z-index: 9999;
}
.xiazhu .top{
padding: 0 40rpx;
}
.xiazhu .title{
font-size: 36rpx;
text-align: center;
color: #303133FF;
text-transform: capitalize;
}
.contract{
margin-top: 80rpx;
}
.xname{
color: #606266FF;
font-size: 28rpx;
}
.contract .numcon{
display: flex;
}
.contract .numcon .num{
padding: 16rpx 24rpx;
border: 2rpx solid #EDEFF2FF;
color: #303133FF;
font-size: 28rpx;
text-align: center;
}
.active{
border-color: #954DE3FF !important;
}
.bujin,.TotalMoney,.agree,.btn_con{
margin-top: 60rpx;
}
.agree{
color: #606266FF;
font-size: 28rpx;
text-transform: capitalize;
display: flex;
align-items: center;
}
.agree .img{
width: 34rpx;
height: 34rpx;
margin-right: 10rpx;
}
.agree .s2{
color: #954DE3FF;
}
.agree .s1{
margin-right:10rpx ;
}
.btn_con .btn{
line-height: 108rpx;
text-align: center;
color: #303133FF;
font-size: 32rpx;
background-color: #F5F7FAFF;
text-transform: capitalize;
}
.btn_con .btn1{
width: 240rpx;
}
.btn_con .btn2{
width: 510rpx;
background-color: #954DE3FF;
opacity: .5;
color: #fff;
}
.on{
opacity: 1 !important;
}
.timeCon{
margin-top: 38rpx;
}
.time,.count{
color: #303133;
font-size: 36rpx;
}
.perCoun,.timeCon{
align-items: center;
justify-content: space-between;
}
.period{
display: flex;
align-items: center;
}
.period span{
margin-left: 12rpx;
}
.period,.coDown{
text-transform: capitalize;
color: #909399;
font-size: 28rpx;
}
.perCon{
padding-top: 24rpx;
padding-bottom: 48rpx;
}
.gameContent{
padding: 0 36rpx;
}
.flex{
display: flex;
align-items: center;
}
.gNum{
line-height: 96rpx;
text-align: center;
}
.ga{
font-size: 28rpx;
color: #909399;
width: 250rpx;
position: relative;
}
.ga::before{
content: '';
width: 0%;
height: 4rpx;
background: #954DE3;
position: absolute;
left: 50%;
bottom: 0px;
transform: translateX(-50%);
}
.gaactive{
color: #954DE3FF !important;
}
.gaactive::before{
width: 80rpx;
}
.icon-con{
justify-content: space-between;
}
.ico{
width: 210rpx;
height: 80rpx;
border: 2rpx solid #EDEFF2;
border-radius: 16rpx;
position: relative;
}
.ico image{
width: 40rpx;
height: 40rpx;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}
.multiple-con{
justify-content: space-between;
flex-wrap: wrap;
margin-top: 24rpx;
}
.mul-item{
width: 112rpx;
line-height: 80rpx;
color: #fff;
font-size: 32rpx;
border-radius: 16rpx;
text-align: center;
}
.bg_green{
background-color: #00B977;
}
.bg_red{
background-color: #F25B5B;
}
.bg_jb1{
background-image: linear-gradient(-30deg, #954DE3 50% , #F25B5B 50% );
}
.bg_jb2{
background-image: linear-gradient(-30deg,#954DE3 50% , #00B977 50% );
}
.donna{
background-color: #34026B;
border-radius: 16rpx;
height: 160rpx;
padding: 24rpx 24rpx;
margin-top: 48rpx;
justify-content: space-between;
}
.info{
justify-content: space-between;
}
.info .imgcon{
width: 76rpx;
height: 76rpx;
}
.info .imgcon image{
width: 100%;
height: 100%;
}
.doname{
margin-left: 24rpx;
}
.doname .name{
color: #fff;
font-size: 32rpx;
}
.doname .win{
width: 124rpx;
padding: 4rpx 8rpx;
line-height: 32rpx;
color: #fff;
font-size: 20rpx;
background-color: #491C7A;
border-radius: 8rpx;
margin-top: 6rpx;
}
.recharge{
position: relative;
padding-left: 50rpx;
}
.recharge image{
width: 40rpx;
height: 40rpx;
position: absolute;
left: 0;
bottom: 0;
}
.recharge i{
font-style: normal;
margin-right: 8rpx;
}
.recharge span{
color: #fff;
font-size: 32rpx;
}
.follow{
width: 142rpx;
line-height: 60rpx;
background-color: #954DE3;
color: #fff;
font-size: 24rpx;
border-radius: 16rpx;
position: relative;
text-align: center;
padding-right: 10rpx;
}
.follow::after{
content: '';
width: 24rpx;
height: 24rpx;
background: url(../../../static/color/top_icon_ins@3x.png)no-repeat;
background-size: contain;
position: absolute;
right: 12rpx;
top: 50%;
transform: translateY(-50%);
}
.gNum{
line-height: 96rpx;
text-align: center;
}
.ga{
font-size: 28rpx;
color: #909399;
width: 250rpx;
position: relative;
}
.ga::before{
content: '';
width: 0%;
height: 4rpx;
background: #954DE3;
position: absolute;
left: 50%;
bottom: 0px;
transform: translateX(-50%);
}
.gaactive{
color: #954DE3FF !important;
}
.gaactive::before{
width: 80rpx;
}
.timeCon{
margin-top: 38rpx;
}
.time,.count{
color: #303133;
font-size: 36rpx;
}
.perCoun,.timeCon{
align-items: center;
justify-content: space-between;
}
.period,.coDown{
text-transform: capitalize;
color: #909399;
font-size: 28rpx;
}
.perCon{
padding-top: 24rpx;
padding-bottom: 48rpx;
}
.gameContent{
padding: 0 36rpx;
}
.flex{
display: flex;
align-items: center;
}
.icon-con{
justify-content: space-between;
}
.ico{
width: 210rpx;
height: 80rpx;
border: 2rpx solid #EDEFF2;
border-radius: 16rpx;
position: relative;
}
.ico image{
width: 40rpx;
height: 40rpx;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}
.multiple-con{
justify-content: space-between;
flex-wrap: wrap;
margin-top: 24rpx;
}
.mul-item{
width: 112rpx;
line-height: 80rpx;
color: #fff;
font-size: 32rpx;
border-radius: 16rpx;
text-align: center;
}
.bg_ash{
background-color: #E0E0E0;
}
.bg_green{
background-color: #00B977;
}
.bg_red{
background-color: #F25B5B;
}
.bg_jb1{
background-image: linear-gradient(-30deg, #954DE3 50% , #F25B5B 50% );
}
.bg_jb2{
background-image: linear-gradient(-30deg,#954DE3 50% , #00B977 50% );
}
.donna{
background-color: #34026B;
border-radius: 16rpx;
height: 160rpx;
padding: 24rpx 24rpx;
margin-top: 48rpx;
justify-content: space-between;
}
.info{
justify-content: space-between;
}
.info .imgcon{
width: 76rpx;
height: 76rpx;
}
.info .imgcon image{
width: 100%;
height: 100%;
}
.doname{
margin-left: 24rpx;
}
.doname .name{
color: #fff;
font-size: 32rpx;
}
.doname .win{
width: 124rpx;
padding: 4rpx 8rpx;
line-height: 32rpx;
color: #fff;
font-size: 20rpx;
background-color: #491C7A;
border-radius: 8rpx;
margin-top: 6rpx;
}
.recharge{
position: relative;
padding-left: 50rpx;
}
.recharge image{
width: 40rpx;
height: 40rpx;
position: absolute;
left: 0;
bottom: 0;
}
.recharge i{
font-style: normal;
margin-right: 8rpx;
}
.recharge span{
color: #fff;
font-size: 32rpx;
}
.follow{
width: 142rpx;
line-height: 60rpx;
background-color: #954DE3;
color: #fff;
font-size: 24rpx;
border-radius: 16rpx;
position: relative;
text-align: center;
padding-right: 10rpx;
}
.follow::after{
content: '';
width: 24rpx;
height: 24rpx;
background: url(../../../static/color/top_icon_ins@3x.png)no-repeat;
background-size: contain;
position: absolute;
right: 12rpx;
top: 50%;
transform: translateY(-50%);
}
.sul{
text-align: center;
}
.ok{
color: #954DE3FF;
line-height: 108rpx;
border-top: 2rpx solid #F7F9FCFF;
font-size: 32rpx;
}
.color_icon{
width: 36rpx;
height: 36rpx;
}

877
pages/menu/colorMoni/index.vue

@ -0,0 +1,877 @@
<template>
<view class="content">
<navigation :showBack="showBack">color</navigation>
<swit :switNum="2"/>
<balance @send="getSonValue" :currencySymbol="currencySymbol" :currentBalance="currentBalance">
<view class="rules-btn" slot="rules" @click="goRule()">rules</view>
</balance>
<view class="bg_white">
<view class="gNum flex">
<view class="ga" v-for="(item,index) in colorList" :key="item.id" :class="index==ganum?'gaactive':''"
@click="gaClick(index,item.name)">
{{item.name}}
</view>
</view>
<view class="gameContent">
<view class="perCon">
<view class="perCoun flex">
<view class="period">
<image src="../../../static/color/[email protected]" mode="aspectFit"
class="color_icon"></image>
<span>Period</span>
</view>
<view class="coDown">
count down
</view>
</view>
<view class="timeCon flex">
<view class="time">
<!-- {{colorData.lotteryPeriod.period}} -->
{{nextBttingValue.period}}
</view>
<view class="count">
<u-count-down :timestamp="nextBttingValue.remain" :show-days="false" :show-hours="false"
></u-count-down>
</view>
</view>
</view>
<view v-show="canBuy">
<view class="flex icon-con">
<view class="ico" @click="xiazhu(item.color)" v-for="item,index in gameColor" :key="item.id">
<image :src="'../../../static/color/ico_apple_'+item.color+'@3x.png'" mode=""></image>
</view>
</view>
<view class="multiple">
<view class="multiple-con flex">
<view class="mul-item" v-for="(item,index) in gameColorNumber1" :key="item.num"
@click="xiazhu(item.num)" :class="item.cla">
{{item.num}}
</view>
</view>
<view class="multiple-con flex">
<view class="mul-item" ref="mulitem" v-for="(item,index) in gameColorNumber2"
@click="xiazhu(item.num)" :key="item.num" :class="item.cla">
{{item.num}}
</view>
</view>
</view>
</view>
<view class="canBuy" v-show="!canBuy">
<view class="flex icon-con">
<view class="ico" v-for="item,index in gameColor" :key="item.id">
<image :src="'../../../static/color/ash_'+item.color+'@3x.png'" mode=""></image>
</view>
</view>
<view class="multiple">
<view class="multiple-con flex">
<view class="mul-item bg_ash" v-for="(item,index) in gameColorNumber1" :key="item.num">
{{item.num}}
</view>
</view>
<view class="multiple-con flex">
<view class="mul-item bg_ash" ref="mulitem" v-for="(item,index) in gameColorNumber2"
:key="item.num">
{{item.num}}
</view>
</view>
</view>
</view>
<!-- <view class="donna flex">
<view class="flex info">
<view class="imgcon">
<image :src="'https://apitest.luck-work.com/'+myImgUrl" mode="aspectFit"></image>
</view>
<view class="doname">
<p class="name">{{myName}}</p>
<view class="win">
64% win
</view>
</view>
</view>
<view class="recharge">
<image src="../../../static/color/[email protected]" mode=""></image>
<span><i></i>2000</span>
</view>
<view class="follow" @click="follow_xiazhu_conOn=1">
Follow
</view>
</view> -->
</view>
<view class="gameNav">
<view class="gameNav-item " v-for="item,index in gameNav2" :class="index==gameNavNum?'active':''"
:key="item.id" @click="gameNavMe(index)">
{{item.text}}
</view>
</view>
<gamecont v-if="gameNavNum==0" :gameRecordCont="gameRecordCont" :missingFrequency="missingFrequency"></gamecont>
<gamecont2 :gameRecordCont="gameRecordCont" v-if="gameNavNum==1"></gamecont2>
<gamecont3 :myGameRecord="myGameRecord" v-if="gameNavNum==2"></gamecont3>
</view>
<!-- <u-mask :show="follow_xiazhu_conOn==1" z-index="1000"></u-mask>
<view class="follow_xiazhu_con" v-show="follow_xiazhu_conOn==1">
<view class="xia_head">
<view class="tiao" @click="follow_xiazhu_conOn=0">
</view>
</view>
<view class="xia_body">
<view class="donna2" :class="folLisNum==index?'on':''" v-for="item,index in xia_body" :key="item">
<view class="flex don_con">
<view class="flex info">
<view class="imgcon">
<image src="../../../static/my/[email protected]" mode=""></image>
</view>
<view class="doname">
<p class="name">Donna</p>
<view class="win">
64% win
</view>
</view>
</view>
<view class="recharge">
<image src="../../../static/color/[email protected]" mode=""></image>
<span><i></i>2000</span>
</view>
<view class="follow" @click="folLisNumFn(index)">
Follow
</view>
</view>
<view class="list flex">
<view class="flex list_con" @click="gsxia=1">
<view class="num">
20210701323
</view>
<image src="../../../static/color/[email protected]" mode="" class="img1"></image>
<view class="instit red">
lose
</view>
</view>
<view class="flex list_con">
<view class="num">
20210701323
</view>
<image src="../../../static/color/[email protected]" mode="" class="img1"></image>
<view class="instit red">
lose
</view>
</view>
<view class="flex list_con">
<view class="num">
20210701323
</view>
<image src="../../../static/color/[email protected]" mode="" class="img1"></image>
<view class="instit red">
lose
</view>
</view>
<view class="flex list_con">
<view class="num">
20210701323
</view>
<image src="../../../static/color/[email protected]" mode="" class="img1"></image>
<view class="instit red">
lose
</view>
</view>
<view class="flex list_con">
<view class="num">
20210701323
</view>
<image src="../../../static/color/[email protected]" mode="" class="img1"></image>
<view class="instit red">
lose
</view>
</view>
</view>
</view>
</view>
<view class="tc" v-show="gsxia==1">
<view class="title">
connfirm info
</view>
<view class="tc_body">
<view class="body_item flex">
<view class="body_item_info">
Perode
</view>
<view class="body_item_info">
20210701327
</view>
</view>
<view class="body_item flex">
<view class="body_item_info">
choose
</view>
<view class="body_item_info">
<image src="../../../static/color/[email protected]" mode=""></image>
</view>
</view>
<view class="body_item flex">
<view class="body_item_info">
contract money
</view>
<view class="body_item_info">
5,000
</view>
</view>
</view>
<view class="anniu_con flex">
<view class="cancel" @click="gsxia=0">
cancel
</view>
<view class="cancel">
confirm
</view>
</view>
</view>
</view> -->
<view class="xiazhu" v-show="xiazhuCode">
<view class="top">
<view class="title">
join violet
</view>
<view class="contract flex">
<view class="xname">
Contract Money
</view>
<view class="numcon">
<view class="num" v-for="(item,index) in betting_amount" :key="item" v-model="bettingPrice"
@click="numColor(index,item)" :class="numindex==index?'active':''">
{{item}}
</view>
</view>
</view>
<view class="bujin flex">
<view class="xname">
Number
</view>
<u-number-box v-model="bettingNumber" @input="tmoney()"></u-number-box>
</view>
<view class="TotalMoney xname">
Total Contract Money is {{touzhuMoney}}
</view>
<view class="agree">
<view class="">
<u-checkbox-group>
<u-checkbox v-model="item.checked" v-for="(item, index) in list" :key="index"
:name="item.name" shape="circle" active-color="#954DE3FF">{{item.name}}</u-checkbox>
</u-checkbox-group>
</view>
<span class="s1">I agree </span><span class="s2" @click="goRule">presale rule</span>
</view>
</view>
<view class="btn_con flex">
<view class="btn1 btn" @click="xiazhuCode=false">
cancel
</view>
<view class="btn2 btn" @click="toLotter" :class="bettingNumber!=0?'on':''">
comfierm
</view>
</view>
</view>
<!-- <view class="tc" v-show="xiaSul==1">
<view class="title">
connfirm
</view>
<view class="tc_body sul">
Successful purchase
</view>
<view class="sul ok" @click="xiaSul=0">
OK
</view>
</view> -->
<u-mask :show="xiazhuCode" :z-index="10" @click="xiazhuCode=false"></u-mask>
<u-mask :show="xiaSul==1" :z-index="10"></u-mask>
<!-- 客服信息 -->
<view class="flex">
<view class="my-cont" @click="keCode=1">
<image src="../../../static/home/[email protected]" mode=""></image>
</view>
<u-mask :z-index="10" :show="keCode==1"></u-mask>
<view class="tc" v-show="keCode==1">
<view class="title">
<image src="../../../static/color/pop_icon_service@2x(1).png" mode="aspectFit" class="img1"></image>
<p>Customer Service</p>
</view>
<view class="tc_body">
<view class="p1">
{{serviceTime}}
</view>
<scroll-view class="item" style="height:380rpx" scroll-y="true" show-scrollbar="true" scroll-with-animation="true" scroll-top="0" >
<view class="body_item" @click="gotoWeb(getLink(item))" v-for="(item,index) in whatAppList"
:key="item">
<image src="../../../static/color/[email protected]" mode="aspectFit" class="img2"></image>
<view class="p2">
{{getName(item)}}
</view>
</view>
<view class="body_item" @click="gotoWeb(getLink(item))" v-for="(item,index) in teList"
:key="item">
<image src="../../../static/color/pop_icon_teltgram.png" mode="" class="img2"></image>
<view class="p2">
<span class="whatapp-name">{{getName(item)}}</span>
</view>
</view>
</scroll-view>
</view>
<image src="../../../static/color/pop_icon_close.png" mode="aspectFit" class="colseKefu" @click="keCode=0"></image>
</view>
</view>
</view>
</template>
<script>
import api from '@/utils/api'
import utils from '@/utils'
import navigation from "@/components/navigation/navigation.vue"
import balance from "@/components/balance/balance.vue"
import gameView from "@/components/gameView/gameView.vue"
import swit from "@/components/switch/switch.vue"
import gamecont from "@/components/gamecont/gamecont.vue"
import gamecont2 from "@/components/gamecont2/gamecont2.vue"
import index from '@/utils/index.js'
import gamecont3 from "@/components/gamecont3/gamecont3.vue"
export default {
components: {
swit
},
data() {
return {
// back
showBack:false,
//
keCode:0,
teList:[],
whatAppList:[],
serviceTime:'',
touzhuMoney:0,
currencySymbol:'',
currentBalance:'',
gameNavNum: 0,
xiaSul: 0,
gsxia: 0,
xia_body: [1, 2, 3],
follow_xiazhu_conOn: 0,
bettingPrice: '',
bettingNumber: 0,
show: false,
showWhite: true,
myName: '',
myImgUrl: '',
folLisNum: 0,
xiazhuCode: false,
gap: '',
colorList: [],
colorData: [],
ganum: 0,
canBuy: true,
gameRecord: [],
gameRecordCont: [],
myGameRecord: [],
list: [{
name: '',
checked: false,
disabled: false
},
],
betting_amount: [],
betting_rule: '',
pageSize: 100,
totalPage: 1,
gameNav: [],
gNum: 'G2',
gameColor: [{
id: 1,
color: 'GREEN'
},
{
id: 2,
color: 'VIOLET'
},
{
id: 3,
color: 'RED'
},
],
gameColorNumber1: [{
num: 0,
cla: 'bg_jb2'
},
{
num: 1,
cla: 'bg_green'
},
{
num: 2,
cla: 'bg_red'
},
{
num: 3,
cla: 'bg_green'
},
{
num: 4,
cla: 'bg_red'
},
],
gameColorNumber2: [{
num: 5,
cla: 'bg_jb1'
},
{
num: 6,
cla: 'bg_red'
},
{
num: 7,
cla: 'bg_green'
},
{
num: 8,
cla: 'bg_red'
},
{
num: 9,
cla: 'bg_red'
},
],
bettingValue: '',
nextBttingValue: [],
numindex: -1,
ganumArr: [],
gg: 3,
lotteryData: {},
gameNav2: [{
id: 1,
text: 'Chart Trending',
},
{
id: 2,
text: ''
},
{
id: 3,
text: ''
},
],
totalPage2:'',
lotteryNum:[],
missingFrequency:{}
}
},
onLoad() {
this.initializationMissingFrequency();
//
this.serviceTime = uni.getStorageSync('siteInfo').serviceTime;
const siteTelegram = uni.getStorageSync('siteInfo').siteTelegram;
const siteWhatsapp = uni.getStorageSync('siteInfo').siteWhatsapp;
if (siteTelegram != undefined && siteTelegram != '') {
this.teList = siteTelegram.split(',')
}
if (siteWhatsapp != undefined && siteWhatsapp != '') {
this.whatAppList = siteWhatsapp.split(',')
}
this.currencySymbol=uni.getStorageSync('siteInfo').currencySymbol;
this.currentBalance=uni.getStorageSync('currentBalance');
this.myName = uni.getStorageSync('MyInfo').nickname;
this.myImgUrl = uni.getStorageSync('MyInfo').headImgPath;
this.getLotteryClassList();
this.getBettingConfig();
},
onReachBottom() {
this.pageSize += 9;
if (this.pageSize > this.totalPage) {
return;
}
this.getLottertRecord()
//
this.myLottertRecord()
},
methods: {
initializationMissingFrequency(){
for(var i=0; i<10;i++){
this.missingFrequency[i.toString()]={
"missing":0,
"frequency":0
}
}
},
//
gotoWeb(gotoUrl) {
// #ifdef H5
window.location.href = gotoUrl
// #endif
// #ifdef APP-PLUS
var networkType = ''
uni.getNetworkType({
success: function(res) {
networkType = res.networkType
}
});
if (networkType == 'none') {
uni.showToast({
title: 'no Network',
icon: 'none',
duration: 1500
})
} else {
var param = {
url: gotoUrl
}
uni.navigateTo({
url: '/pages/menu/me/rechange/topay/index?' + qs.stringify(param)
})
}
// #endif
},
getLink(item) {
return item.replace(item.split(':')[0] + ':', '')
},
getName(item) {
return item.split(':')[0]
},
tmoney(){
this.touzhuMoney=this.bettingNumber*this.bettingPrice;
},
getBettingConfig() {
const post = api.bettingConfigM({
"ticket": uni.getStorageSync('logInfo').data,
})
post.then(res => {
this.betting_amount = res.data.betting_amount.split(',');
this.betting_rule = res.data.tips;
})
.catch(e => {
console.log(e)
})
},
getLotteryClassList() {
const post = api.lotteryClassList({
"ticket": uni.getStorageSync('logInfo').data,
})
post.then(res => {
this.colorList = res.data;
this.colorData = this.colorList[0];
this.gameNav2[1].text = this.colorData.name + " record"
this.gameNav2[2].text = 'My ' + this.colorData.name + " record"
this.gNum = this.colorList[0].name
this.setlotteryData();
this.gg=this.colorData.id
this.getLottertRecord();
})
.catch(e => {
console.log(e)
})
},
timeChange(timestamp) {
// if(timestamp==0){
// this.ganum+=1;
// this.gNum="G"+ Number(this.gNum.substring(1)+1) ;
// console.log(this.gNum,5555555555555)
// this.gaClick(this.ganum,this.gNum);
// }
// console.log(timestamp)
// console.log(123)
if (timestamp <= this.colorData.lottery) {
this.canBuy = false
this.xiazhuCode=false
} else {
this.canBuy = true
}
},
reckonTime(){
for (var key in this.lotteryData) {
this.lotteryData[key].remain = this.lotteryData[key].remain - 1
if(this.lotteryData[key].remain==0){
this.nextBtting(key)
if(key==this.gNum){
this.getLottertRecord();
}
}
}
this.timeChange(this.lotteryData[this.gNum].remain);
}
,
setlotteryData() {
for (let i = 0; i < this.colorList.length; i++) {
this.nextBtting(this.colorList[i].name)
}
setInterval(this.reckonTime,"1000");
},
gameNavMe(i) {
this.gameNavNum = i;
},
xiazhu(val) {
this.xiazhuCode = true;
this.bettingValue = val;
this.numindex = -1;
this.list[0].checked = false;
},
folLisNumFn(i) {
this.folLisNum = i;
},
numColor(i, j) {
this.numindex = i;
this.bettingPrice = j;
this.touzhuMoney=j;
this.bettingNumber=1;
},
nextBtting(gNum) {
const post = api.nextLotteryPeriodM({
"ticket": uni.getStorageSync('logInfo').data,
"className": gNum,
})
post.then(res => {
this.lotteryData[gNum] = res.data
if (gNum === this.gNum) {
this.nextBttingValue = this.lotteryData[gNum]
}
})
.catch(e => {
console.log(e)
})
},
toLotter() {
if (this.bettingPrice == 0) {
uni.showToast({
title: 'Please select bet amount',
icon: 'none',
duration: 1500
})
return;
}
if (this.bettingNumber == '') {
uni.showToast({
title: 'Please enter the number of bets',
icon: 'none',
duration: 1500
})
return;
}
if (this.list[0].checked == false) {
uni.showToast({
title: 'Please agree to the rules first',
icon: 'none',
duration: 1500
})
return;
}
const post = api.bettingM({
"ticket": uni.getStorageSync('logInfo').data,
"className": this.nextBttingValue.name,
"period": this.nextBttingValue.period,
"bettingValue": this.bettingValue,
"bettingPrice": this.bettingPrice,
"bettingNumber": this.bettingNumber,
})
post.then(res => {
uni.showLoading({
title:'loading'
})
if (res.success == true) {
// this.xiaSul = 1;
uni.showToast({
title: 'Successful bet',
icon: 'success',
duration: 1500
})
//
const post = api.withdrawConfig({
"ticket": uni.getStorageSync('logInfo').data,
})
post.then(res => {
if(res.data){
this.currentBalance=res.data.currentBalance;
uni.setStorage({
key: 'currentBalance',
data: this.currentBalance,
success: function() {
console.log('success')
}
});
}
})
} else {
uni.showToast({
title: res.errMsg,
icon: 'none',
duration: 1500
})
}
})
.catch(e => {
console.log(e)
})
},
myLottertRecord() {
const post = api.myLotteryRecordsM({
"ticket": uni.getStorageSync('logInfo').data,
"classId": this.gg,
"pageNumber": 1,
"pageSize": this.pageSize,
})
post.then(res => {
if (res.data == '' || res.data.content == null) {
return
}
this.myGameRecord = res.data.content;
this.totalPage = res.data.totalElements;
for (var i = 0; i < this.myGameRecord.length; i++) {
// this.myGameRecord[i].period = this.myGameRecord[i].period.substring(2, 13);
this.myGameRecord[i].addTime = index.formatyymmddhhmmss(this.myGameRecord[i]
.addTime);
}
})
.catch(e => {
console.log(e)
})
},
getLottertRecord() {
const post = api.lotteryRecordsM({
"ticket": uni.getStorageSync('logInfo').data,
"classId": this.gg,
"pageNumber": 1,
"pageSize": this.pageSize,
})
post.then(res => {
if (res.data == '' || res.data.content == null) {
return
}
this.gameRecordCont = res.data.content;
this.totalPage = res.data.totalElements;
this.totalPage2 = res.data.totalPages;
for (var i = 0; i < this.gameRecordCont.length; i++) {
// this.gameRecordCont[i].period = this.gameRecordCont[i].period.substring(2, 13);
this.gameRecordCont[i].lotteryColor = this.gameRecordCont[i].lotteryColor.split(',');
if(!this.gameRecordCont[i].lotteryResult){
this.gameRecordCont[i].lotteryResult=0
}
}
this.initializationMissingFrequency()
for(var i=0; i<this.gameRecordCont.length;i++){
if(i>100){
break;
}
this.missingFrequency[this.gameRecordCont[i].lotteryResult.toString()].frequency=this.missingFrequency[this.gameRecordCont[i].lotteryResult.toString()].frequency+1;
if(!this.missingFrequency[this.gameRecordCont[i].lotteryResult.toString()].isOpen){
this.missingFrequency[this.gameRecordCont[i].lotteryResult.toString()].missing=i
this.missingFrequency[this.gameRecordCont[i].lotteryResult.toString()].isOpen=true
}
}
})
.catch(e => {
console.log(e)
})
},
gaClick(i, j) {
this.ganum = i
this.gNum = j;
this.colorData = this.colorList[i];
this.gameNav2[1].text = this.colorData.name + " record"
this.gameNav2[2].text = 'My ' + this.colorData.name + " record"
this.ganumArr = this.gNum.split(',')
this.nextBttingValue = this.lotteryData[j]
this.gg=this.colorList[i].id
this.getLottertRecord();
this.timeChange(this.lotteryData[j].remain)
},
goRule() {
uni.navigateTo({
url: '../rule/index'
})
},
showMas() {
this.show = true;
this.showWhite = false;
},
getSonValue() {
uni.navigateTo({
url: '../recharge/index'
})
},
},
}
</script>
<style>
@import './index.css';
</style>

66
pages/menu/goods/goodsDetail/index.css

@ -0,0 +1,66 @@
.goods_con{
background-color: #F5F7FA;
padding-bottom: 154rpx;
}
/deep/ .u-indicator-item-dot{
background-color: rgba(50,20,129,.2) !important;
}
/deep/ .u-indicator-item-dot-active{
background-color: #34026B !important;
}
.detail_top{
background-color: #fff;
}
.detail_top .text_con{
padding: 24rpx 36rpx 72rpx 36rpx;
}
.detail_top .text_con .text{
font-size: 32rpx;
color: #303133;
line-height: 60rpx;
margin-bottom: 20rpx;
}
.detail_top .text_con .price{
color: #954DE3;
font-size: 36rpx;
margin-bottom: 48rpx;
}
.detail_top .text_con .custom-style{
background-color: #BFC2CC;
height: 96rpx;
color: #fff;
font-size: 32rpx;
border-radius: 20rpx;
}
.detail_bottom{
background-color: #fff;
padding: 0 36rpx;
margin-top: 36rpx;
}
.detail_bottom .title{
color: #909399;
font-size: 28rpx;
line-height: 96rpx;
}
.goodsProperty{
padding: 32rpx 0;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 2rpx solid #F5F7FA;
}
.goodsProperty .text{
display: block;
width: 50%;
font-size: 28rpx;
}
.goodsProperty .text1{
color: #606266;
}
.goodsProperty .text2{
color: #303133;
}

39
pages/menu/goods/goodsDetail/index.vue

@ -3,7 +3,27 @@
<navigation>
Product
</navigation>
<u-swiper :list="list" height="1000" mode="none"></u-swiper>
<view class="detail_top">
<u-swiper :list="list" height="750" mode="dot"></u-swiper>
<view class="text_con">
<view class="text">
{{goods_Detail.goodsName}}
</view>
<view class="price">
{{goods_Detail.goodsPrice}}
</view>
<u-button class="custom-style">Sold Out</u-button>
</view>
</view>
<view class="detail_bottom">
<view class="title">
Product Specifications
</view>
<view class="goodsProperty" v-for="item,index in table" :key="index">
<text class="text text1">{{item.goodsPropertyKey}}</text>
<text class="text text2">{{item.goodsPropertyValue}}</text>
</view>
</view>
</view>
</template>
@ -12,21 +32,32 @@
import utils from '@/utils'
import md5 from 'js-md5'
import store from '@/store'
import cont from "@/components/navigation/navigation.vue"
export default {
data() {
return {
//
table:[],
goods_Detail:[],
list:[],
}
},
onLoad(i) {
const post = api.goodsDetail({
goodsId:i
goodsId:i.id
})
.then(res =>{
if(res.success){
this.goods_Detail=res.data;
console.log(this.goods_Detail)
this.list=res.data.goodsImgMainUrl.split(',');
for(var i=0;i<this.list.length;i++){
this.list[i]='https://apitest.luck-work.com'+this.list[i]
}
this.table=JSON.parse(this.goods_Detail.goodsProperty)
console.log(this.goods_Detail.goodsProperty,4444444)
console.log(this.table,5555555)
}
}).catch(err =>{
console.log(err)
})

20
pages/menu/search/index.css

@ -0,0 +1,20 @@
.sea_con{
padding: 36rpx;
}
.sea_item{
padding: 0 !important;
background-color: #F5F7FA;
border-radius: 20rpx !important;
position: relative;
}
.sea_item .img{
width: 40rpx;
height: 40rpx;
position: absolute;
left: 20rpx;
top: 50%;
transform: translateY(-50%);
}
/deep/ .item_input{
padding-left: 76rpx !important;
}

44
pages/menu/search/index.vue

@ -0,0 +1,44 @@
<template>
<view class="">
<navigation :showBack="false">
Search
</navigation>
<view class="sea_con">
<u-form-item :border-bottom="false" class="sea_item">
<image src="../../../static/home/[email protected]" mode="aspectFit" class="img"></image>
<u-input :placeholder="'Search'" :border="false" :height="80" class="item_input"/></u-form-item>
</view>
</view>
</template>
<script>
import api from '@/utils/api'
import utils from '@/utils'
import md5 from 'js-md5'
import store from '@/store'
export default {
data() {
return {
}
},
onLoad() {
},
onReady() {
},
methods: {
},
}
</script>
<style>
@import './index.css';
</style>

BIN
static/home/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

4
unpackage/dist/dev/app-plus/app-config-service.js

@ -1,8 +1,8 @@
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/login/index","pages/menu/goods/index","pages/menu/goods/goodsDetail/index","pages/menu/bankCard/addAddress/index","pages/menu/bankCard/addBankCard/index","pages/menu/bankCard/index","pages/register/index","pages/menu/color/index","pages/menu/promotion/applyRecord/index","pages/menu/promotion/bounsRecord/index","pages/menu/withdrawl/transactions/index","pages/menu/recharge/rechargeRule","pages/menu/withdrawl/transactions/index","pages/menu/withdrawl/withdrawlRecord/index","pages/menu/recharge/index","pages/menu/recharge/record/index","pages/menu/rule/arules/index","pages/menu/aplan/index","pages/menu/withdrawl/index","pages/menu/promotion/promotionRecord/index","pages/menu/recharge/index","pages/menu/My/index","pages/menu/promotion/index","pages/menu/index/index","pages/login/resetPassword/index","pages/menu/rule/index","pages/menu/rule/inviteRule/index"],"window":{"navigationBarTextStyle":"white","navigationBarBackgroundColor":"#34026B"},"tabBar":{"selectedColor":"#34026B","list":[{"text":"Home","pagePath":"pages/menu/goods/index","iconPath":"./static/tabbar/meun_icon_home_[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"Game","pagePath":"pages/menu/color/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"Promotion","pagePath":"pages/menu/promotion/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"My","pagePath":"pages/menu/My/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"first","compilerVersion":"3.1.13","entryPagePath":"pages/login/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/login/index","meta":{"isQuit":true},"window":{}},{"path":"/pages/menu/goods/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/menu/goods/goodsDetail/index","meta":{},"window":{}},{"path":"/pages/menu/bankCard/addAddress/index","meta":{},"window":{}},{"path":"/pages/menu/bankCard/addBankCard/index","meta":{},"window":{}},{"path":"/pages/menu/bankCard/index","meta":{},"window":{}},{"path":"/pages/register/index","meta":{},"window":{}},{"path":"/pages/menu/color/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/menu/promotion/applyRecord/index","meta":{},"window":{}},{"path":"/pages/menu/promotion/bounsRecord/index","meta":{},"window":{}},{"path":"/pages/menu/withdrawl/transactions/index","meta":{},"window":{}},{"path":"/pages/menu/recharge/rechargeRule","meta":{},"window":{}},{"path":"/pages/menu/withdrawl/withdrawlRecord/index","meta":{},"window":{}},{"path":"/pages/menu/recharge/index","meta":{},"window":{}},{"path":"/pages/menu/recharge/record/index","meta":{},"window":{}},{"path":"/pages/menu/rule/arules/index","meta":{},"window":{}},{"path":"/pages/menu/aplan/index","meta":{},"window":{}},{"path":"/pages/menu/withdrawl/index","meta":{},"window":{}},{"path":"/pages/menu/promotion/promotionRecord/index","meta":{},"window":{}},{"path":"/pages/menu/My/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/menu/promotion/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/menu/index/index","meta":{},"window":{}},{"path":"/pages/login/resetPassword/index","meta":{},"window":{}},{"path":"/pages/menu/rule/index","meta":{},"window":{}},{"path":"/pages/menu/rule/inviteRule/index","meta":{},"window":{}}];
var __uniConfig = {"pages":["pages/login/index","pages/menu/search/index","pages/menu/goods/index","pages/menu/goods/goodsDetail/index","pages/menu/bankCard/addAddress/index","pages/menu/bankCard/addBankCard/index","pages/menu/bankCard/index","pages/register/index","pages/menu/color/index","pages/menu/colorMoni/index","pages/menu/promotion/applyRecord/index","pages/menu/promotion/bounsRecord/index","pages/menu/withdrawl/transactions/index","pages/menu/recharge/rechargeRule","pages/menu/withdrawl/transactions/index","pages/menu/withdrawl/withdrawlRecord/index","pages/menu/recharge/index","pages/menu/recharge/record/index","pages/menu/rule/arules/index","pages/menu/aplan/index","pages/menu/withdrawl/index","pages/menu/promotion/promotionRecord/index","pages/menu/recharge/index","pages/menu/My/index","pages/menu/promotion/index","pages/menu/index/index","pages/login/resetPassword/index","pages/menu/rule/index","pages/menu/rule/inviteRule/index"],"window":{"navigationBarTextStyle":"white","navigationBarBackgroundColor":"#34026B"},"tabBar":{"selectedColor":"#34026B","list":[{"text":"Home","pagePath":"pages/menu/goods/index","iconPath":"./static/tabbar/meun_icon_home_[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"Search","pagePath":"pages/menu/search/index","iconPath":"./static/tabbar/meun_icon_search_no[email protected]","selectedIconPath":"./static/tabbar/meun_icon_search[email protected]"},{"text":"Game","pagePath":"pages/menu/color/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"Promotion","pagePath":"pages/menu/promotion/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"My","pagePath":"pages/menu/My/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"first","compilerVersion":"3.1.13","entryPagePath":"pages/login/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/login/index","meta":{"isQuit":true},"window":{}},{"path":"/pages/menu/search/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/menu/goods/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/menu/goods/goodsDetail/index","meta":{},"window":{}},{"path":"/pages/menu/bankCard/addAddress/index","meta":{},"window":{}},{"path":"/pages/menu/bankCard/addBankCard/index","meta":{},"window":{}},{"path":"/pages/menu/bankCard/index","meta":{},"window":{}},{"path":"/pages/register/index","meta":{},"window":{}},{"path":"/pages/menu/color/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/menu/colorMoni/index","meta":{},"window":{}},{"path":"/pages/menu/promotion/applyRecord/index","meta":{},"window":{}},{"path":"/pages/menu/promotion/bounsRecord/index","meta":{},"window":{}},{"path":"/pages/menu/withdrawl/transactions/index","meta":{},"window":{}},{"path":"/pages/menu/recharge/rechargeRule","meta":{},"window":{}},{"path":"/pages/menu/withdrawl/withdrawlRecord/index","meta":{},"window":{}},{"path":"/pages/menu/recharge/index","meta":{},"window":{}},{"path":"/pages/menu/recharge/record/index","meta":{},"window":{}},{"path":"/pages/menu/rule/arules/index","meta":{},"window":{}},{"path":"/pages/menu/aplan/index","meta":{},"window":{}},{"path":"/pages/menu/withdrawl/index","meta":{},"window":{}},{"path":"/pages/menu/promotion/promotionRecord/index","meta":{},"window":{}},{"path":"/pages/menu/My/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/menu/promotion/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/menu/index/index","meta":{},"window":{}},{"path":"/pages/login/resetPassword/index","meta":{},"window":{}},{"path":"/pages/menu/rule/index","meta":{},"window":{}},{"path":"/pages/menu/rule/inviteRule/index","meta":{},"window":{}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

16360
unpackage/dist/dev/app-plus/app-service.js

File diff suppressed because one or more lines are too long

10100
unpackage/dist/dev/app-plus/app-view.js

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/app-plus/manifest.json

@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__7E21D6D","name":"first","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#34026B"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.1.13","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"selectedColor":"#34026B","list":[{"text":"Home","pagePath":"pages/menu/goods/index","iconPath":"./static/tabbar/meun_icon_home_[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"Game","pagePath":"pages/menu/color/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"Promotion","pagePath":"pages/menu/promotion/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"My","pagePath":"pages/menu/My/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"}],"borderStyle":"rgba(0,0,0,0.4)","height":"50px"},"launch_path":"__uniappview.html"}}
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__7E21D6D","name":"first","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#34026B"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.1.13","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"selectedColor":"#34026B","list":[{"text":"Home","pagePath":"pages/menu/goods/index","iconPath":"./static/tabbar/meun_icon_home_[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"Search","pagePath":"pages/menu/search/index","iconPath":"./static/tabbar/meun_icon_search_no[email protected]","selectedIconPath":"./static/tabbar/meun_icon_search[email protected]"},{"text":"Game","pagePath":"pages/menu/color/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"Promotion","pagePath":"pages/menu/promotion/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"},{"text":"My","pagePath":"pages/menu/My/index","iconPath":"./static/tabbar/[email protected]","selectedIconPath":"./static/tabbar/[email protected]"}],"borderStyle":"rgba(0,0,0,0.4)","height":"50px"},"launch_path":"__uniappview.html"}}

BIN
unpackage/dist/dev/app-plus/static/home/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
unpackage/dist/dev/app-plus/static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
unpackage/dist/dev/app-plus/static/tabbar/[email protected]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
unpackage/dist/dev/app-plus/static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
unpackage/dist/dev/app-plus/static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

12
utils/api.js

@ -56,12 +56,12 @@ const api = {
goodsDetail: (params) => Vue.prototype.$axios.post('/api/index/goods',params),
//--------------------------------- moni ---------------------------------
lotteryClassListM: (params) => Vue.prototype.$axios.post('/api/demo/lotteryClassList',params),
nextLotteryPeriodM: (params) => Vue.prototype.$axios.post('/api/demo/nextLotteryPeriod',params),
bettingConfigM: (params) => Vue.prototype.$axios.post('/api/demo/bettingConfig',params),
bettingM: (params) => Vue.prototype.$axios.post('/api/demo/betting',params),
lotteryRecordsM: (params) => Vue.prototype.$axios.post('/api/demo/lotteryRecords',params),
myLotteryRecordsM: (params) => Vue.prototype.$axios.post('/api/demo/myLotteryRecords',params),
// lotteryClassListM: (params) => Vue.prototype.$axios.post('/api/demo/lotteryClassListDemo',params),
nextLotteryPeriodM: (params) => Vue.prototype.$axios.post('/api/lottery/nextLotteryPeriod',params),
bettingConfigM: (params) => Vue.prototype.$axios.post('/api/demo/bettingConfigDemo',params),
bettingM: (params) => Vue.prototype.$axios.post('/api/demo/bettingDemo',params),
lotteryRecordsM: (params) => Vue.prototype.$axios.post('/api/demo/lotteryRecordsDemo',params),
myLotteryRecordsM: (params) => Vue.prototype.$axios.post('/api/demo/myLotteryRecordsDemo',params),
}

Loading…
Cancel
Save