| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 | <template>	<view class="tabPage" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">		<cus-header title='发布问卷' :showback="false"></cus-header>		<image :style="{'top':mt+'px'}" :src="imgBase+'publish_bg.png'" mode="widthFix"></image>		<div class="list">			<div class="list-item adfacjb" v-for="(item,index) in list" :key="index" @click="handleTurnPage(item)">				<div class="list-item-left">					<div class="list-item-left-title">{{item.title}}</div>					<div class="list-item-left-type">{{typeDict[item.type]||'默认版'}}</div>				</div>				<image class="list-item-right" :src="imgBase+'publish_arrow_right.png'"></image>			</div>		</div>		<div class="dialog adffcacjc" v-if="buyShow">			<div class="dialog-box adffcac" :class="{'zyb':type==2}">				<image :src="imgBase+'new_free_close.png'" @click="buyShow=false"></image>				<div class="dialog-box-list adf">					<div class="dialog-box-list-item adffcac" v-for="(item,index) in buyImgList" :key="index">						<image :src="item.img"></image>						<text>{{item.text}}</text>					</div>				</div>				<div class="dialog-box-btn" @click="handleBuy">立即购买</div>			</div>		</div>		<Notice :show="noticeShow" :content="content" @close="noticeShow=false" @handleKnow="handleKnow"></Notice>		<Tabbar :tabbarIndex="1"></Tabbar>	</view></template><script>	import Tabbar from '@/components/CusTabbar/index.vue'	import Notice from '@/components/CusNotice/index.vue'	export default {		components:{ Tabbar, Notice },		data(){			return {				list:[					{ title:'GW+MC PREILL36测评题库版本', type:1 },					{ title:'GW+MC PREILL36测评题库版本', type:2 },					{ title:'PREILL BANK 模型问题库 CN120道', type:2 },				],				type:1,				typeDict:{					1:'基础版',					2:'专业版'				},				buyShow:false,				buyImgList:[					{img:this.$imgBase+'buy_img1.png',text:'全球200+客户'},					{img:this.$imgBase+'buy_img2.png',text:'企业正念'},					{img:this.$imgBase+'buy_img3.png',text:'国际教练专业认证'},					{img:this.$imgBase+'buy_img4.png',text:'4A领导力'}				],				noticeShow:false,				content:`“您正在准备激活一次PERILL團隊發展動態評估问卷调研,这是创衡版权所有的团队发展诊断评估模型,其中的诊断、分析过程将由	“创衡团队教练助手”基于创衡独创的团队教练方法及PERILL诊断模型及知识库来完成,为了更好地辅助你以及团队成员结合问卷陈述评估团队发展动态,我们要请您设置问卷	对应团队的各项属性信息,这些信息将被保存在问卷对应的项目信息中,你可以选择一个既有的项目来复用相关设置,也可以新建一个项目来创建一组新的团队属性信息。	如果您激活的是基础版问卷,项目属性信息设置完成后,您可以直接开始填写问卷;	如果您激活的是专业版或专家版(敬请期待)问卷,项目属性信息设置完成后,您可以点击“转发问卷”按钮,将问卷链接转发给需要填写问卷的团队成员伙伴。	您正在准备激活一次PERILL團隊發展動態評估问卷调研,这是创衡版权所有的团队发展诊断评估模型,其中的诊断、分析过程将由	“创衡团队教练助手”基于创衡独创的团队教练方法及PERILL诊断模型及知识库来完成,为了更好地辅助你以及团队成员结合问卷陈述评估团队发展动态,我们要请您设置问卷	对应团队的各项属性信息,这些信息将被保存在问卷对应的项目信息中,你可以选择一个既有的项目来复用相关设置,也可以新建一个项目来创建一组新的团队属性信息。		如果您激活的是基础版问卷,项目属性信息设置完成后,您可以直接开始填写问卷;	如果您激活的是专业版或专家版(敬请期待)问卷,项目属性信息设置完成后,您可以点击“转发问卷”按钮,将问卷链接转发给需要填写问卷的团队成员伙伴。	您正在准备激活一次PERILL團隊發展動態評估问卷调研,这是创衡版权所有的团队发展诊断评估模型,其中的诊断、分析过程将由	“创衡团队教练助手”基于创衡独创的团队教练方法及PERILL诊断模型及知识库来完成,为了更好地辅助你以及团队成员结合问卷陈述评估团队发展动态,我们要请您设置问卷	对应团队的各项属性信息,这些信息将被保存在问卷对应的项目信息中,你可以选择一个既有的项目来复用相关设置,也可以新建一个项目来创建一组新的团队属性信息。		如果您激活的是基础版问卷,项目属性信息设置完成后,您可以直接开始填写问卷;	如果您激活的是专业版或专家版(敬请期待)问卷,项目属性信息设置完成后,您可以点击“转发问卷”按钮,将问卷链接转发给需要填写问卷的团队成员伙伴。`			}		},		methods:{			handleTurnPage(item){				this.type = item.type;				// this.buyShow = true;				this.noticeShow = true;			},			handleBuy(){				uni.navigateTo({					url:'/pagesPublish/rechargeCenter'				})			},			handleKnow(){				this.noticeShow = false;				uni.navigateTo({					url:'/pagesPublish/fillTeamInfo'				})			}		}	}</script><style scoped lang="scss">	.tabPage{		padding: 0;				&>image{			width: 100%;			position: absolute;			left: 0;			right: 0;		}				.list{			margin-top: 369rpx;			position: relative;			padding: 0 24rpx;			&-item{				margin-top: 20rpx;				background: #FFFFFF;				border-radius: 24rpx;				padding: 40rpx 30rpx;				&:first-child{					margin-top: 0;				}				&-left{					width: calc(100% - 50rpx);					padding-right: 30rpx;					box-sizing: border-box;					&-title{						font-family: PingFang-SC, PingFang-SC;						font-weight: bold;						font-size: 30rpx;						color: #002846;						line-height: 42rpx;						text-overflow: ellipsis;						overflow: hidden;						white-space: nowrap;					}					&-type{						background: #FFEFB9;						border-radius: 8rpx;						margin-top: 20rpx;						padding: 2rpx 13rpx;						font-family: PingFangSC, PingFang SC;						font-weight: 400;						font-size: 24rpx;						color: #6F4611;						line-height: 33rpx;						letter-spacing: 2rpx;						display: inline-block;					}				}				&-right{					width: 50rpx;					height: 50rpx;				}			}		}			.dialog{			position: fixed;			left: 0;			right: 0;			top: 0;			bottom: 0;			z-index: 1000;			background: rgba(0, 0, 0, .6);						&-box{				width: calc(100% - 48rpx);				background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_bg.png') no-repeat;				background-size: 100% 100%;				padding: 308rpx 30rpx 40rpx;				box-sizing: border-box;				position: relative;				&.zyb{					background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_bg_zyb.png') no-repeat;					background-size: 100% 100%;				}				&>image{					width: 48rpx;					height: 48rpx;					position: absolute;					top: 0;					right: 30rpx;				}				&-list{					width: 100%;					justify-content: space-between;					&-item{						width: calc(25% - 16rpx);						image{							width: 80rpx;							height: 80rpx;						}						text{							font-family: PingFangSC, PingFang SC;							font-weight: 400;							font-size: 22rpx;							color: #6F4611;							line-height: 30rpx;							text-align: center;							margin-top: 24rpx;						}					}				}				&-btn{					width: calc(100% - 70rpx);					height: 88rpx;					background: linear-gradient( 90deg, #EBB56C 0%, #FCEAD0 100%);					border-radius: 44rpx;					margin-top: 27rpx;					font-family: PingFang-SC, PingFang-SC;					font-weight: bold;					font-size: 32rpx;					color: #6F4611;					line-height: 88rpx;					text-align: center;					letter-spacing: 2rpx;				}			}		}	}</style>
 |