提交代码
This commit is contained in:
parent
9a80aec3c3
commit
13549bb040
47
pages.json
47
pages.json
|
|
@ -7,7 +7,8 @@
|
||||||
"^detail-preview-popup$": "@/components/detail-preview-popup/detail-preview-popup.vue",
|
"^detail-preview-popup$": "@/components/detail-preview-popup/detail-preview-popup.vue",
|
||||||
"^banner$": "@/components/banner/banner.vue"
|
"^banner$": "@/components/banner/banner.vue"
|
||||||
},
|
},
|
||||||
"pages": [{
|
"pages": [
|
||||||
|
{
|
||||||
"path": "pages/shouye/index",
|
"path": "pages/shouye/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
|
|
@ -143,7 +144,6 @@
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/user/vip",
|
"path": "pages/user/vip",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -210,7 +210,6 @@
|
||||||
"navigationBarTextStyle": "black"
|
"navigationBarTextStyle": "black"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/user/change",
|
"path": "pages/user/change",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -219,7 +218,6 @@
|
||||||
"navigationBarTextStyle": "black"
|
"navigationBarTextStyle": "black"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/chouka/detail",
|
"path": "pages/chouka/detail",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -234,7 +232,6 @@
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/infinite/index",
|
"path": "pages/infinite/index",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -273,7 +270,6 @@
|
||||||
"navigationBarTitleText": "绑定手机号"
|
"navigationBarTitleText": "绑定手机号"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/shouye/yaoqing_ranking",
|
"path": "pages/shouye/yaoqing_ranking",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
@ -305,46 +301,50 @@
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
"path": "pages/shouye/dada_ranking",
|
"path": "pages/shouye/dada_ranking",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/infinite/reward_records",
|
"path": "pages/infinite/reward_records",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/shouye/danye",
|
"path": "pages/shouye/danye",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/other/prize_draw",
|
"path": "pages/other/prize_draw",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/other/order_list",
|
"path": "pages/other/order_list",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/other/order_info",
|
"path": "pages/other/order_info",
|
||||||
"style" :
|
"style": {
|
||||||
{
|
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/guize/guize",
|
||||||
|
"style": {
|
||||||
|
"navigationBarBackgroundColor": "#FFFFFF",
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"navigationBarTextStyle": "black"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"subPackages": [],
|
"subPackages": [],
|
||||||
|
|
@ -362,7 +362,8 @@
|
||||||
"borderStyle": "black",
|
"borderStyle": "black",
|
||||||
"backgroundColor": "#FFFFFF",
|
"backgroundColor": "#FFFFFF",
|
||||||
"iconWidth": "48rpx",
|
"iconWidth": "48rpx",
|
||||||
"list": [{
|
"list": [
|
||||||
|
{
|
||||||
"pagePath": "pages/shouye/index",
|
"pagePath": "pages/shouye/index",
|
||||||
"iconPath": "static/tabbar/m1.png",
|
"iconPath": "static/tabbar/m1.png",
|
||||||
"selectedIconPath": "static/tabbar/s1.png",
|
"selectedIconPath": "static/tabbar/s1.png",
|
||||||
|
|
|
||||||
127
pages/guize/guize.vue
Normal file
127
pages/guize/guize.vue
Normal 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>
|
||||||
Loading…
Reference in New Issue
Block a user