rechargeCenter.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  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-price">¥{{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-yj" style="margin-top: 50rpx;" v-else></view>
  107. </view>
  108. <view class="box-yhj-top-tip" v-if="priceData.discountPrice!==null">活动有效期:{{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===null?this.priceData.price:this.priceData.discountPrice;
  266. }
  267. })
  268. },
  269. confirmBuy(){
  270. let url = '/que/order/createOrder';
  271. if(this.sumPrice===0) url = '/que/order/addOrder';
  272. this.$api.post(url,{
  273. payAmount:this.sumPrice,
  274. productId:this.productId,
  275. totalAmount:this.sumPrice,
  276. totalFrequency:1,
  277. type:this.tindex+1,
  278. userId:this.userInfo.id
  279. }).then(({data:res})=>{
  280. if(res.code!==0) return this.$showToast(res.msg||'购买失败,请稍微重试')
  281. this.orderNo = res.data;
  282. if(this.sumPrice===0){
  283. uni.navigateTo({
  284. url:'/pagesPublish/payResult'
  285. })
  286. return
  287. }
  288. this.$refs.wxPay.payShow = true;
  289. })
  290. },
  291. toPay(){
  292. this.$api.post('/pay/createOrder',{
  293. orderNo:this.orderNo,
  294. openId:this.userInfo.openId
  295. }).then(({data:res})=>{
  296. if(!res.hasOwnProperty('paySign')) return this.$showToast('支付失败')
  297. this.$refs.wxPay.payShow = false;
  298. this.$wxPay(res).then(result => {
  299. uni.navigateTo({
  300. url:'/pagesPublish/payResult'
  301. })
  302. })
  303. })
  304. }
  305. }
  306. }
  307. </script>
  308. <style scoped lang="scss">
  309. .default_page{
  310. padding: 0;
  311. background: #F9F6EE;
  312. box-sizing: border-box;
  313. .info{
  314. padding: 40rpx 36rpx 37rpx;
  315. &-left{
  316. width: 98rpx;
  317. height: 98rpx;
  318. image{
  319. width: 100%;
  320. height: 100%;
  321. border-radius: 50%;
  322. }
  323. }
  324. &-right{
  325. width: calc(100% - 98rpx);
  326. padding-left: 20rpx;
  327. box-sizing: border-box;
  328. &-name{
  329. .text{
  330. font-family: PingFang-SC, PingFang-SC;
  331. font-weight: bold;
  332. font-size: 36rpx;
  333. color: #795021;
  334. line-height: 32rpx;
  335. }
  336. .version{
  337. width: 160rpx;
  338. height: 40rpx;
  339. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/my_version_bg2.png') no-repeat;
  340. background-size: 100% 100%;
  341. padding-left: 45rpx;
  342. box-sizing: border-box;
  343. font-family: PingFang-SC, PingFang-SC;
  344. font-weight: bold;
  345. font-size: 22rpx;
  346. color: #795021;
  347. line-height: 40rpx;
  348. margin-left: 12rpx;
  349. }
  350. }
  351. &-tip{
  352. font-family: PingFangSC, PingFang SC;
  353. font-weight: 400;
  354. font-size: 26rpx;
  355. color: #667E90;
  356. line-height: 24rpx;
  357. margin-top: 22rpx;
  358. }
  359. }
  360. }
  361. .box{
  362. flex: 1;
  363. overflow-y: auto;
  364. background: #FFFFFF;
  365. border-radius: 36rpx 36rpx 3rpx 3rpx;
  366. padding: 32rpx 30rpx 60rpx;
  367. &-tab{
  368. &-pre{
  369. width: calc(100% / 3);
  370. position: relative;
  371. font-family: PingFang-SC, PingFang-SC;
  372. font-weight: bold;
  373. font-size: 32rpx;
  374. color: #667E90;
  375. line-height: 45rpx;
  376. text-align: center;
  377. //解决部分机型上切换tab时其他tab不可见问题
  378. transform: translateZ(0);
  379. &.active{
  380. font-weight: bold;
  381. color: #002846;
  382. &::after{
  383. content: '';
  384. width: 48rpx;
  385. height: 6rpx;
  386. background: #002846;
  387. border-radius: 3rpx;
  388. position: absolute;
  389. left: 50%;
  390. margin-left: -24rpx;
  391. bottom: -15rpx;
  392. }
  393. }
  394. }
  395. }
  396. &-yhj{
  397. margin-top: 29rpx;
  398. &-top{
  399. width: 100%;
  400. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/bug_yhj_box_bg.png') no-repeat;
  401. background-size: 100% 100%;
  402. position: relative;
  403. border-radius: 16rpx;
  404. &-xs{
  405. width: 144rpx;
  406. height: 40rpx;
  407. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_yhj_bg.png') no-repeat;
  408. background-size: 100% 100%;
  409. font-family: PingFangSC, PingFang SC;
  410. font-weight: 400;
  411. font-size: 24rpx;
  412. color: #FFFFFF;
  413. line-height: 40rpx;
  414. text-align: center;
  415. position: absolute;
  416. left: 0;
  417. top: -6rpx;
  418. }
  419. &-nr{
  420. padding: 34rpx 0 26rpx;
  421. &-title{
  422. font-family: PingFangSC, PingFang SC;
  423. font-weight: 400;
  424. font-size: 24rpx;
  425. color: #955A1D;
  426. line-height: 30rpx;
  427. text-align: center;
  428. }
  429. &-price{
  430. font-family: D-DINCondensed, D-DINCondensed;
  431. font-weight: bold;
  432. font-size: 54rpx;
  433. color: #795021;
  434. line-height: 59rpx;
  435. text-align: center;
  436. margin-top: 10rpx;
  437. }
  438. &-yj{
  439. font-family: PingFangSC, PingFang SC;
  440. font-weight: 400;
  441. font-size: 24rpx;
  442. color: #955A1D;
  443. line-height: 30rpx;
  444. text-align: center;
  445. margin-top: 15rpx;
  446. text-decoration: line-through;
  447. }
  448. }
  449. &-tip{
  450. width: 100%;
  451. padding: 11rpx 16rpx;
  452. min-height: 50rpx;
  453. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_yhj_tip_bg.png') no-repeat;
  454. font-family: PingFangSC, PingFang SC;
  455. font-weight: 400;
  456. font-size: 24rpx;
  457. color: #795021;
  458. line-height: 33rpx;
  459. border-radius: 0 0 16rpx 16rpx;
  460. box-sizing: border-box;
  461. }
  462. }
  463. &-title{
  464. font-family: PingFang-SC, PingFang-SC;
  465. font-weight: bold;
  466. font-size: 32rpx;
  467. color: #002846;
  468. line-height: 40rpx;
  469. margin-top: 49rpx;
  470. }
  471. &-table{
  472. width: 100%;
  473. margin-top: 39rpx;
  474. border-radius: 24rpx 24rpx 0 0;
  475. border: 1rpx solid #E2E2E2;
  476. box-sizing: border-box;
  477. &-pre{
  478. border-bottom: 1rpx solid #E2E2E2;
  479. &:last-child{
  480. border: none;
  481. }
  482. &-qy{
  483. padding: 0 16rpx;
  484. min-height: 120rpx;
  485. box-sizing: border-box;
  486. border-right: 1rpx solid #E2E2E2;
  487. font-family: PingFangSC, PingFang SC;
  488. font-weight: 400;
  489. font-size: 24rpx;
  490. color: #002846;
  491. line-height: 36rpx;
  492. &:last-child{
  493. border: none;
  494. }
  495. &.title{
  496. font-weight: 400;
  497. font-size: 28rpx;
  498. color: #002846;
  499. }
  500. &.nr{
  501. font-weight: bold;
  502. font-size: 24rpx;
  503. color: #002846;
  504. text-align: center;
  505. }
  506. &.active{
  507. background: #FFFBEE;
  508. }
  509. }
  510. }
  511. .qy1{
  512. width: 64rpx;
  513. }
  514. .qy2,.qy3{
  515. width: calc((100% - 64rpx) / 2);
  516. }
  517. &-fwnr{
  518. &-left{
  519. width: 63rpx;
  520. padding: 0 16rpx;
  521. box-sizing: border-box;
  522. font-family: PingFangSC, PingFang SC;
  523. font-weight: 400;
  524. font-size: 24rpx;
  525. color: #002846;
  526. line-height: 36rpx;
  527. }
  528. &-right{
  529. width: calc(100% - 63rpx);
  530. border-left: 1rpx solid #E2E2E2;
  531. position: relative;
  532. &::after{
  533. content: '';
  534. width: 1rpx;
  535. height: 100%;
  536. background: #E2E2E2;
  537. position: absolute;
  538. left: 50%;
  539. top: 0;
  540. }
  541. &-pre{
  542. border-bottom: 1rpx solid #E2E2E2;
  543. align-items: stretch;
  544. &:last-child{
  545. border: none;
  546. }
  547. &-qy{
  548. width: 50%;
  549. min-height: 90rpx;
  550. font-family: PingFangSC, PingFang SC;
  551. font-weight: 400;
  552. font-size: 24rpx;
  553. color: #002846;
  554. line-height: 36rpx;
  555. text-align: left;
  556. padding: 20rpx 11rpx;
  557. box-sizing: border-box;
  558. display: flex;
  559. flex-direction: column;
  560. justify-content: center;
  561. &:last-child{
  562. border: none;
  563. }
  564. &.active{
  565. background: #FFFBEE;
  566. }
  567. }
  568. }
  569. }
  570. }
  571. }
  572. &-tip{
  573. margin-top: 15rpx;
  574. font-family: PingFangSC, PingFang SC;
  575. font-weight: 400;
  576. font-size: 26rpx;
  577. color: #667E90;
  578. line-height: 40rpx;
  579. }
  580. }
  581. &-price{
  582. margin-top: 34rpx;
  583. justify-content: space-between;
  584. flex-wrap: wrap;
  585. flex: 1;
  586. overflow-y: auto;
  587. &-pre{
  588. width: calc(50% - 10rpx);
  589. margin-top: 16rpx;
  590. background: #FFFFFF;
  591. border-radius: 24rpx;
  592. border: 2rpx solid #FBEBCB;
  593. position: relative;
  594. &-once{
  595. width: 121rpx;
  596. height: 35rpx;
  597. background: linear-gradient( 270deg, #EF923B 0%, #EA4F27 100%);
  598. border-radius: 10rpx;
  599. font-family: PingFangSC, PingFang SC;
  600. font-weight: 400;
  601. font-size: 24rpx;
  602. color: #FFFFFF;
  603. line-height: 35rpx;
  604. text-align: center;
  605. position: absolute;
  606. left: 0;
  607. top: 0;
  608. }
  609. &-times{
  610. font-family: PingFang-SC, PingFang-SC;
  611. font-weight: bold;
  612. font-size: 30rpx;
  613. color: #002846;
  614. line-height: 30rpx;
  615. text-align: center;
  616. margin-top: 36rpx;
  617. }
  618. &-money{
  619. font-family: D-DINCondensed, D-DINCondensed;
  620. font-weight: bold;
  621. font-size: 53rpx;
  622. color: #002846;
  623. line-height: 87rpx;
  624. margin-top: 20rpx;
  625. span{
  626. font-size: 54rpx;
  627. line-height: 59rpx;
  628. }
  629. }
  630. &-bottom{
  631. width: 100%;
  632. height: 56rpx;
  633. background: #FFF3CB;
  634. border-radius: 0rpx 0rpx 24rpx 24rpx;
  635. font-family: PingFangSC, PingFang SC;
  636. font-weight: 400;
  637. font-size: 24rpx;
  638. color: #95581C;
  639. line-height: 56rpx;
  640. text-align: center;
  641. margin-top: 31rpx;
  642. }
  643. &.active{
  644. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/price_bg.png') no-repeat;
  645. background-size: 100% 100%;
  646. .box-price-pre-times,.box-price-pre-money{
  647. color: #955A1D;
  648. }
  649. .box-price-pre-bottom{
  650. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/price_bottom2.png') no-repeat;
  651. color: #795021;
  652. }
  653. }
  654. }
  655. }
  656. &-other{
  657. margin-top: 51rpx;
  658. &-left{
  659. font-family: PingFang-SC, PingFang-SC;
  660. font-weight: bold;
  661. font-size: 30rpx;
  662. color: #002846;
  663. line-height: 42rpx;
  664. }
  665. }
  666. &-memo{
  667. margin-top: 48rpx;
  668. &-title{
  669. font-family: PingFang-SC, PingFang-SC;
  670. font-weight: bold;
  671. font-size: 28rpx;
  672. color: #667E90;
  673. line-height: 40rpx;
  674. }
  675. &-p{
  676. font-family: PingFangSC, PingFang SC;
  677. font-weight: 400;
  678. font-size: 24rpx;
  679. color: #95A5B1;
  680. line-height: 40rpx;
  681. margin-top: 16rpx;
  682. }
  683. }
  684. &-btn{
  685. margin-top: 40rpx;
  686. width: 100%;
  687. height: 100rpx;
  688. background: linear-gradient(to right, #242424 0%, #575757 50%);
  689. border-radius: 24rpx;
  690. &-left{
  691. padding-left: 30rpx;
  692. align-items: baseline;
  693. &-text{
  694. font-family: PingFangSC, PingFang SC;
  695. font-weight: 400;
  696. font-size: 24rpx;
  697. color: #FFFFFF;
  698. line-height: 33rpx;
  699. }
  700. &-money{
  701. font-family: D-DINCondensed, D-DINCondensed;
  702. font-weight: bold;
  703. font-size: 36rpx;
  704. color: #FCEED2;
  705. line-height: 52rpx;
  706. margin-left: 9rpx;
  707. align-items: baseline;
  708. span{
  709. font-family: D-DINCondensed, D-DINCondensed;
  710. font-weight: bold;
  711. font-size: 24rpx;
  712. color: #FCEED2;
  713. line-height: 26rpx;
  714. }
  715. }
  716. }
  717. &-right{
  718. width: 365rpx;
  719. height: 100rpx;
  720. background: #11120F;
  721. border-radius: 24rpx;
  722. font-family: PingFang-SC, PingFang-SC;
  723. font-weight: bold;
  724. font-size: 32rpx;
  725. color: #FCEED2;
  726. line-height: 100rpx;
  727. text-align: center;
  728. letter-spacing: 2rpx;
  729. }
  730. }
  731. &-empty{
  732. flex: 1;
  733. image{
  734. width: 370rpx;
  735. height: 284rpx;
  736. }
  737. p{
  738. font-family: PingFangSC, PingFang SC;
  739. font-weight: 400;
  740. font-size: 30rpx;
  741. color: #667E90;
  742. line-height: 40rpx;
  743. text-align: center;
  744. margin-top: 21rpx;
  745. }
  746. text{
  747. font-family: PingFangSC, PingFang SC;
  748. font-weight: 400;
  749. font-size: 36rpx;
  750. color: #667E90;
  751. line-height: 40rpx;
  752. text-align: center;
  753. margin-top: 16rpx;
  754. }
  755. }
  756. }
  757. }
  758. </style>