rechargeCenter.vue 26 KB

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