<template>
	<view class="page">
		<navBar title="设置" :back="true" color="black" background="white" />
		<!-- <u-switch v-model="value1" activeColor="#5ac725" loading></u-switch> -->
		<view class="content">
			<view class="item" style="border-radius: 0rpx 0rpx 0rpx 24rpx;;">
				<view class="line">
					<view class="left">
						显示售价
					</view>
					<view class="right">
						<u-switch v-model="value" @change="change" activeColor="#F7790C"
							inactiveColor="#E6E6E6"></u-switch>
					</view>
				</view>
				<view class="line" v-if="role!='svip'">
					<view class="left">
						显示会员价
					</view>
					<view class="right">
						<u-switch v-model="value1" @change="change" activeColor="#F7790C"
							inactiveColor="#E6E6E6"></u-switch>
					</view>
				</view>
				<view class="line" v-if="role!='cydg'">
					<view class="left">
						显示VIP价
					</view>
					<view class="right">
						<u-switch v-model="value2" @change="change" activeColor="#F7790C"
							inactiveColor="#E6E6E6"></u-switch>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		components: {

		},
		data() {
			return {
				role: '',
				role: '',
				value: false,
				value1: true,
				value2: false,

			}
		},
		onLoad(o) {
			this.role = o.role
		},
		methods: {
			change() {

			}
		}
	}
</script>

<style lang="scss" scoped>
	@import "./index.scss";
</style>