公告更新
This commit is contained in:
parent
bc88a048aa
commit
91c5592191
|
|
@ -8,13 +8,13 @@
|
|||
// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
|
||||
|
||||
// h5
|
||||
const ROOTPATH1 = "https://web.hnsiyao.cn/czg/"; //
|
||||
const ROOTPATH = "https://web.hnsiyao.cn/czg/"; //后台服务域名
|
||||
const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
|
||||
// const ROOTPATH1 = "https://web.hnsiyao.cn/czg/"; //
|
||||
// const ROOTPATH = "https://web.hnsiyao.cn/czg/"; //后台服务域名
|
||||
// const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
|
||||
|
||||
// const ROOTPATH1 = "https://web-api.hnsiyao.cn/czg/"; //
|
||||
// const ROOTPATH = "https://web-api.hnsiyao.cn/czg/"; //后台服务域名
|
||||
// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
|
||||
const ROOTPATH1 = "https://web-api.hnsiyao.cn/czg/"; //
|
||||
const ROOTPATH = "https://web-api.hnsiyao.cn/czg/"; //后台服务域名
|
||||
const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
|
||||
|
||||
// const ROOTPATH1 = "http://192.168.1.41:8100/czg/"; //
|
||||
// const ROOTPATH = "http://192.168.1.41:8100/czg/"; //后台服务域名
|
||||
|
|
|
|||
|
|
@ -109,15 +109,14 @@
|
|||
|
||||
</view>
|
||||
|
||||
<u-modal v-model="ruleShow" confirm-text="知道了" title="规则说明" :title-style="{fontWeight:'700'}" confirm-color="rgb(255, 117, 129)">
|
||||
|
||||
<u-modal v-model="ruleShow" confirm-text="知道了" @confirm="ruleConfirm" :title="rule_title" :title-style="{fontWeight:'700'}" confirm-color="rgb(255, 117, 129)">
|
||||
<view class="u-p-30 u-text-left">
|
||||
<scroll-view scroll-y="true" style="max-height: 50vh;" >
|
||||
<rich-text class="color-666" :nodes="ruleInfo"></rich-text>
|
||||
<rich-text class="color-666" :nodes="rule_content"></rich-text>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
</u-modal>
|
||||
|
||||
<!-- 激励视频广告 -->
|
||||
<ad-rewarded-video v-if="adRewardedVideo" ref="adRewardedVideo" adpid="1531580352" :loadnext="true" v-slot:default="{loading, error}"
|
||||
:url-callback="urlCallback" @load="onadload" @close="onadclose" @error="onaderror">
|
||||
|
|
@ -127,27 +126,14 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { $cache_config } from '@/store/cashe.js'
|
||||
import { init } from '@/utils/init.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
ruleShow: true,
|
||||
ruleInfo: `
|
||||
用户在平台中对奖励提现的,适用以下规则:
|
||||
<br/>
|
||||
<br/>
|
||||
1,用户的收益达到最低提现金额要求后,可以申请提现,每日只可以提现一笔。
|
||||
<br/>
|
||||
2,用户需要通过支付宝提现,需按照要求绑定支付宝账号并填写提现金额或其他提现所需信息,请确保提供的信息准确无误,以免提现失败。
|
||||
<br/>
|
||||
3,如果用户发现显示「提现失败」,需确认当前填写或绑定的支付宝账号或银行卡账号是否正确,以及支付宝账号是否可用。如果用户发现显示「提现成功」但没到账
|
||||
<br/>
|
||||
(1)如果用户有多个支付宝账号,请检查用户是否提现到了其他支付宝账号。
|
||||
<br/>
|
||||
(2)高峰期提现人数多会导致网络拥堵,显示提现成功之后72小时内属于正常现象,请耐心等候。
|
||||
<br/>
|
||||
4,每日08:00至次日18:00为提现时间,活动的对应奖励可能延迟到账。提现通常会在72小时内到账,如遇双休日、节假日,提现到账时间可能会延长。活动高峰期间,由于网络拥堵,用户可能存在短时间内无法提现的情况。平台将尽最大努力及时恢复提现功能,但无需因此承担任何责任。
|
||||
<br/>
|
||||
`,
|
||||
rule_title: "",
|
||||
rule_content: "",
|
||||
money: '',
|
||||
mayMoney: '0',
|
||||
shouxufei: '',
|
||||
|
|
@ -185,11 +171,21 @@
|
|||
adRewardedVideo: true,
|
||||
adRewardedVideoloadNum: 0,
|
||||
isWithdraw: false,
|
||||
withdrawNum: $cache_config.withdrawNum,
|
||||
ruleIndex: 0,
|
||||
ruleList: []
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.getExtractFei();
|
||||
this.getMoneyDetail();
|
||||
this.$Request.getT("app/announcement", {type: 1}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.ruleList = res.data
|
||||
this.ruleInit()
|
||||
}
|
||||
});
|
||||
this.configInit()
|
||||
},
|
||||
onShow() {
|
||||
this.token = uni.getStorageSync('token')
|
||||
|
|
@ -206,6 +202,7 @@
|
|||
|
||||
}
|
||||
})
|
||||
|
||||
},
|
||||
onReachBottom: function() {
|
||||
if (this.page * this.limit < this.totalCount) {
|
||||
|
|
@ -229,6 +226,37 @@
|
|||
this.getCanCash()
|
||||
},
|
||||
methods: {
|
||||
async configInit(){
|
||||
if(!$cache_config.withdrawNum){
|
||||
const res = await init(true)
|
||||
this.withdrawNum = $cache_config.withdrawNum
|
||||
}
|
||||
},
|
||||
|
||||
ruleInit(){
|
||||
this.rule_title = this.ruleList[this.ruleIndex].title
|
||||
this.rule_content = this.ruleList[this.ruleIndex].content
|
||||
},
|
||||
/**
|
||||
* 规则弹窗打开
|
||||
*/
|
||||
showRule(){
|
||||
console.log(this.ruleIndex)
|
||||
this.ruleInit()
|
||||
this.ruleShow = true
|
||||
},
|
||||
ruleConfirm(){
|
||||
this.ruleIndex++
|
||||
if( this.ruleIndex >= this.ruleList.length) {
|
||||
this.ruleIndex = 0
|
||||
return
|
||||
}
|
||||
this.ruleShow = false
|
||||
setTimeout(res=>{
|
||||
this.ruleInit()
|
||||
this.ruleShow = true
|
||||
},300)
|
||||
},
|
||||
/**
|
||||
* 获取看广告状态
|
||||
*/
|
||||
|
|
@ -296,12 +324,7 @@
|
|||
}
|
||||
|
||||
},
|
||||
/**
|
||||
* 规则弹窗打开
|
||||
*/
|
||||
showRule(){
|
||||
this.ruleShow=true
|
||||
},
|
||||
|
||||
moneyInput(e) {
|
||||
let num = e.detail.value.match(/^\d*(\.?\d{0,2})/g)[0] || null;
|
||||
this.$nextTick(() => {
|
||||
|
|
@ -491,7 +514,7 @@
|
|||
if (that.shouxufei > 0) {
|
||||
uni.showModal({
|
||||
title: "提现申请提示",
|
||||
content: '每日只可提现一次',
|
||||
content: `每日只可提现${this.withdrawNum}次`,
|
||||
success: (e) => {
|
||||
if (e.confirm) {
|
||||
uni.showModal({
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@
|
|||
style="width: 100%;height: 100%;position: fixed;top: 0;z-index: 999;background: url('../../static/images/index_guide.png') no-repeat center bottom / 100%;background-color: rgba(0, 0, 0, 0.8);">
|
||||
</div>
|
||||
<!-- #endif -->
|
||||
<u-modal v-model="ruleShow" confirm-text="知道了" :title="rule_title" :title-style="{fontWeight:'700'}" confirm-color="rgb(255, 117, 129)">
|
||||
<u-modal v-model="ruleShow" confirm-text="知道了" @confirm="ruleConfirm" :title="rule_title" :title-style="{fontWeight:'700'}" confirm-color="rgb(255, 117, 129)">
|
||||
<view class="u-p-30 u-text-left">
|
||||
<scroll-view scroll-y="true" style="max-height: 50vh;" >
|
||||
<rich-text class="color-666" :nodes="rule_content"></rich-text>
|
||||
|
|
@ -280,6 +280,8 @@
|
|||
ruleShow: false,
|
||||
rule_title: '',
|
||||
rule_content: '',
|
||||
ruleIndex: 0,
|
||||
ruleList: []
|
||||
};
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
|
|
@ -432,13 +434,11 @@
|
|||
|
||||
},
|
||||
onReady() {
|
||||
httpsRequest.getT("app/announcement", {}).then(res => {
|
||||
httpsRequest.getT("app/announcement", {type: 0}).then(res => {
|
||||
if (res.code == 0) {
|
||||
if (res.data && res.data.state == 1) {
|
||||
this.ruleShow = true
|
||||
this.rule_title = res.data.title
|
||||
this.rule_content = res.data.content
|
||||
}
|
||||
this.ruleList = res.data
|
||||
this.ruleInit()
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
@ -471,6 +471,23 @@
|
|||
this.getCourseList()
|
||||
},
|
||||
methods: {
|
||||
ruleInit(){
|
||||
this.rule_title = this.ruleList[this.ruleIndex].title
|
||||
this.rule_content = this.ruleList[this.ruleIndex].content
|
||||
},
|
||||
|
||||
ruleConfirm(){
|
||||
this.ruleIndex++
|
||||
if( this.ruleIndex >= this.ruleList.length) {
|
||||
this.ruleIndex = 0
|
||||
return
|
||||
}
|
||||
this.ruleShow = false
|
||||
setTimeout(res=>{
|
||||
this.ruleInit()
|
||||
this.ruleShow = true
|
||||
},300)
|
||||
},
|
||||
//新用户红包 837
|
||||
newUserRedInit(){
|
||||
if($cache_config.isNewUserRedPack!==null&&$cache_config.isNewUserRedPack!==undefined){
|
||||
|
|
|
|||
|
|
@ -45,7 +45,8 @@ const $map = {
|
|||
858: 'isAccountPay',
|
||||
860: 'dyadUnitId',
|
||||
881: '',
|
||||
109: ''
|
||||
109: '',
|
||||
922: 'withdrawNum'
|
||||
}
|
||||
|
||||
function callback() {
|
||||
|
|
@ -78,8 +79,7 @@ function callback() {
|
|||
}
|
||||
export async function init(isNowRequest=false) {
|
||||
if(!$cache_config||$cache_config.isEmpty()||isNowRequest){
|
||||
httpsRequest.getT('/app/common/getAppUseKv').then(res => {
|
||||
console.log(res);
|
||||
const res=await httpsRequest.getT('/app/common/getAppUseKv')
|
||||
if (res.code == 0) {
|
||||
for (let i in $map) {
|
||||
const key = $map[i]
|
||||
|
|
@ -90,7 +90,7 @@ export async function init(isNowRequest=false) {
|
|||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue