rechargeCenter.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  1. <template>
  2. <view class="default_page adffc" :style="{'height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title='PERILL团队发展动态评估' bgColor="transparent"></cus-header>
  4. <view class="info adfac">
  5. <view class="info-left">
  6. <image :src="userInfo.headUrl||avatar"></image>
  7. </view>
  8. <view class="info-right">
  9. <view class="info-right-name adfac">
  10. <view class="text">{{userInfo.realName||'游客'}}</view>
  11. <view class="version">{{headData.userBriefText||'普通用户'}}</view>
  12. </view>
  13. <view class="info-right-tip">可用次数:个人版{{headData.basicCount||0}}次,团队版{{headData.proCount||0}}次</view>
  14. </view>
  15. </view>
  16. <view class="box adffc">
  17. <view class="box-tab adfacjb">
  18. <view class="box-tab-pre" :class="{'active':tindex===index}"
  19. v-for="(item,index) in tabList" :key="index" @click="changeTab(index)">{{item}}</view>
  20. </view>
  21. <template v-if="tindex===0">
  22. <template v-if="priceData">
  23. <view style="flex: 1;overflow-y: auto;margin-top: 20rpx;">
  24. <view class="box-yhj">
  25. <view class="box-yhj-top">
  26. <view class="box-yhj-top-xs">限时优惠价</view>
  27. <view class="box-yhj-top-nr adffcac">
  28. <view class="box-yhj-top-nr-title">PERILL团队发展动态评估(个人版)</view>
  29. <view class="box-yhj-top-nr-price">¥{{priceData.discountPrice||priceData.price}}</view>
  30. <view class="box-yhj-top-nr-yj" v-if="priceData.discountPrice">原价 ¥{{priceData.price}}/次,推广价 ¥168/次</view>
  31. <view class="box-yhj-top-nr-yj" style="margin-top: 50rpx;" v-else></view>
  32. </view>
  33. <view class="box-yhj-top-tip" v-if="priceData.discountPrice">活动有效期:{{priceData.startDate||''}} ~ {{priceData.endDate||''}}</view>
  34. <view class="box-yhj-top-tip" v-else></view>
  35. </view>
  36. <view class="box-yhj-title">内容配置对比</view>
  37. <view class="box-yhj-table">
  38. <view class="box-yhj-table-pre adf">
  39. <view class="box-yhj-table-pre-qy qy1"></view>
  40. <view class="box-yhj-table-pre-qy qy2 active title adfacjc">个人版</view>
  41. <view class="box-yhj-table-pre-qy qy3 title adfacjc">团队版</view>
  42. </view>
  43. <view class="box-yhj-table-fwnr adfac">
  44. <view class="box-yhj-table-fwnr-left adffcacjc">服务内容</view>
  45. <view class="box-yhj-table-fwnr-right">
  46. <view class="box-yhj-table-fwnr-right-pre adf">
  47. <view class="box-yhj-table-fwnr-right-pre-qy active">仅从本人角度对团队进行评估</view>
  48. <view class="box-yhj-table-fwnr-right-pre-qy">团队整体评估参与评估的团队成员及利益相关者等其他角色人数最多至25人</view>
  49. </view>
  50. <view class="box-yhj-table-fwnr-right-pre adf">
  51. <view class="box-yhj-table-fwnr-right-pre-qy active">36道评估问题专业陈述</view>
  52. <view class="box-yhj-table-fwnr-right-pre-qy">36道评估问题专业陈述</view>
  53. </view>
  54. <view class="box-yhj-table-fwnr-right-pre adf">
  55. <view class="box-yhj-table-fwnr-right-pre-qy active">评估团队当前状态同意度重要性与影响力</view>
  56. <view class="box-yhj-table-fwnr-right-pre-qy">评估团队当前状态同意度重要性与影响力</view>
  57. </view>
  58. <view class="box-yhj-table-fwnr-right-pre adf">
  59. <view class="box-yhj-table-fwnr-right-pre-qy active">6个维度整体评估结果报告</view>
  60. <view class="box-yhj-table-fwnr-right-pre-qy">评估团队未来提升领域</view>
  61. </view>
  62. <view class="box-yhj-table-fwnr-right-pre adf">
  63. <view class="box-yhj-table-fwnr-right-pre-qy active">团队发展建议</view>
  64. <view class="box-yhj-table-fwnr-right-pre-qy">6个维度整体评估分析结果报告</view>
  65. </view>
  66. <view class="box-yhj-table-fwnr-right-pre adf">
  67. <view class="box-yhj-table-fwnr-right-pre-qy active" style="align-items: center;">- -</view>
  68. <view class="box-yhj-table-fwnr-right-pre-qy">每个维度独立评估结果</view>
  69. </view>
  70. <view class="box-yhj-table-fwnr-right-pre adf">
  71. <view class="box-yhj-table-fwnr-right-pre-qy active" style="align-items: center;">- -</view>
  72. <view class="box-yhj-table-fwnr-right-pre-qy">提供团队发展计划指导与教练建议</view>
  73. </view>
  74. <view class="box-yhj-table-fwnr-right-pre adf">
  75. <view class="box-yhj-table-fwnr-right-pre-qy active" style="align-items: center;">- -</view>
  76. <view class="box-yhj-table-fwnr-right-pre-qy">送1节小鹅通《团队跃迁之路系列课》-30分钟掌握PERILL模型</view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. </template>
  84. <template v-else>
  85. <view class="box-empty adffcacjc">
  86. <image :src="imgBase+'recharge_empty.png'"></image>
  87. <p>暂无定价,请等待相关人员配置~</p>
  88. </view>
  89. </template>
  90. </template>
  91. <template v-if="tindex===1">
  92. <template v-if="priceData">
  93. <view style="flex: 1;overflow-y: auto;margin-top: 20rpx;">
  94. <view class="box-yhj">
  95. <view class="box-yhj-top">
  96. <view class="box-yhj-top-xs">限时优惠价</view>
  97. <view class="box-yhj-top-nr adffcac">
  98. <view class="box-yhj-top-nr-title">PERILL团队发展动态评估(团队版)</view>
  99. <view class="box-yhj-top-nr-price">¥{{priceData.discountPrice||priceData.price}}</view>
  100. <view class="box-yhj-top-nr-yj" v-if="priceData.discountPrice">原价 ¥{{priceData.price}}/次,推广价 ¥1680/次</view>
  101. <view class="box-yhj-top-nr-yj" style="margin-top: 50rpx;" v-else></view>
  102. </view>
  103. <view class="box-yhj-top-tip" v-if="priceData.discountPrice">活动有效期:{{priceData.startDate||''}} ~ {{priceData.endDate||''}}</view>
  104. <view class="box-yhj-top-tip" v-else></view>
  105. </view>
  106. <view class="box-yhj-title">内容配置对比</view>
  107. <view class="box-yhj-table">
  108. <view class="box-yhj-table-pre adf">
  109. <view class="box-yhj-table-pre-qy qy1"></view>
  110. <view class="box-yhj-table-pre-qy qy2 title adfacjc">个人版</view>
  111. <view class="box-yhj-table-pre-qy qy3 active title adfacjc">团队版</view>
  112. </view>
  113. <view class="box-yhj-table-fwnr adfac">
  114. <view class="box-yhj-table-fwnr-left adffcacjc">服务内容</view>
  115. <view class="box-yhj-table-fwnr-right">
  116. <view class="box-yhj-table-fwnr-right-pre adf">
  117. <view class="box-yhj-table-fwnr-right-pre-qy">仅从本人角度对团队进行评估</view>
  118. <view class="box-yhj-table-fwnr-right-pre-qy active">团队整体评估参与评估的团队成员及利益相关者等其他角色人数最多至25人</view>
  119. </view>
  120. <view class="box-yhj-table-fwnr-right-pre adf">
  121. <view class="box-yhj-table-fwnr-right-pre-qy">36道评估问题专业陈述</view>
  122. <view class="box-yhj-table-fwnr-right-pre-qy active">36道评估问题专业陈述</view>
  123. </view>
  124. <view class="box-yhj-table-fwnr-right-pre adf">
  125. <view class="box-yhj-table-fwnr-right-pre-qy">评估团队当前状态同意度重要性与影响力</view>
  126. <view class="box-yhj-table-fwnr-right-pre-qy active">评估团队当前状态同意度重要性与影响力</view>
  127. </view>
  128. <view class="box-yhj-table-fwnr-right-pre adf">
  129. <view class="box-yhj-table-fwnr-right-pre-qy">6个维度整体评估结果报告</view>
  130. <view class="box-yhj-table-fwnr-right-pre-qy active">评估团队未来提升领域</view>
  131. </view>
  132. <view class="box-yhj-table-fwnr-right-pre adf">
  133. <view class="box-yhj-table-fwnr-right-pre-qy">团队发展建议</view>
  134. <view class="box-yhj-table-fwnr-right-pre-qy active">6个维度整体评估分析结果报告</view>
  135. </view>
  136. <view class="box-yhj-table-fwnr-right-pre adf">
  137. <view class="box-yhj-table-fwnr-right-pre-qy" style="align-items: center;">- -</view>
  138. <view class="box-yhj-table-fwnr-right-pre-qy active">每个维度独立评估结果</view>
  139. </view>
  140. <view class="box-yhj-table-fwnr-right-pre adf">
  141. <view class="box-yhj-table-fwnr-right-pre-qy" style="align-items: center;">- -</view>
  142. <view class="box-yhj-table-fwnr-right-pre-qy active">提供团队发展计划指导与教练建议</view>
  143. </view>
  144. <view class="box-yhj-table-fwnr-right-pre adf">
  145. <view class="box-yhj-table-fwnr-right-pre-qy" style="align-items: center;">- -</view>
  146. <view class="box-yhj-table-fwnr-right-pre-qy active">送1节小鹅通《团队跃迁之路系列课》-30分钟掌握PERILL模型</view>
  147. </view>
  148. </view>
  149. </view>
  150. </view>
  151. </view>
  152. </view>
  153. </template>
  154. <template v-else>
  155. <view class="box-empty adffcacjc">
  156. <image :src="imgBase+'recharge_empty.png'"></image>
  157. <p>暂无定价,请等待相关人员配置~</p>
  158. </view>
  159. </template>
  160. </template>
  161. <template v-if="tindex<2">
  162. <view class="box-btn adfacjb">
  163. <view class="box-btn-left adfac">
  164. <view class="box-btn-left-text">实付</view>
  165. <view class="box-btn-left-money adfac"><span>¥</span>{{sumPrice}}</view>
  166. </view>
  167. <view class="box-btn-right" @click="confirmBuy">确认购买</view>
  168. </view>
  169. </template>
  170. <template v-else>
  171. <view class="box-empty adffcacjc">
  172. <image :src="imgBase+'recharge_empty.png'"></image>
  173. <p>团队PRO版正在开发中</p>
  174. <text>敬请期待</text>
  175. </view>
  176. </template>
  177. </view>
  178. <WechatPay ref="wxPay" @confirmPay="toPay" @cancelPay="cancelPay"></WechatPay>
  179. </view>
  180. </template>
  181. <script>
  182. import CusNumberBox from '@/components/CusNumberBox/index.vue'
  183. import WechatPay from '@/components/wechatPay/index.vue'
  184. export default {
  185. components:{ CusNumberBox, WechatPay },
  186. data(){
  187. return {
  188. userInfo:null,
  189. headData:null,
  190. avatar:this.$imgBase+'my_avatar.png',
  191. tabList:['个人版','团队版','团队PRO版'],
  192. typeCfg:{
  193. 1:'个人版',
  194. 2:'团队版',
  195. 0:'团队PRO版',
  196. },
  197. tindex:0,
  198. pindex:'',
  199. frequency:0,
  200. priceList:[],
  201. priceList2:[],
  202. min:11,
  203. otherTimes:11,
  204. price:0,
  205. times:0,
  206. sumPrice:0,
  207. productId:'',
  208. orderNo:'',
  209. priceData:null,
  210. }
  211. },
  212. onLoad(options) {
  213. if(uni.getStorageSync('userInfo')){
  214. this.userInfo = JSON.parse(uni.getStorageSync('userInfo'));
  215. this.getMyInfo(this.userInfo.id);
  216. if(options.type) this.tindex = Number(options.type)||0
  217. this.getList(this.tindex+1)
  218. }
  219. },
  220. methods:{
  221. getTeamScaleData(){
  222. return new Promise(resolve=>{
  223. this.$api.get('/getListByType/user_brief').then(({data:res})=>{
  224. if(res.code!==0) return this.$showToast(res.msg)
  225. resolve(res.data.map(d=>({name:d.dictLabel,id:d.dictValue})))
  226. })
  227. })
  228. },
  229. async getMyInfo(userId){
  230. const userBrief = await this.getTeamScaleData()
  231. this.$api.get(`/wx/myCount/${userId}`,this.params).then(({data:res})=>{
  232. if(res.code!==0) return this.$showToast(res.msg)
  233. this.headData = res.data;
  234. this.$set(this.headData,'userBriefText',userBrief.find(u=>u.id==this.headData.userBrief).name||'普通用户')
  235. if(this.headData&&this.headData.userBriefText&&this.headData.userBriefText=='校友') this.headData.userBriefText = '创衡校友'
  236. })
  237. },
  238. changeTab(index){
  239. this.tindex = index;
  240. this.pindex = '';
  241. this.otherTimes = 11;
  242. this.price = 0;
  243. this.times = 0;
  244. this.sumPrice = 0;
  245. this.getList(this.tindex+1)
  246. },
  247. getList(type){
  248. this.$api.get(`/core/v2/queproduct/listByType/${type}`).then(({data:res})=>{
  249. if(res.code!==0) return this.$showToast(res.msg)
  250. this.priceData = res.data[0]||null
  251. if(this.priceData){
  252. this.productId = this.priceData.id;
  253. this.priceData.startDate = this.priceData.beginAt?new Date(this.priceData.beginAt).Format('yyyy年MM月dd日'):'';
  254. this.priceData.endDate = this.priceData.endAt?new Date(this.priceData.endAt).Format('yyyy年MM月dd日'):'';
  255. this.sumPrice = this.priceData.discountPrice||this.priceData.price||0;
  256. }
  257. })
  258. },
  259. changePrice(item,index){
  260. this.productId = item.id;
  261. this.pindex = index;
  262. this.frequency = item.frequency;
  263. this.price = item.price;
  264. this.times = item.frequency;
  265. if(this.frequency>10){
  266. this.otherTimes = 11;
  267. this.sumPrice = this.price*this.otherTimes;
  268. } else this.sumPrice = this.price;
  269. },
  270. valueChange(val){
  271. this.otherTimes = val;
  272. this.times = this.otherTimes;
  273. this.sumPrice = this.price*this.otherTimes;
  274. },
  275. confirmBuy(){
  276. this.$api.post('/que/order/createOrder',{
  277. payAmount:this.sumPrice,
  278. productId:this.productId,
  279. totalAmount:this.sumPrice,
  280. totalFrequency:1,
  281. type:this.tindex+1,
  282. userId:this.userInfo.id
  283. }).then(({data:res})=>{
  284. if(res.code!==0) return this.$showToast(res.msg||'购买失败,请稍微重试')
  285. this.orderNo = res.data;
  286. this.$refs.wxPay.payShow = true;
  287. })
  288. },
  289. toPay(){
  290. this.$api.post('/pay/createOrder',{
  291. orderNo:this.orderNo,
  292. openId:this.userInfo.openId
  293. }).then(({data:res})=>{
  294. if(!res.hasOwnProperty('paySign')) return this.$showToast('支付失败')
  295. this.$refs.wxPay.payShow = false;
  296. this.$wxPay(res).then(result => {
  297. uni.navigateTo({
  298. url:'/pagesPublish/payResult'
  299. })
  300. })
  301. })
  302. }
  303. }
  304. }
  305. </script>
  306. <style scoped lang="scss">
  307. .default_page{
  308. padding: 0;
  309. background: #F9F6EE;
  310. box-sizing: border-box;
  311. .info{
  312. padding: 40rpx 36rpx 37rpx;
  313. &-left{
  314. width: 98rpx;
  315. height: 98rpx;
  316. image{
  317. width: 100%;
  318. height: 100%;
  319. border-radius: 50%;
  320. }
  321. }
  322. &-right{
  323. width: calc(100% - 98rpx);
  324. padding-left: 20rpx;
  325. box-sizing: border-box;
  326. &-name{
  327. .text{
  328. font-family: PingFang-SC, PingFang-SC;
  329. font-weight: bold;
  330. font-size: 36rpx;
  331. color: #795021;
  332. line-height: 32rpx;
  333. }
  334. .version{
  335. width: 160rpx;
  336. height: 40rpx;
  337. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/my_version_bg2.png') no-repeat;
  338. background-size: 100% 100%;
  339. padding-left: 45rpx;
  340. box-sizing: border-box;
  341. font-family: PingFang-SC, PingFang-SC;
  342. font-weight: bold;
  343. font-size: 22rpx;
  344. color: #795021;
  345. line-height: 40rpx;
  346. margin-left: 12rpx;
  347. }
  348. }
  349. &-tip{
  350. font-family: PingFangSC, PingFang SC;
  351. font-weight: 400;
  352. font-size: 26rpx;
  353. color: #667E90;
  354. line-height: 24rpx;
  355. margin-top: 22rpx;
  356. }
  357. }
  358. }
  359. .box{
  360. flex: 1;
  361. overflow-y: auto;
  362. background: #FFFFFF;
  363. border-radius: 36rpx 36rpx 3rpx 3rpx;
  364. padding: 32rpx 30rpx 60rpx;
  365. &-tab{
  366. &-pre{
  367. width: calc(100% / 3);
  368. position: relative;
  369. font-family: PingFang-SC, PingFang-SC;
  370. font-weight: bold;
  371. font-size: 32rpx;
  372. color: #667E90;
  373. line-height: 45rpx;
  374. text-align: center;
  375. //解决部分机型上切换tab时其他tab不可见问题
  376. transform: translateZ(0);
  377. &.active{
  378. font-weight: bold;
  379. color: #002846;
  380. &::after{
  381. content: '';
  382. width: 48rpx;
  383. height: 6rpx;
  384. background: #002846;
  385. border-radius: 3rpx;
  386. position: absolute;
  387. left: 50%;
  388. margin-left: -24rpx;
  389. bottom: -15rpx;
  390. }
  391. }
  392. }
  393. }
  394. &-yhj{
  395. margin-top: 29rpx;
  396. &-top{
  397. width: 100%;
  398. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/bug_yhj_box_bg.png') no-repeat;
  399. background-size: 100% 100%;
  400. position: relative;
  401. border-radius: 16rpx;
  402. &-xs{
  403. width: 144rpx;
  404. height: 40rpx;
  405. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_yhj_bg.png') no-repeat;
  406. background-size: 100% 100%;
  407. font-family: PingFangSC, PingFang SC;
  408. font-weight: 400;
  409. font-size: 24rpx;
  410. color: #FFFFFF;
  411. line-height: 40rpx;
  412. text-align: center;
  413. position: absolute;
  414. left: 0;
  415. top: -6rpx;
  416. }
  417. &-nr{
  418. padding: 34rpx 0 26rpx;
  419. &-title{
  420. font-family: PingFangSC, PingFang SC;
  421. font-weight: 400;
  422. font-size: 24rpx;
  423. color: #955A1D;
  424. line-height: 30rpx;
  425. text-align: center;
  426. }
  427. &-price{
  428. font-family: D-DINCondensed, D-DINCondensed;
  429. font-weight: bold;
  430. font-size: 54rpx;
  431. color: #795021;
  432. line-height: 59rpx;
  433. text-align: center;
  434. margin-top: 10rpx;
  435. }
  436. &-yj{
  437. font-family: PingFangSC, PingFang SC;
  438. font-weight: 400;
  439. font-size: 24rpx;
  440. color: #955A1D;
  441. line-height: 30rpx;
  442. text-align: center;
  443. margin-top: 15rpx;
  444. text-decoration: line-through;
  445. }
  446. }
  447. &-tip{
  448. width: 100%;
  449. padding: 11rpx 16rpx;
  450. min-height: 50rpx;
  451. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_yhj_tip_bg.png') no-repeat;
  452. font-family: PingFangSC, PingFang SC;
  453. font-weight: 400;
  454. font-size: 24rpx;
  455. color: #795021;
  456. line-height: 33rpx;
  457. border-radius: 0 0 16rpx 16rpx;
  458. box-sizing: border-box;
  459. }
  460. }
  461. &-title{
  462. font-family: PingFang-SC, PingFang-SC;
  463. font-weight: bold;
  464. font-size: 32rpx;
  465. color: #002846;
  466. line-height: 40rpx;
  467. margin-top: 49rpx;
  468. }
  469. &-table{
  470. width: 100%;
  471. margin-top: 39rpx;
  472. border-radius: 24rpx 24rpx 0 0;
  473. border: 1rpx solid #E2E2E2;
  474. box-sizing: border-box;
  475. &-pre{
  476. border-bottom: 1rpx solid #E2E2E2;
  477. &:last-child{
  478. border: none;
  479. }
  480. &-qy{
  481. padding: 0 16rpx;
  482. min-height: 120rpx;
  483. box-sizing: border-box;
  484. border-right: 1rpx solid #E2E2E2;
  485. font-family: PingFangSC, PingFang SC;
  486. font-weight: 400;
  487. font-size: 24rpx;
  488. color: #002846;
  489. line-height: 36rpx;
  490. &:last-child{
  491. border: none;
  492. }
  493. &.title{
  494. font-weight: 400;
  495. font-size: 28rpx;
  496. color: #002846;
  497. }
  498. &.nr{
  499. font-weight: bold;
  500. font-size: 24rpx;
  501. color: #002846;
  502. text-align: center;
  503. }
  504. &.active{
  505. background: #FFFBEE;
  506. }
  507. }
  508. }
  509. .qy1{
  510. width: 64rpx;
  511. }
  512. .qy2,.qy3{
  513. width: calc((100% - 64rpx) / 2);
  514. }
  515. &-fwnr{
  516. &-left{
  517. width: 63rpx;
  518. padding: 0 16rpx;
  519. box-sizing: border-box;
  520. font-family: PingFangSC, PingFang SC;
  521. font-weight: 400;
  522. font-size: 24rpx;
  523. color: #002846;
  524. line-height: 36rpx;
  525. }
  526. &-right{
  527. width: calc(100% - 63rpx);
  528. border-left: 1rpx solid #E2E2E2;
  529. position: relative;
  530. &::after{
  531. content: '';
  532. width: 1rpx;
  533. height: 100%;
  534. background: #E2E2E2;
  535. position: absolute;
  536. left: 50%;
  537. top: 0;
  538. }
  539. &-pre{
  540. border-bottom: 1rpx solid #E2E2E2;
  541. align-items: stretch;
  542. &:last-child{
  543. border: none;
  544. }
  545. &-qy{
  546. width: 50%;
  547. min-height: 90rpx;
  548. font-family: PingFangSC, PingFang SC;
  549. font-weight: 400;
  550. font-size: 24rpx;
  551. color: #002846;
  552. line-height: 36rpx;
  553. text-align: left;
  554. padding: 20rpx 11rpx;
  555. box-sizing: border-box;
  556. display: flex;
  557. flex-direction: column;
  558. justify-content: center;
  559. &:last-child{
  560. border: none;
  561. }
  562. &.active{
  563. background: #FFFBEE;
  564. }
  565. }
  566. }
  567. }
  568. }
  569. }
  570. }
  571. &-price{
  572. margin-top: 34rpx;
  573. justify-content: space-between;
  574. flex-wrap: wrap;
  575. flex: 1;
  576. overflow-y: auto;
  577. &-pre{
  578. width: calc(50% - 10rpx);
  579. margin-top: 16rpx;
  580. background: #FFFFFF;
  581. border-radius: 24rpx;
  582. border: 2rpx solid #FBEBCB;
  583. position: relative;
  584. &-once{
  585. width: 121rpx;
  586. height: 35rpx;
  587. background: linear-gradient( 270deg, #EF923B 0%, #EA4F27 100%);
  588. border-radius: 10rpx;
  589. font-family: PingFangSC, PingFang SC;
  590. font-weight: 400;
  591. font-size: 24rpx;
  592. color: #FFFFFF;
  593. line-height: 35rpx;
  594. text-align: center;
  595. position: absolute;
  596. left: 0;
  597. top: 0;
  598. }
  599. &-times{
  600. font-family: PingFang-SC, PingFang-SC;
  601. font-weight: bold;
  602. font-size: 30rpx;
  603. color: #002846;
  604. line-height: 30rpx;
  605. text-align: center;
  606. margin-top: 36rpx;
  607. }
  608. &-money{
  609. font-family: D-DINCondensed, D-DINCondensed;
  610. font-weight: bold;
  611. font-size: 53rpx;
  612. color: #002846;
  613. line-height: 87rpx;
  614. margin-top: 20rpx;
  615. span{
  616. font-size: 54rpx;
  617. line-height: 59rpx;
  618. }
  619. }
  620. &-bottom{
  621. width: 100%;
  622. height: 56rpx;
  623. background: #FFF3CB;
  624. border-radius: 0rpx 0rpx 24rpx 24rpx;
  625. font-family: PingFangSC, PingFang SC;
  626. font-weight: 400;
  627. font-size: 24rpx;
  628. color: #95581C;
  629. line-height: 56rpx;
  630. text-align: center;
  631. margin-top: 31rpx;
  632. }
  633. &.active{
  634. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/price_bg.png') no-repeat;
  635. background-size: 100% 100%;
  636. .box-price-pre-times,.box-price-pre-money{
  637. color: #955A1D;
  638. }
  639. .box-price-pre-bottom{
  640. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/price_bottom2.png') no-repeat;
  641. color: #795021;
  642. }
  643. }
  644. }
  645. }
  646. &-other{
  647. margin-top: 51rpx;
  648. &-left{
  649. font-family: PingFang-SC, PingFang-SC;
  650. font-weight: bold;
  651. font-size: 30rpx;
  652. color: #002846;
  653. line-height: 42rpx;
  654. }
  655. }
  656. &-memo{
  657. margin-top: 48rpx;
  658. &-title{
  659. font-family: PingFang-SC, PingFang-SC;
  660. font-weight: bold;
  661. font-size: 28rpx;
  662. color: #667E90;
  663. line-height: 40rpx;
  664. }
  665. &-p{
  666. font-family: PingFangSC, PingFang SC;
  667. font-weight: 400;
  668. font-size: 24rpx;
  669. color: #95A5B1;
  670. line-height: 40rpx;
  671. margin-top: 16rpx;
  672. }
  673. }
  674. &-btn{
  675. margin-top: 40rpx;
  676. width: 100%;
  677. height: 100rpx;
  678. background: linear-gradient(to right, #242424 0%, #575757 50%);
  679. border-radius: 24rpx;
  680. &-left{
  681. padding-left: 30rpx;
  682. align-items: baseline;
  683. &-text{
  684. font-family: PingFangSC, PingFang SC;
  685. font-weight: 400;
  686. font-size: 24rpx;
  687. color: #FFFFFF;
  688. line-height: 33rpx;
  689. }
  690. &-money{
  691. font-family: D-DINCondensed, D-DINCondensed;
  692. font-weight: bold;
  693. font-size: 36rpx;
  694. color: #FCEED2;
  695. line-height: 52rpx;
  696. margin-left: 9rpx;
  697. align-items: baseline;
  698. span{
  699. font-family: D-DINCondensed, D-DINCondensed;
  700. font-weight: bold;
  701. font-size: 24rpx;
  702. color: #FCEED2;
  703. line-height: 26rpx;
  704. }
  705. }
  706. }
  707. &-right{
  708. width: 365rpx;
  709. height: 100rpx;
  710. background: #11120F;
  711. border-radius: 24rpx;
  712. font-family: PingFang-SC, PingFang-SC;
  713. font-weight: bold;
  714. font-size: 32rpx;
  715. color: #FCEED2;
  716. line-height: 100rpx;
  717. text-align: center;
  718. letter-spacing: 2rpx;
  719. }
  720. }
  721. &-empty{
  722. flex: 1;
  723. image{
  724. width: 370rpx;
  725. height: 284rpx;
  726. }
  727. p{
  728. font-family: PingFangSC, PingFang SC;
  729. font-weight: 400;
  730. font-size: 30rpx;
  731. color: #667E90;
  732. line-height: 40rpx;
  733. text-align: center;
  734. margin-top: 21rpx;
  735. }
  736. text{
  737. font-family: PingFangSC, PingFang SC;
  738. font-weight: 400;
  739. font-size: 36rpx;
  740. color: #667E90;
  741. line-height: 40rpx;
  742. text-align: center;
  743. margin-top: 16rpx;
  744. }
  745. }
  746. }
  747. }
  748. </style>