publish.vue 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <template>
  2. <view class="tabPage" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title='发布问卷' :showback="false"></cus-header>
  4. <image :style="{'top':mt+'px'}" :src="imgBase+'publish_bg.png'" mode="widthFix"></image>
  5. <div class="list">
  6. <div class="list-item adfacjb" v-for="(item,index) in list" :key="index" @click="handleTurnPage">
  7. <div class="list-item-left">
  8. <div class="list-item-left-title">{{item.title}}</div>
  9. <div class="list-item-left-type">{{typeDict[item.type]||'默认版'}}</div>
  10. </div>
  11. <image class="list-item-right" :src="imgBase+'publish_arrow_right.png'"></image>
  12. </div>
  13. </div>
  14. <div class="dialog adffcacjc" v-if="buyShow">
  15. <div class="dialog-box adffcac">
  16. <image :src="imgBase+'new_free_close.png'" @click="buyShow=false"></image>
  17. <div class="dialog-box-list adf">
  18. <div class="dialog-box-list-item adffcac" v-for="(item,index) in buyImgList" :key="index">
  19. <image :src="item.img"></image>
  20. <text>{{item.text}}</text>
  21. </div>
  22. </div>
  23. <div class="dialog-box-btn" @click="handleBuy">立即购买</div>
  24. </div>
  25. </div>
  26. <Notice :show="noticeShow" :content="content" @close="noticeShow=false" @handleKnow="handleKnow"></Notice>
  27. <Tabbar :tabbarIndex="1"></Tabbar>
  28. </view>
  29. </template>
  30. <script>
  31. import Tabbar from '@/components/CusTabbar/index.vue'
  32. import Notice from '@/components/CusNotice/index.vue'
  33. export default {
  34. components:{ Tabbar, Notice },
  35. data(){
  36. return {
  37. list:[
  38. { title:'GW+MC PREILL36测评题库版本', type:1 },
  39. { title:'GW+MC PREILL36测评题库版本', type:2 },
  40. { title:'PREILL BANK 模型问题库 CN120道', type:2 },
  41. ],
  42. typeDict:{
  43. 1:'基础版',
  44. 2:'专业版'
  45. },
  46. buyShow:false,
  47. buyImgList:[
  48. {img:this.$imgBase+'buy_img1.png',text:'全球200+客户'},
  49. {img:this.$imgBase+'buy_img2.png',text:'企业正念'},
  50. {img:this.$imgBase+'buy_img3.png',text:'国际教练专业认证'},
  51. {img:this.$imgBase+'buy_img4.png',text:'4A领导力'}
  52. ],
  53. noticeShow:false,
  54. content:`“您正在准备激活一次PERILL團隊發展動態評估问卷调研,这是创衡版权所有的团队发展诊断评估模型,其中的诊断、分析过程将由 “创衡团队教练助手”基于创衡独创的团队教练方法及PERILL诊断模型及知识库来完成,为了更好地辅助你以及团队成员结合问卷陈述评估团队发展动态,我们要请您设置问卷 对应团队的各项属性信息,这些信息将被保存在问卷对应的项目信息中,你可以选择一个既有的项目来复用相关设置,也可以新建一个项目来创建一组新的团队属性信息。
  55. 如果您激活的是基础版问卷,项目属性信息设置完成后,您可以直接开始填写问卷;
  56. 如果您激活的是专业版或专家版(敬请期待)问卷,项目属性信息设置完成后,您可以点击“转发问卷”按钮,将问卷链接转发给需要填写问卷的团队成员伙伴。
  57. 您正在准备激活一次PERILL團隊發展動態評估问卷调研,这是创衡版权所有的团队发展诊断评估模型,其中的诊断、分析过程将由 “创衡团队教练助手”基于创衡独创的团队教练方法及PERILL诊断模型及知识库来完成,为了更好地辅助你以及团队成员结合问卷陈述评估团队发展动态,我们要请您设置问卷 对应团队的各项属性信息,这些信息将被保存在问卷对应的项目信息中,你可以选择一个既有的项目来复用相关设置,也可以新建一个项目来创建一组新的团队属性信息。
  58. 如果您激活的是基础版问卷,项目属性信息设置完成后,您可以直接开始填写问卷;
  59. 如果您激活的是专业版或专家版(敬请期待)问卷,项目属性信息设置完成后,您可以点击“转发问卷”按钮,将问卷链接转发给需要填写问卷的团队成员伙伴。
  60. 您正在准备激活一次PERILL團隊發展動態評估问卷调研,这是创衡版权所有的团队发展诊断评估模型,其中的诊断、分析过程将由 “创衡团队教练助手”基于创衡独创的团队教练方法及PERILL诊断模型及知识库来完成,为了更好地辅助你以及团队成员结合问卷陈述评估团队发展动态,我们要请您设置问卷 对应团队的各项属性信息,这些信息将被保存在问卷对应的项目信息中,你可以选择一个既有的项目来复用相关设置,也可以新建一个项目来创建一组新的团队属性信息。
  61. 如果您激活的是基础版问卷,项目属性信息设置完成后,您可以直接开始填写问卷;
  62. 如果您激活的是专业版或专家版(敬请期待)问卷,项目属性信息设置完成后,您可以点击“转发问卷”按钮,将问卷链接转发给需要填写问卷的团队成员伙伴。`
  63. }
  64. },
  65. methods:{
  66. handleTurnPage(){
  67. // this.buyShow = true;
  68. this.noticeShow = true;
  69. },
  70. handleBuy(){
  71. uni.navigateTo({
  72. url:'/pagesPublish/rechargeCenter'
  73. })
  74. },
  75. handleKnow(){
  76. this.noticeShow = false;
  77. uni.navigateTo({
  78. url:'/pagesPublish/fillTeamInfo'
  79. })
  80. }
  81. }
  82. }
  83. </script>
  84. <style scoped lang="scss">
  85. .tabPage{
  86. padding: 0;
  87. &>image{
  88. width: 100%;
  89. position: absolute;
  90. left: 0;
  91. right: 0;
  92. }
  93. .list{
  94. margin-top: 369rpx;
  95. position: relative;
  96. padding: 0 24rpx;
  97. &-item{
  98. margin-top: 20rpx;
  99. background: #FFFFFF;
  100. border-radius: 24rpx;
  101. padding: 40rpx 30rpx;
  102. &:first-child{
  103. margin-top: 0;
  104. }
  105. &-left{
  106. width: calc(100% - 50rpx);
  107. padding-right: 30rpx;
  108. box-sizing: border-box;
  109. &-title{
  110. font-family: PingFang-SC, PingFang-SC;
  111. font-weight: bold;
  112. font-size: 30rpx;
  113. color: #002846;
  114. line-height: 42rpx;
  115. text-overflow: ellipsis;
  116. overflow: hidden;
  117. white-space: nowrap;
  118. }
  119. &-type{
  120. background: #FFEFB9;
  121. border-radius: 8rpx;
  122. margin-top: 20rpx;
  123. padding: 2rpx 13rpx;
  124. font-family: PingFangSC, PingFang SC;
  125. font-weight: 400;
  126. font-size: 24rpx;
  127. color: #6F4611;
  128. line-height: 33rpx;
  129. letter-spacing: 2rpx;
  130. display: inline-block;
  131. }
  132. }
  133. &-right{
  134. width: 50rpx;
  135. height: 50rpx;
  136. }
  137. }
  138. }
  139. .dialog{
  140. position: fixed;
  141. left: 0;
  142. right: 0;
  143. top: 0;
  144. bottom: 0;
  145. z-index: 1000;
  146. background: rgba(0, 0, 0, .6);
  147. &-box{
  148. width: calc(100% - 48rpx);
  149. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_bg.png') no-repeat;
  150. background-size: 100% 100%;
  151. padding: 308rpx 30rpx 40rpx;
  152. box-sizing: border-box;
  153. position: relative;
  154. &>image{
  155. width: 48rpx;
  156. height: 48rpx;
  157. position: absolute;
  158. top: 0;
  159. right: 30rpx;
  160. }
  161. &-list{
  162. width: 100%;
  163. justify-content: space-between;
  164. &-item{
  165. width: calc(25% - 16rpx);
  166. image{
  167. width: 80rpx;
  168. height: 80rpx;
  169. }
  170. text{
  171. font-family: PingFangSC, PingFang SC;
  172. font-weight: 400;
  173. font-size: 22rpx;
  174. color: #6F4611;
  175. line-height: 30rpx;
  176. text-align: center;
  177. margin-top: 24rpx;
  178. }
  179. }
  180. }
  181. &-btn{
  182. width: calc(100% - 70rpx);
  183. height: 88rpx;
  184. background: linear-gradient( 90deg, #EBB56C 0%, #FCEAD0 100%);
  185. border-radius: 44rpx;
  186. margin-top: 27rpx;
  187. font-family: PingFang-SC, PingFang-SC;
  188. font-weight: bold;
  189. font-size: 32rpx;
  190. color: #6F4611;
  191. line-height: 88rpx;
  192. text-align: center;
  193. letter-spacing: 2rpx;
  194. }
  195. }
  196. }
  197. }
  198. </style>