rechargeCenter.vue 27 KB

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