更改项目
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
node_modules/
|
||||||
56
App.vue
56
App.vue
@@ -1,38 +1,54 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
import http from '@/until/http.js';
|
||||||
onLaunch: function() {
|
export default {
|
||||||
// console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')
|
onLaunch: function () {
|
||||||
console.log('App Launch')
|
this.getInfo()
|
||||||
},
|
},
|
||||||
onShow: function() {
|
onHide: function () {
|
||||||
console.log('App Show')
|
uni.removeStorageSync('Theme_Data')
|
||||||
},
|
},
|
||||||
onHide: function() {
|
methods: {
|
||||||
console.log('App Hide')
|
async getInfo() {
|
||||||
|
http.get('/api/Theme/get_theme_data').then(response => {
|
||||||
|
const {
|
||||||
|
data,
|
||||||
|
code
|
||||||
|
} = response
|
||||||
|
if(code) {
|
||||||
|
if(data) {
|
||||||
|
uni.setStorageSync('Theme_Data',JSON.stringify(data))
|
||||||
|
} else {
|
||||||
|
uni.setStorageSync('Theme_Data','')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}).catch(error => {
|
||||||
|
uni.setStorageSync('Theme_Data','')
|
||||||
|
});
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import '@/static/public.css';
|
@import '@/static/public.css';
|
||||||
/*每个页面公共css */
|
/*每个页面公共css */
|
||||||
@import '@/uni_modules/uni-scss/index.scss';
|
@import '@/uni_modules/uni-scss/index.scss';
|
||||||
/* #ifndef APP-NVUE */
|
/* #ifndef APP-NVUE */
|
||||||
@import '@/static/customicons.css';
|
@import '@/static/customicons.css';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 设置整个项目的背景色
|
// 设置整个项目的背景色
|
||||||
page {
|
page {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -10,6 +10,14 @@
|
|||||||
"backgroundColor": "#00000000",
|
"backgroundColor": "#00000000",
|
||||||
"webview": {
|
"webview": {
|
||||||
"transparent": "always" // 确保 Webview 透明
|
"transparent": "always" // 确保 Webview 透明
|
||||||
|
},
|
||||||
|
"packOptions": {
|
||||||
|
"ignore":[
|
||||||
|
{
|
||||||
|
"type":"folder",
|
||||||
|
"value":"node_modules"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"usingComponents": true,
|
"usingComponents": true,
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "yusheng-H5",
|
"name": "fanyin-h5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|||||||
@@ -127,7 +127,6 @@
|
|||||||
id
|
id
|
||||||
} = options
|
} = options
|
||||||
uni.setStorageSync('token', id)
|
uni.setStorageSync('token', id)
|
||||||
// this.statusBarHeight = h
|
|
||||||
this.errorPage = id ? false : true
|
this.errorPage = id ? false : true
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||||
<!-- <headerHeight /> -->
|
<!-- <headerHeight /> -->
|
||||||
<navBar :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}" :navTitle="'帮助与反馈'" :emitBack="true" @backEvent="back">
|
<navBar :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}" :navTitle="'帮助与反馈'" :emitBack="true" @backEvent="back">
|
||||||
</navBar>
|
</navBar>
|
||||||
@@ -100,6 +100,7 @@
|
|||||||
limit: 10,
|
limit: 10,
|
||||||
typeData: null,
|
typeData: null,
|
||||||
typeId: null,
|
typeId: null,
|
||||||
|
ThemeData:null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -110,6 +111,9 @@
|
|||||||
if (uni.getStorageSync('token')) this.getHelpList()
|
if (uni.getStorageSync('token')) this.getHelpList()
|
||||||
this.statusBarHeight = h
|
this.statusBarHeight = h
|
||||||
uni.setStorageSync('BarHeight', h)
|
uni.setStorageSync('BarHeight', h)
|
||||||
|
if(uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getHelpList() {
|
async getHelpList() {
|
||||||
@@ -220,7 +224,6 @@
|
|||||||
// padding: 32rpx;
|
// padding: 32rpx;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
|
||||||
|
|||||||
@@ -54,15 +54,6 @@
|
|||||||
} = options
|
} = options
|
||||||
if (id) this.getDetail(id)
|
if (id) this.getDetail(id)
|
||||||
},
|
},
|
||||||
// onShow() {
|
|
||||||
// if(uni.getStorageSync('statusBarHeight')) {
|
|
||||||
// this.statusBarHeight = uni.getStorageSync('statusBarHeight')
|
|
||||||
// } else {
|
|
||||||
// const systemInfo = uni.getSystemInfoSync(); // 获取系统信息
|
|
||||||
// this.statusBarHeight = systemInfo.statusBarHeight
|
|
||||||
// uni.setStorageSync('statusBarHeight', this.statusBarHeight)
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
methods: {
|
methods: {
|
||||||
getDetail(id) {
|
getDetail(id) {
|
||||||
http.get('/api/Help/help_detail', {
|
http.get('/api/Help/help_detail', {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page" :style="backgroundStyle">
|
||||||
<headerHeight />
|
<headerHeight />
|
||||||
<navBar :navTitle="'青少年模式'" :emitBack="true" @backEvent="back">
|
<navBar :navTitle="'青少年模式'" :emitBack="true" @backEvent="back">
|
||||||
</navBar>
|
</navBar>
|
||||||
@@ -9,13 +9,13 @@
|
|||||||
</NavigationTabs>
|
</NavigationTabs>
|
||||||
</view>
|
</view>
|
||||||
<view class="">
|
<view class="">
|
||||||
<view class="flex-line flex-spaceB w-fill new-box" v-for="(item,index) in dataList" :key="index">
|
<view class="flex-line flex-spaceB w-fill new-box" v-for="(item, index) in dataList" :key="index">
|
||||||
<view class="">
|
<view class="">
|
||||||
<view class="color-3 font-32 font-w500">
|
<view class="color-3 font-32 font-w500">
|
||||||
{{item.title}}
|
{{ item.title }}
|
||||||
</view>
|
</view>
|
||||||
<view class="color-6 mt-24 font-28 font-w400 multi-line">
|
<view class="color-6 mt-24 font-28 font-w400 multi-line">
|
||||||
{{item.introduced}}
|
{{ item.introduced }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="new-box-image">
|
<view class="new-box-image">
|
||||||
@@ -30,11 +30,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import http from '@/until/http.js';
|
import http from '@/until/http.js';
|
||||||
import headerHeight from '@/component/headerHeight.vue';
|
import headerHeight from '@/component/headerHeight.vue';
|
||||||
import navBar from '@/component/nav.vue';
|
import navBar from '@/component/nav.vue';
|
||||||
import NavigationTabs from '@/component/tab.vue';
|
import NavigationTabs from '@/component/tab.vue';
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
headerHeight,
|
headerHeight,
|
||||||
navBar,
|
navBar,
|
||||||
@@ -52,7 +52,21 @@
|
|||||||
loading: false,
|
loading: false,
|
||||||
noMore: false,
|
noMore: false,
|
||||||
tabs: [],
|
tabs: [],
|
||||||
dataList: []
|
dataList: [],
|
||||||
|
ThemeData: null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
backgroundStyle() {
|
||||||
|
if (this.ThemeData.app_bg) {
|
||||||
|
return {
|
||||||
|
backgroundImage: `url(${this.ThemeData.app_bg})`
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return {
|
||||||
|
background: 'linear-gradient(180deg, #B3FAEB 2%, #FFFFFF 40%)'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
@@ -68,6 +82,9 @@
|
|||||||
} = options
|
} = options
|
||||||
uni.setStorageSync('token', id)
|
uni.setStorageSync('token', id)
|
||||||
if (uni.getStorageSync('token')) this.getUnderageTypeList()
|
if (uni.getStorageSync('token')) this.getUnderageTypeList()
|
||||||
|
if (uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
back() {
|
back() {
|
||||||
@@ -145,11 +162,11 @@
|
|||||||
this.getUnderageModeList(data.tab.type)
|
this.getUnderageModeList(data.tab.type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.view-page {
|
.view-page {
|
||||||
// padding: 32rpx;
|
// padding: 32rpx;
|
||||||
background: linear-gradient(180deg, #B3FAEB 2%, #FFFFFF 40%);
|
background: linear-gradient(180deg, #B3FAEB 2%, #FFFFFF 40%);
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
@@ -173,5 +190,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||||
<!-- <headerHeight /> -->
|
<!-- <headerHeight /> -->
|
||||||
<navBar :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}" :navTitle="`关于我们`" :emitBack="true" @backEvent="back">
|
<navBar :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}" :navTitle="`关于我们`" :emitBack="true" @backEvent="back">
|
||||||
</navBar>
|
</navBar>
|
||||||
@@ -20,7 +20,8 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusBarHeight:0
|
statusBarHeight:0,
|
||||||
|
ThemeData:null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -29,6 +30,9 @@
|
|||||||
} = options
|
} = options
|
||||||
this.currentIndex = type !== undefined ? +type : 0
|
this.currentIndex = type !== undefined ? +type : 0
|
||||||
this.statusBarHeight = h
|
this.statusBarHeight = h
|
||||||
|
if(uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
back() {
|
back() {
|
||||||
@@ -52,7 +56,7 @@
|
|||||||
.view-page {
|
.view-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
// background-image: url('@/static/image/help/bg.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
img{
|
img{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||||
<navBar :navTitle="`规则说明`" :style="{'margin-top' : `${statusBarHeight || 0}px`}">
|
<navBar :navTitle="`规则说明`" :style="{'margin-top' : `${statusBarHeight || 0}px`}">
|
||||||
</navBar>
|
</navBar>
|
||||||
<view class="dec-view" v-if="flagIndex !== null">
|
<view class="dec-view" v-if="flagIndex !== null">
|
||||||
@@ -18,7 +18,8 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
statusBarHeight:0,
|
statusBarHeight:0,
|
||||||
flagIndex:null
|
flagIndex:null,
|
||||||
|
ThemeData:null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -27,6 +28,9 @@
|
|||||||
} = options
|
} = options
|
||||||
this.flagIndex = +flag
|
this.flagIndex = +flag
|
||||||
this.statusBarHeight = h
|
this.statusBarHeight = h
|
||||||
|
if(uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -35,7 +39,7 @@
|
|||||||
.view-page {
|
.view-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
// background-image: url('@/static/image/help/bg.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
img{
|
img{
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page" >
|
<view class="view-page"
|
||||||
|
:style="{ backgroundImage: `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')` }">
|
||||||
<headerHeight />
|
<headerHeight />
|
||||||
<navBar :navTitle="'公会详情'">
|
<navBar :navTitle="'公会详情'">
|
||||||
<template #rightView>
|
<template #rightView>
|
||||||
@@ -17,20 +18,20 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="info-detail">
|
<view class="info-detail">
|
||||||
<view class="union-title">
|
<view class="union-title">
|
||||||
{{detailData.guild_name}}
|
{{ detailData.guild_name }}
|
||||||
</view>
|
</view>
|
||||||
<view class="union-id">
|
<view class="union-id">
|
||||||
ID:{{detailData.guild_special_id}}
|
ID:{{ detailData.guild_special_id }}
|
||||||
</view>
|
</view>
|
||||||
<view class="union-date">
|
<view class="union-date">
|
||||||
{{detailData.createtime}}
|
{{ detailData.createtime }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="like-box">
|
<view class="like-box">
|
||||||
<uni-icons type="heart" size="20"></uni-icons>
|
<uni-icons type="heart" size="20"></uni-icons>
|
||||||
<span class="ml-6">
|
<span class="ml-6">
|
||||||
{{detailData.total_transaction}}
|
{{ detailData.total_transaction }}
|
||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -55,7 +56,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="info-view">
|
<view class="info-view">
|
||||||
<view class="">
|
<view class="">
|
||||||
{{detailData.user_data.nickname}}
|
{{ detailData.user_data.nickname }}
|
||||||
</view>
|
</view>
|
||||||
<view class="iconTag-view"
|
<view class="iconTag-view"
|
||||||
v-if="detailData.user_data.icon || detailData.user_data.icon.length">
|
v-if="detailData.user_data.icon || detailData.user_data.icon.length">
|
||||||
@@ -76,20 +77,20 @@
|
|||||||
公会介绍
|
公会介绍
|
||||||
</view>
|
</view>
|
||||||
<view class="user-dec">
|
<view class="user-dec">
|
||||||
{{detailData.intro || '暂无数据'}}
|
{{ detailData.intro || '暂无数据' }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="footer" v-if="!detailData.is_join">
|
<view class="footer" v-if="!detailData.is_join">
|
||||||
<view class="confirm-button" @click="applyToJoin">
|
<view class="confirm-button" @click="applyToJoin">
|
||||||
<view class="button">
|
<view class="button">
|
||||||
{{buttonText}}
|
{{ buttonText }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="footer" v-if="detailData.is_leader">
|
<view class="footer" v-if="detailData.is_leader">
|
||||||
<view class="confirm-button" @click="dissolveUnion">
|
<view class="confirm-button" @click="dissolveUnion">
|
||||||
<view class="button">
|
<view class="button">
|
||||||
{{buttonText}}
|
{{ buttonText }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -104,7 +105,7 @@
|
|||||||
温馨提示
|
温馨提示
|
||||||
</view>
|
</view>
|
||||||
<view class="color-3 font-24 messageContent">
|
<view class="color-3 font-24 messageContent">
|
||||||
{{messageContent}}
|
{{ messageContent }}
|
||||||
</view>
|
</view>
|
||||||
<view class="popup_button flex-line">
|
<view class="popup_button flex-line">
|
||||||
<view class="close_button flex-line" @click="closePopup">
|
<view class="close_button flex-line" @click="closePopup">
|
||||||
@@ -121,12 +122,12 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import headerHeight from '@/component/headerHeight.vue';
|
import headerHeight from '@/component/headerHeight.vue';
|
||||||
import navBar from '@/component/nav.vue';
|
import navBar from '@/component/nav.vue';
|
||||||
import http from '@/until/http.js';
|
import http from '@/until/http.js';
|
||||||
import logout from '@/static/image/union/logout.png'
|
import logout from '@/static/image/union/logout.png'
|
||||||
import logo from '@/static/image/logo.png';
|
import logo from '@/static/image/logo.png';
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
headerHeight,
|
headerHeight,
|
||||||
navBar
|
navBar
|
||||||
@@ -142,7 +143,8 @@
|
|||||||
popupStstus: null,
|
popupStstus: null,
|
||||||
messageText: "",
|
messageText: "",
|
||||||
messageContent: '',
|
messageContent: '',
|
||||||
msgType: "success"
|
msgType: "success",
|
||||||
|
ThemeData: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -153,6 +155,9 @@
|
|||||||
this.getDetail(id)
|
this.getDetail(id)
|
||||||
this.getUserInfo()
|
this.getUserInfo()
|
||||||
}
|
}
|
||||||
|
if (uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 获取用户信息 拿实名信息
|
// 获取用户信息 拿实名信息
|
||||||
@@ -170,8 +175,8 @@
|
|||||||
// 获取公会信息
|
// 获取公会信息
|
||||||
async getDetail(Id) {
|
async getDetail(Id) {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
mask:true,
|
mask: true,
|
||||||
title:'加载中'
|
title: '加载中'
|
||||||
})
|
})
|
||||||
http.get('/api/Guild/guild_detail', {
|
http.get('/api/Guild/guild_detail', {
|
||||||
id: Id,
|
id: Id,
|
||||||
@@ -183,7 +188,7 @@
|
|||||||
code
|
code
|
||||||
} = response
|
} = response
|
||||||
this.detailData = code ? data : null
|
this.detailData = code ? data : null
|
||||||
if(data) {
|
if (data) {
|
||||||
this.buttonText = !data.is_leader ? data.is_join ? '退出公会' : '申请加入公会' : '解散公会'
|
this.buttonText = !data.is_leader ? data.is_join ? '退出公会' : '申请加入公会' : '解散公会'
|
||||||
this.buttonStatus = !data.is_leader ? data.is_join ? 0 : 1 : 2
|
this.buttonStatus = !data.is_leader ? data.is_join ? 0 : 1 : 2
|
||||||
}
|
}
|
||||||
@@ -196,12 +201,12 @@
|
|||||||
if (index === 1) {
|
if (index === 1) {
|
||||||
// 公会成员
|
// 公会成员
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/union/unionMembers?id=${this.detailData.id?? null}&leader=${this.detailData.is_leader || 0}`
|
url: `/pages/union/unionMembers?id=${this.detailData.id ?? null}&leader=${this.detailData.is_leader || 0}`
|
||||||
});
|
});
|
||||||
} else if (index === 2) {
|
} else if (index === 2) {
|
||||||
// 公会补贴
|
// 公会补贴
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/union/subsidy?id=${this.detailData.id?? null}&leader=${this.detailData.is_leader || 0}`
|
url: `/pages/union/subsidy?id=${this.detailData.id ?? null}&leader=${this.detailData.is_leader || 0}`
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// 群聊抛出
|
// 群聊抛出
|
||||||
@@ -219,13 +224,13 @@
|
|||||||
});
|
});
|
||||||
} else if (platform === 'android') {
|
} else if (platform === 'android') {
|
||||||
// 调用 Android 原生方法
|
// 调用 Android 原生方法
|
||||||
window.Android.enterGroupChat(this.detailData.group_id,this.detailData.cover,this.detailData.guild_name);
|
window.Android.enterGroupChat(this.detailData.group_id, this.detailData.cover, this.detailData.guild_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// 房间
|
// 房间
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/union/roomAndflow?id=${this.detailData.id?? null}&leader=${this.detailData.is_leader || 0}`
|
url: `/pages/union/roomAndflow?id=${this.detailData.id ?? null}&leader=${this.detailData.is_leader || 0}`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -338,7 +343,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 跳转公会长个人页面
|
// 跳转公会长个人页面
|
||||||
jumpHomePage(data){
|
jumpHomePage(data) {
|
||||||
const platform = uni.getSystemInfoSync().platform;
|
const platform = uni.getSystemInfoSync().platform;
|
||||||
if (platform === 'ios') {
|
if (platform === 'ios') {
|
||||||
window.webkit.messageHandlers.nativeHandler.postMessage({
|
window.webkit.messageHandlers.nativeHandler.postMessage({
|
||||||
@@ -401,11 +406,11 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.view-page {
|
.view-page {
|
||||||
// padding: 32rpx;
|
// padding: 32rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -666,5 +671,5 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page"
|
||||||
|
:style="{ backgroundImage: `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')` }">
|
||||||
<headerHeight />
|
<headerHeight />
|
||||||
<navBar :navTitle="`退出审核`">
|
<navBar :navTitle="`退出审核`">
|
||||||
</navBar>
|
</navBar>
|
||||||
@@ -58,6 +59,7 @@
|
|||||||
guild_id: 0,
|
guild_id: 0,
|
||||||
token: uni.getStorageSync('token') ?? ''
|
token: uni.getStorageSync('token') ?? ''
|
||||||
},
|
},
|
||||||
|
ThemeData:null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -66,6 +68,9 @@
|
|||||||
} = options
|
} = options
|
||||||
this.searchParams.guild_id = id
|
this.searchParams.guild_id = id
|
||||||
if (id) this.getList()
|
if (id) this.getList()
|
||||||
|
if (uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async RefuseOrAgreeData(ele,type){
|
async RefuseOrAgreeData(ele,type){
|
||||||
@@ -106,7 +111,6 @@
|
|||||||
.view-page {
|
.view-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page"
|
||||||
|
:style="{ backgroundImage: `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')` }">
|
||||||
<headerHeight />
|
<headerHeight />
|
||||||
<navBar :navTitle="`历史记录`">
|
<navBar :navTitle="`历史记录`">
|
||||||
</navBar>
|
</navBar>
|
||||||
@@ -10,11 +11,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import headerHeight from '@/component/headerHeight.vue';
|
import headerHeight from '@/component/headerHeight.vue';
|
||||||
import http from '@/until/http.js';
|
import http from '@/until/http.js';
|
||||||
import navBar from '@/component/nav.vue';
|
import navBar from '@/component/nav.vue';
|
||||||
import tableView from '@/component/newTable.vue'
|
import tableView from '@/component/newTable.vue'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
headerHeight,
|
headerHeight,
|
||||||
navBar,
|
navBar,
|
||||||
@@ -24,14 +25,15 @@
|
|||||||
return {
|
return {
|
||||||
guildId: null,
|
guildId: null,
|
||||||
dataList: [],
|
dataList: [],
|
||||||
pageConfig:{
|
pageConfig: {
|
||||||
currentPage:1,
|
currentPage: 1,
|
||||||
pageSize:10
|
pageSize: 10
|
||||||
},
|
},
|
||||||
searchParams: {
|
searchParams: {
|
||||||
guild_id: 0,
|
guild_id: 0,
|
||||||
token: uni.getStorageSync('token') ?? ''
|
token: uni.getStorageSync('token') ?? ''
|
||||||
},
|
},
|
||||||
|
ThemeData: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -40,6 +42,9 @@
|
|||||||
} = options
|
} = options
|
||||||
this.searchParams.guild_id = id
|
this.searchParams.guild_id = id
|
||||||
if (id) this.getList()
|
if (id) this.getList()
|
||||||
|
if (uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getList() {
|
async getList() {
|
||||||
@@ -69,14 +74,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.view-page {
|
.view-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
// background-image: url('@/static/image/help/bg.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
|
||||||
@@ -87,5 +92,5 @@
|
|||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
border-radius: 32rpx 32rpx 0rpx 0rpx;
|
border-radius: 32rpx 32rpx 0rpx 0rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||||
<navBar :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}"
|
<navBar :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}"
|
||||||
:navTitle="'公会中心'" :emitBack="true" @backEvent="back">
|
:navTitle="'公会中心'" :emitBack="true" @backEvent="back">
|
||||||
<template #rightView>
|
<template #rightView>
|
||||||
@@ -90,7 +90,8 @@
|
|||||||
isMerber: null,
|
isMerber: null,
|
||||||
listData: [],
|
listData: [],
|
||||||
UnionByUser: null,
|
UnionByUser: null,
|
||||||
statusBarHeight: 0
|
statusBarHeight: 0,
|
||||||
|
ThemeData:null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -105,6 +106,9 @@
|
|||||||
}
|
}
|
||||||
this.statusBarHeight = h
|
this.statusBarHeight = h
|
||||||
uni.setStorageSync('BarHeight', h)
|
uni.setStorageSync('BarHeight', h)
|
||||||
|
if(uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (!this.loading && !this.noMore) {
|
if (!this.loading && !this.noMore) {
|
||||||
@@ -247,7 +251,7 @@
|
|||||||
// min-height: 100vh;
|
// min-height: 100vh;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
// background-image: url('@/static/image/help/bg.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||||
<!-- <headerHeight /> -->
|
<!-- <headerHeight /> -->
|
||||||
<navBar :navTitle="'查看成员'" :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}">
|
<navBar :navTitle="'查看成员'" :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}">
|
||||||
</navBar>
|
</navBar>
|
||||||
@@ -51,7 +51,8 @@
|
|||||||
},
|
},
|
||||||
loading:false,
|
loading:false,
|
||||||
noMore:true,
|
noMore:true,
|
||||||
dataList: []
|
dataList: [],
|
||||||
|
ThemeData:null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -62,6 +63,9 @@
|
|||||||
this.guildId = guildId
|
this.guildId = guildId
|
||||||
this.statusBarHeight = h || uni.getStorageSync('BarHeight')
|
this.statusBarHeight = h || uni.getStorageSync('BarHeight')
|
||||||
if(this.guildId) this.getList()
|
if(this.guildId) this.getList()
|
||||||
|
if (uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
jumpHomePage(data){
|
jumpHomePage(data){
|
||||||
@@ -130,7 +134,6 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(this.dataList)
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -141,7 +144,7 @@
|
|||||||
// padding: 32rpx;
|
// padding: 32rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
// background-image: url('@/static/image/help/bg.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||||
<headerHeight />
|
<headerHeight />
|
||||||
<navBar :navTitle="`${ leaderStatus ? '公会房间及流水' : '公会房间'}`">
|
<navBar :navTitle="`${ leaderStatus ? '公会房间及流水' : '公会房间'}`">
|
||||||
<template #rightView>
|
<template #rightView>
|
||||||
@@ -85,7 +85,8 @@
|
|||||||
},
|
},
|
||||||
leaderStatus: null,
|
leaderStatus: null,
|
||||||
flowDetail: null,
|
flowDetail: null,
|
||||||
flowList:[]
|
flowList:[],
|
||||||
|
ThemeData:null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -99,6 +100,9 @@
|
|||||||
this.searchParams.end_time = this.formatDate(new Date())
|
this.searchParams.end_time = this.formatDate(new Date())
|
||||||
this.searchParams.guild_id = id
|
this.searchParams.guild_id = id
|
||||||
if (id) this.getFlow()
|
if (id) this.getFlow()
|
||||||
|
if (uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (!this.loading && !this.noMore) {
|
if (!this.loading && !this.noMore) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||||
<!-- <headerHeight /> -->
|
<!-- <headerHeight /> -->
|
||||||
<navBar :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}" :navTitle="'群聊设置'" :emitBack="true" @backEvent="back">
|
<navBar :style="{marginTop: `${statusBarHeight}${uni.getSystemInfoSync().platform === 'ios' ? 'px': 'dp'}`}" :navTitle="'群聊设置'" :emitBack="true" @backEvent="back">
|
||||||
</navBar>
|
</navBar>
|
||||||
@@ -91,6 +91,7 @@
|
|||||||
},
|
},
|
||||||
statusBarHeight:0,
|
statusBarHeight:0,
|
||||||
placeholderStyle: "color:321;font-size:14px",
|
placeholderStyle: "color:321;font-size:14px",
|
||||||
|
ThemeData:null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -104,6 +105,9 @@
|
|||||||
this.getInfo()
|
this.getInfo()
|
||||||
}
|
}
|
||||||
this.statusBarHeight = h || uni.getStorageSync('BarHeight')
|
this.statusBarHeight = h || uni.getStorageSync('BarHeight')
|
||||||
|
if(uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
// 关闭当前公会中心页面
|
// 关闭当前公会中心页面
|
||||||
@@ -203,7 +207,7 @@
|
|||||||
// padding: 32rpx;
|
// padding: 32rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
// background-image: url('@/static/image/help/bg.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page" :style="{backgroundImage : `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')`}">
|
||||||
<headerHeight />
|
<headerHeight />
|
||||||
<navBar :navTitle="`公会补贴`">
|
<navBar :navTitle="`公会补贴`">
|
||||||
<template #rightView>
|
<template #rightView>
|
||||||
@@ -56,6 +56,7 @@
|
|||||||
guild_id: 0,
|
guild_id: 0,
|
||||||
token: uni.getStorageSync('token') ?? '',
|
token: uni.getStorageSync('token') ?? '',
|
||||||
},
|
},
|
||||||
|
ThemeData:null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -66,6 +67,9 @@
|
|||||||
this.leaderStatus = +leader
|
this.leaderStatus = +leader
|
||||||
this.searchParams.guild_id = id
|
this.searchParams.guild_id = id
|
||||||
if (id) this.getSubsidy()
|
if (id) this.getSubsidy()
|
||||||
|
if(uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//
|
//
|
||||||
@@ -89,7 +93,7 @@
|
|||||||
.view-page {
|
.view-page {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
// background-image: url('@/static/image/help/bg.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
.content-view{
|
.content-view{
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="view-page">
|
<view class="view-page"
|
||||||
|
:style="{ backgroundImage: `url('${ThemeData?.app_bg ?? 'https://vespa.qxmier.com/image/bg.png'}')` }">
|
||||||
<headerHeight />
|
<headerHeight />
|
||||||
<navBar :navTitle="`公会成员`">
|
<navBar :navTitle="`公会成员`">
|
||||||
<template #rightView>
|
<template #rightView>
|
||||||
<view class="icon-right flex-line"
|
<view class="icon-right flex-line" v-if="leaderStatus" @click="application">
|
||||||
v-if="leaderStatus" @click="application">
|
|
||||||
<view class="font-24" style="color:#333;white-space: nowrap">
|
<view class="font-24" style="color:#333;white-space: nowrap">
|
||||||
退出审核
|
退出审核
|
||||||
</view>
|
</view>
|
||||||
@@ -14,8 +14,7 @@
|
|||||||
<view class="content_view">
|
<view class="content_view">
|
||||||
<view v-if="leaderStatus">
|
<view v-if="leaderStatus">
|
||||||
<uni-datetime-picker style="background-color: #f8f8f8;" start-placeholder="开始时间" :end="currentDate"
|
<uni-datetime-picker style="background-color: #f8f8f8;" start-placeholder="开始时间" :end="currentDate"
|
||||||
end-placeholder="结束时间" v-model="dateSearch" type="range" rangeSeparator="至"
|
end-placeholder="结束时间" v-model="dateSearch" type="range" rangeSeparator="至" @change="changeDate" />
|
||||||
@change="changeDate" />
|
|
||||||
</view>
|
</view>
|
||||||
<view class="header-view" v-if="flowDetail && leaderStatus">
|
<view class="header-view" v-if="flowDetail && leaderStatus">
|
||||||
<view class="flex-line flow-view w-fill flex-spaceB">
|
<view class="flex-line flow-view w-fill flex-spaceB">
|
||||||
@@ -24,7 +23,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="flowNumber">
|
<view class="flowNumber">
|
||||||
{{flowDetail.total_consumption}}
|
{{ flowDetail.total_consumption }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="room-list flex-line mt-24" v-if="dataList && dataList.length">
|
<view class="room-list flex-line mt-24" v-if="dataList && dataList.length">
|
||||||
@@ -42,10 +41,10 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="ml-20">
|
<view class="ml-20">
|
||||||
<view class="color-3 font-32 font-w500">
|
<view class="color-3 font-32 font-w500">
|
||||||
{{data.nickname}}
|
{{ data.nickname }}
|
||||||
</view>
|
</view>
|
||||||
<view class="color-6 font-24" style="margin-top: 12rpx;">
|
<view class="color-6 font-24" style="margin-top: 12rpx;">
|
||||||
ID:{{data.user_code}}
|
ID:{{ data.user_code }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -54,7 +53,7 @@
|
|||||||
<img src="@/static/image/union/flowIcon.png" alt="" />
|
<img src="@/static/image/union/flowIcon.png" alt="" />
|
||||||
</view>
|
</view>
|
||||||
<view class="ml-20">
|
<view class="ml-20">
|
||||||
{{data.total_consumption || 0}}
|
{{ data.total_consumption || 0 }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -78,7 +77,7 @@
|
|||||||
温馨提示
|
温馨提示
|
||||||
</view>
|
</view>
|
||||||
<view class="color-3 font-24 messageContent">
|
<view class="color-3 font-24 messageContent">
|
||||||
{{messageContent}}
|
{{ messageContent }}
|
||||||
</view>
|
</view>
|
||||||
<view class="popup_button flex-line">
|
<view class="popup_button flex-line">
|
||||||
<view class="close_button flex-line" @click="closePopup">
|
<view class="close_button flex-line" @click="closePopup">
|
||||||
@@ -95,18 +94,18 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import headerHeight from '@/component/headerHeight.vue';
|
import headerHeight from '@/component/headerHeight.vue';
|
||||||
import navBar from '@/component/nav.vue';
|
import navBar from '@/component/nav.vue';
|
||||||
import http from '@/until/http.js';
|
import http from '@/until/http.js';
|
||||||
import logo from '@/static/image/logo.png'
|
import logo from '@/static/image/logo.png'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
headerHeight,
|
headerHeight,
|
||||||
navBar
|
navBar
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
dateSearch: [new Date(),new Date()],
|
dateSearch: [new Date(), new Date()],
|
||||||
currentDate: +new Date(),
|
currentDate: +new Date(),
|
||||||
logo,
|
logo,
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -131,7 +130,8 @@
|
|||||||
messageText: '',
|
messageText: '',
|
||||||
messageContent: '',
|
messageContent: '',
|
||||||
dataList: [],
|
dataList: [],
|
||||||
currentUserData: null
|
currentUserData: null,
|
||||||
|
ThemeData: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
@@ -145,6 +145,9 @@
|
|||||||
this.searchParams.start_time = this.formatDate(new Date())
|
this.searchParams.start_time = this.formatDate(new Date())
|
||||||
this.searchParams.end_time = this.formatDate(new Date())
|
this.searchParams.end_time = this.formatDate(new Date())
|
||||||
if (id) this.getList()
|
if (id) this.getList()
|
||||||
|
if (uni.getStorageSync('Theme_Data')) {
|
||||||
|
this.ThemeData = JSON.parse(uni.getStorageSync('Theme_Data'))
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (!this.loading && !this.noMore) {
|
if (!this.loading && !this.noMore) {
|
||||||
@@ -152,7 +155,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
application(){
|
application() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/union/exitApplication?id=${this.searchParams.guild_id}`
|
url: `/pages/union/exitApplication?id=${this.searchParams.guild_id}`
|
||||||
});
|
});
|
||||||
@@ -203,7 +206,7 @@
|
|||||||
this.messageContent = `亲爱的会长,您当前操作将踢出该成员,是否继续?`
|
this.messageContent = `亲爱的会长,您当前操作将踢出该成员,是否继续?`
|
||||||
this.$refs.popup.open('center')
|
this.$refs.popup.open('center')
|
||||||
},
|
},
|
||||||
jumpHomePage(data){
|
jumpHomePage(data) {
|
||||||
const platform = uni.getSystemInfoSync().platform;
|
const platform = uni.getSystemInfoSync().platform;
|
||||||
if (platform === 'ios') {
|
if (platform === 'ios') {
|
||||||
window.webkit.messageHandlers.nativeHandler.postMessage({
|
window.webkit.messageHandlers.nativeHandler.postMessage({
|
||||||
@@ -252,15 +255,15 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.view-page {
|
.view-page {
|
||||||
// padding: 24rpx 32rpx;
|
// padding: 24rpx 32rpx;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||||
background-image: url('@/static/image/help/bg.png');
|
// background-image: url('@/static/image/help/bg.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
|
||||||
@@ -371,6 +374,7 @@
|
|||||||
|
|
||||||
.head-portrait-view {
|
.head-portrait-view {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.tip {
|
.tip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@@ -390,5 +394,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
15
unpackage/dist/cache/.vite/deps/_metadata.json
vendored
Normal file
15
unpackage/dist/cache/.vite/deps/_metadata.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"hash": "1c17547c",
|
||||||
|
"configHash": "ad10b693",
|
||||||
|
"lockfileHash": "49722671",
|
||||||
|
"browserHash": "588f021d",
|
||||||
|
"optimized": {
|
||||||
|
"axios": {
|
||||||
|
"src": "../../../../../node_modules/axios/index.js",
|
||||||
|
"file": "axios.js",
|
||||||
|
"fileHash": "c27ebd03",
|
||||||
|
"needsInterop": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chunks": {}
|
||||||
|
}
|
||||||
2534
unpackage/dist/cache/.vite/deps/axios.js
vendored
Normal file
2534
unpackage/dist/cache/.vite/deps/axios.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
unpackage/dist/cache/.vite/deps/axios.js.map
vendored
Normal file
7
unpackage/dist/cache/.vite/deps/axios.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
3
unpackage/dist/cache/.vite/deps/package.json
vendored
Normal file
3
unpackage/dist/cache/.vite/deps/package.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"type": "module"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user