You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
938 B
55 lines
938 B
<template>
|
|
<view class="content">
|
|
<navigation>Rules</navigation>
|
|
<view class="p1" v-html="betting_rule">
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
<script>
|
|
import cont from "@/components/navigation/navigation.vue"
|
|
export default {
|
|
data() {
|
|
return {
|
|
betting_rule:'',
|
|
}
|
|
},
|
|
onLoad(){
|
|
uni.request({
|
|
url: '/start/api/lottery/bettingConfig',
|
|
data: {
|
|
"ticket": uni.getStorageSync('logInfo').data,
|
|
},
|
|
header: {
|
|
'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8' //自定义请求头信息
|
|
},
|
|
method: 'POST', //请求方式 或GET,必须为大写
|
|
success: (res) => {
|
|
this.betting_rule=res.data.data.tips;
|
|
},
|
|
fail: (res) => {
|
|
console.log(res);
|
|
}
|
|
});
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.p1{
|
|
padding: 70rpx 36rpx;
|
|
}
|
|
.v-card__text p{
|
|
margin-left: 0 !important;
|
|
line-height: 60rpx !important;
|
|
}
|
|
</style>
|
|
|