提交代码

This commit is contained in:
zpc 2025-04-21 13:17:51 +08:00
parent 9a80aec3c3
commit 13549bb040
2 changed files with 151 additions and 23 deletions

View File

@ -7,7 +7,8 @@
"^detail-preview-popup$": "@/components/detail-preview-popup/detail-preview-popup.vue",
"^banner$": "@/components/banner/banner.vue"
},
"pages": [{
"pages": [
{
"path": "pages/shouye/index",
"style": {
"navigationStyle": "custom",
@ -143,7 +144,6 @@
"navigationStyle": "custom"
}
},
{
"path": "pages/user/vip",
"style": {
@ -210,7 +210,6 @@
"navigationBarTextStyle": "black"
}
},
{
"path": "pages/user/change",
"style": {
@ -219,7 +218,6 @@
"navigationBarTextStyle": "black"
}
},
{
"path": "pages/chouka/detail",
"style": {
@ -234,7 +232,6 @@
"navigationStyle": "custom"
}
},
{
"path": "pages/infinite/index",
"style": {
@ -273,7 +270,6 @@
"navigationBarTitleText": "绑定手机号"
}
},
{
"path": "pages/shouye/yaoqing_ranking",
"style": {
@ -305,46 +301,50 @@
"style": {
"navigationStyle": "custom"
}
}, {
},
{
"path": "pages/shouye/dada_ranking",
"style": {
"navigationStyle": "custom"
}
},
{
"path" : "pages/infinite/reward_records",
"style" :
{
"path": "pages/infinite/reward_records",
"style": {
"navigationStyle": "custom"
}
},
{
"path" : "pages/shouye/danye",
"style" :
{
"path": "pages/shouye/danye",
"style": {
"navigationStyle": "custom"
}
},
{
"path" : "pages/other/prize_draw",
"style" :
{
"path": "pages/other/prize_draw",
"style": {
"navigationStyle": "custom"
}
},
{
"path" : "pages/other/order_list",
"style" :
{
"path": "pages/other/order_list",
"style": {
"navigationStyle": "custom"
}
},
{
"path" : "pages/other/order_info",
"style" :
{
"path": "pages/other/order_info",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/guize/guize",
"style": {
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTitleText": "",
"navigationBarTextStyle": "black"
}
}
],
"subPackages": [],
@ -362,7 +362,8 @@
"borderStyle": "black",
"backgroundColor": "#FFFFFF",
"iconWidth": "48rpx",
"list": [{
"list": [
{
"pagePath": "pages/shouye/index",
"iconPath": "static/tabbar/m1.png",
"selectedIconPath": "static/tabbar/s1.png",

127
pages/guize/guize.vue Normal file
View File

@ -0,0 +1,127 @@
<template>
<view class="guize">
<view v-html="rule" style="color: #676767;"></view>
</view>
</template>
<script>
import uParse from '@/components/gaoyia-parse/parse.vue'
export default {
components: {
uParse
},
data() {
return {
z_imgUrl: this.$z_imgUrl,
rule: '',
title: ''
}
},
onLoad(e) {
console.log(e)
this.getnews(e.type)
let title = '';
if (e.type == 1) {
title = '什么是用户等级'
}
if (e.type == 2) {
title = '等级相关福利'
}
if (e.type == 3) {
title = '公告'
}
if (e.type == 4) {
title = '用户协议'
}
if (e.type == 5) {
title = '隐私政策'
}
if (e.type == 6) {
title = '平台消费规则'
}
if (e.type == 7) {
title = '一番裳购买说明'
}
if (e.type == 8) {
title = '无限赏购买说明'
}
if (e.type == 9) {
title = '排行榜规则'
}
if (e.type == 10) {
title = '发货规则'
}
if (e.type == 11) {
title = ' 请好友规则'
}
if (e.type == 12) {
title = '抽奖券说明'
}
if (e.type == 13) {
title = '权益中心说明'
}
if (e.type == 14) {
title = '领主玩法'
}
if (e.type == 15) {
title = '连击赏玩法'
}
if (e.type == 16) {
title = '签到规则'
}
this.title = title
uni.setNavigationBarTitle({
title: title
})
},
methods: {
getnews(e) {
let that = this;
that.req({
url: 'danye',
data: {
type: e,
},
success(res) {
if (res.status == 1) {
var rule = res.data
that.rule = rule.replaceAll('style="text-wrap: nowrap;"','')
}
}
})
},
}
}
</script>
<style>
>>>span{
text-wrap: wrap !important;
}
.text_2,
.text_3 {
font-size: 28rpx;
margin-top: 60rpx;
}
.text_1 {
margin-top: 30rpx;
font-size: 32rpx;
color: #fff;
}
.guize {
width: 100vw;
min-height: 100vh;
position: relative;
padding: 24rpx;
background-color: #FFFFFF;
box-sizing: border-box;
}
</style>