publish.vue 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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. <div class="notice adffc" v-if="noticeShow">
  27. <div class="notice-box adffc">
  28. <div class="notice-box-title">问卷须知</div>
  29. <image class="notice-box-close" :src="imgBase+'remind_close.png'" @click="noticeShow=false"></image>
  30. <div class="notice-box-content">
  31. <u-parse :content='content' style="color: #667E90;font-size: 26rpx;line-height: 42rpx;"></u-parse>
  32. </div>
  33. <div class="notice-box-bottom">
  34. <div class="notice-box-bottom-btn" @click="handleKnow">我已知晓</div>
  35. </div>
  36. </div>
  37. </div>
  38. <Tabbar :tabbarIndex="1"></Tabbar>
  39. </view>
  40. </template>
  41. <script>
  42. import Tabbar from '@/components/CusTabbar/index.vue'
  43. export default {
  44. components:{ Tabbar },
  45. data(){
  46. return {
  47. list:[
  48. { title:'GW+MC PREILL36测评题库版本', type:1 },
  49. { title:'GW+MC PREILL36测评题库版本', type:2 },
  50. { title:'PREILL BANK 模型问题库 CN120道', type:2 },
  51. ],
  52. typeDict:{
  53. 1:'基础版',
  54. 2:'专业版'
  55. },
  56. buyShow:false,
  57. buyImgList:[
  58. {img:this.$imgBase+'buy_img1.png',text:'全球200+客户'},
  59. {img:this.$imgBase+'buy_img2.png',text:'企业正念'},
  60. {img:this.$imgBase+'buy_img3.png',text:'国际教练专业认证'},
  61. {img:this.$imgBase+'buy_img4.png',text:'4A领导力'}
  62. ],
  63. noticeShow:false,
  64. content:`“您正在准备激活一次PERILL團隊發展動態評估问卷调研,这是创衡版权所有的团队发展诊断评估模型,其中的诊断、分析过程将由 “创衡团队教练助手”基于创衡独创的团队教练方法及PERILL诊断模型及知识库来完成,为了更好地辅助你以及团队成员结合问卷陈述评估团队发展动态,我们要请您设置问卷 对应团队的各项属性信息,这些信息将被保存在问卷对应的项目信息中,你可以选择一个既有的项目来复用相关设置,也可以新建一个项目来创建一组新的团队属性信息。
  65. 如果您激活的是基础版问卷,项目属性信息设置完成后,您可以直接开始填写问卷;
  66. 如果您激活的是专业版或专家版(敬请期待)问卷,项目属性信息设置完成后,您可以点击“转发问卷”按钮,将问卷链接转发给需要填写问卷的团队成员伙伴。
  67. 您正在准备激活一次PERILL團隊發展動態評估问卷调研,这是创衡版权所有的团队发展诊断评估模型,其中的诊断、分析过程将由 “创衡团队教练助手”基于创衡独创的团队教练方法及PERILL诊断模型及知识库来完成,为了更好地辅助你以及团队成员结合问卷陈述评估团队发展动态,我们要请您设置问卷 对应团队的各项属性信息,这些信息将被保存在问卷对应的项目信息中,你可以选择一个既有的项目来复用相关设置,也可以新建一个项目来创建一组新的团队属性信息。
  68. 如果您激活的是基础版问卷,项目属性信息设置完成后,您可以直接开始填写问卷;
  69. 如果您激活的是专业版或专家版(敬请期待)问卷,项目属性信息设置完成后,您可以点击“转发问卷”按钮,将问卷链接转发给需要填写问卷的团队成员伙伴。
  70. 您正在准备激活一次PERILL團隊發展動態評估问卷调研,这是创衡版权所有的团队发展诊断评估模型,其中的诊断、分析过程将由 “创衡团队教练助手”基于创衡独创的团队教练方法及PERILL诊断模型及知识库来完成,为了更好地辅助你以及团队成员结合问卷陈述评估团队发展动态,我们要请您设置问卷 对应团队的各项属性信息,这些信息将被保存在问卷对应的项目信息中,你可以选择一个既有的项目来复用相关设置,也可以新建一个项目来创建一组新的团队属性信息。
  71. 如果您激活的是基础版问卷,项目属性信息设置完成后,您可以直接开始填写问卷;
  72. 如果您激活的是专业版或专家版(敬请期待)问卷,项目属性信息设置完成后,您可以点击“转发问卷”按钮,将问卷链接转发给需要填写问卷的团队成员伙伴。`
  73. }
  74. },
  75. methods:{
  76. handleTurnPage(){
  77. // this.buyShow = true;
  78. this.noticeShow = true;
  79. },
  80. handleBuy(){
  81. uni.navigateTo({
  82. url:'/pagesPublish/rechargeCenter'
  83. })
  84. },
  85. handleKnow(){
  86. this.noticeShow = false;
  87. uni.navigateTo({
  88. url:'/pagesPublish/fillTeamInfo'
  89. })
  90. }
  91. }
  92. }
  93. </script>
  94. <style scoped lang="scss">
  95. .tabPage{
  96. padding: 0;
  97. &>image{
  98. width: 100%;
  99. position: absolute;
  100. left: 0;
  101. right: 0;
  102. }
  103. .list{
  104. margin-top: 369rpx;
  105. position: relative;
  106. padding: 0 24rpx;
  107. &-item{
  108. margin-top: 20rpx;
  109. background: #FFFFFF;
  110. border-radius: 24rpx;
  111. padding: 40rpx 30rpx;
  112. &:first-child{
  113. margin-top: 0;
  114. }
  115. &-left{
  116. width: calc(100% - 50rpx);
  117. padding-right: 30rpx;
  118. box-sizing: border-box;
  119. &-title{
  120. font-family: PingFang-SC, PingFang-SC;
  121. font-weight: bold;
  122. font-size: 30rpx;
  123. color: #002846;
  124. line-height: 42rpx;
  125. text-overflow: ellipsis;
  126. overflow: hidden;
  127. white-space: nowrap;
  128. }
  129. &-type{
  130. background: #FFEFB9;
  131. border-radius: 8rpx;
  132. margin-top: 20rpx;
  133. padding: 2rpx 13rpx;
  134. font-family: PingFangSC, PingFang SC;
  135. font-weight: 400;
  136. font-size: 24rpx;
  137. color: #6F4611;
  138. line-height: 33rpx;
  139. letter-spacing: 2rpx;
  140. display: inline-block;
  141. }
  142. }
  143. &-right{
  144. width: 50rpx;
  145. height: 50rpx;
  146. }
  147. }
  148. }
  149. .dialog{
  150. position: fixed;
  151. left: 0;
  152. right: 0;
  153. top: 0;
  154. bottom: 0;
  155. z-index: 1000;
  156. background: rgba(0, 0, 0, .6);
  157. &-box{
  158. width: calc(100% - 48rpx);
  159. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_bg.png') no-repeat;
  160. background-size: 100% 100%;
  161. padding: 308rpx 30rpx 40rpx;
  162. box-sizing: border-box;
  163. position: relative;
  164. &>image{
  165. width: 48rpx;
  166. height: 48rpx;
  167. position: absolute;
  168. top: 0;
  169. right: 30rpx;
  170. }
  171. &-list{
  172. width: 100%;
  173. justify-content: space-between;
  174. &-item{
  175. width: calc(25% - 16rpx);
  176. image{
  177. width: 80rpx;
  178. height: 80rpx;
  179. }
  180. text{
  181. font-family: PingFangSC, PingFang SC;
  182. font-weight: 400;
  183. font-size: 22rpx;
  184. color: #6F4611;
  185. line-height: 30rpx;
  186. text-align: center;
  187. margin-top: 24rpx;
  188. }
  189. }
  190. }
  191. &-btn{
  192. width: calc(100% - 70rpx);
  193. height: 88rpx;
  194. background: linear-gradient( 90deg, #EBB56C 0%, #FCEAD0 100%);
  195. border-radius: 44rpx;
  196. margin-top: 27rpx;
  197. font-family: PingFang-SC, PingFang-SC;
  198. font-weight: bold;
  199. font-size: 32rpx;
  200. color: #6F4611;
  201. line-height: 88rpx;
  202. text-align: center;
  203. letter-spacing: 2rpx;
  204. }
  205. }
  206. }
  207. .notice{
  208. position: fixed;
  209. left: 0;
  210. right: 0;
  211. top: 0;
  212. bottom: 0;
  213. background: rgba(0, 0, 0, .6);
  214. z-index: 1000;
  215. justify-content: flex-end;
  216. &-box{
  217. height: calc(100% - 317rpx);
  218. background: #FFFFFF;
  219. border-radius: 24rpx 24rpx 0rpx 0rpx;
  220. position: relative;
  221. &-title{
  222. font-family: PingFang-SC, PingFang-SC;
  223. font-weight: bold;
  224. font-size: 36rpx;
  225. color: #002846;
  226. line-height: 36rpx;
  227. text-align: center;
  228. margin-top: 48rpx;
  229. }
  230. &-close{
  231. width: 48rpx;
  232. height: 48rpx;
  233. position: absolute;
  234. top: 48rpx;
  235. right: 30rpx;
  236. }
  237. &-content{
  238. overflow-y: auto;
  239. padding: 43rpx 40rpx 182rpx;
  240. }
  241. &-bottom{
  242. background: #FFFFFF;
  243. box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(0,0,0,0.07);
  244. padding: 20rpx 50rpx 54rpx;
  245. position: absolute;
  246. left: 0;
  247. right: 0;
  248. bottom: 0;
  249. &-btn{
  250. width: 100%;
  251. height: 88rpx;
  252. background: #904A87;
  253. border-radius: 44rpx;
  254. font-family: PingFang-SC, PingFang-SC;
  255. font-weight: bold;
  256. font-size: 32rpx;
  257. color: #FFFFFF;
  258. line-height: 88rpx;
  259. text-align: center;
  260. letter-spacing: 2rpx;
  261. }
  262. }
  263. }
  264. }
  265. }
  266. </style>