rechargeCenter.vue 27 KB

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