publish.vue 8.0 KB

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