rechargeCenter.vue 24 KB

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