rechargeCenter.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  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. .default_page{
  324. padding: 0;
  325. background: #F9F6EE;
  326. box-sizing: border-box;
  327. .info{
  328. padding: 40rpx 36rpx 37rpx;
  329. &-left{
  330. width: 98rpx;
  331. height: 98rpx;
  332. image{
  333. width: 100%;
  334. height: 100%;
  335. border-radius: 50%;
  336. }
  337. }
  338. &-right{
  339. width: calc(100% - 98rpx);
  340. padding-left: 20rpx;
  341. box-sizing: border-box;
  342. &-name{
  343. .text{
  344. font-family: PingFang-SC, PingFang-SC;
  345. font-weight: bold;
  346. font-size: 36rpx;
  347. color: #795021;
  348. line-height: 32rpx;
  349. }
  350. .version{
  351. width: 160rpx;
  352. height: 40rpx;
  353. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/my_version_bg2.png') no-repeat;
  354. background-size: 100% 100%;
  355. padding-left: 45rpx;
  356. box-sizing: border-box;
  357. font-family: PingFang-SC, PingFang-SC;
  358. font-weight: bold;
  359. font-size: 22rpx;
  360. color: #795021;
  361. line-height: 40rpx;
  362. margin-left: 12rpx;
  363. }
  364. }
  365. &-tip{
  366. font-family: PingFangSC, PingFang SC;
  367. font-weight: 400;
  368. font-size: 26rpx;
  369. color: #667E90;
  370. line-height: 24rpx;
  371. margin-top: 22rpx;
  372. }
  373. }
  374. }
  375. .box{
  376. flex: 1;
  377. overflow-y: auto;
  378. background: #FFFFFF;
  379. border-radius: 36rpx 36rpx 3rpx 3rpx;
  380. padding: 32rpx 30rpx 60rpx;
  381. &-tab{
  382. &-pre{
  383. width: calc(100% / 3);
  384. position: relative;
  385. font-family: PingFang-SC, PingFang-SC;
  386. font-weight: bold;
  387. font-size: 32rpx;
  388. color: #667E90;
  389. line-height: 45rpx;
  390. text-align: center;
  391. //解决部分机型上切换tab时其他tab不可见问题
  392. transform: translateZ(0);
  393. &.active{
  394. font-weight: bold;
  395. color: #002846;
  396. &::after{
  397. content: '';
  398. width: 48rpx;
  399. height: 6rpx;
  400. background: #002846;
  401. border-radius: 3rpx;
  402. position: absolute;
  403. left: 50%;
  404. margin-left: -24rpx;
  405. bottom: -15rpx;
  406. }
  407. }
  408. }
  409. }
  410. &-yhj{
  411. margin-top: 29rpx;
  412. &-top{
  413. width: 100%;
  414. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/bug_yhj_box_bg.png') no-repeat;
  415. background-size: 100% 100%;
  416. position: relative;
  417. border-radius: 16rpx;
  418. &-xs{
  419. width: 144rpx;
  420. height: 40rpx;
  421. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_yhj_bg.png') no-repeat;
  422. background-size: 100% 100%;
  423. font-family: PingFangSC, PingFang SC;
  424. font-weight: 400;
  425. font-size: 24rpx;
  426. color: #FFFFFF;
  427. line-height: 40rpx;
  428. text-align: center;
  429. position: absolute;
  430. left: 0;
  431. top: -6rpx;
  432. }
  433. &-xss{
  434. width: 170rpx;
  435. height: 40rpx;
  436. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_yhj_bg.png') no-repeat;
  437. background-size: 100% 100%;
  438. font-family: PingFangSC, PingFang SC;
  439. font-weight: 400;
  440. font-size: 24rpx;
  441. color: #FFFFFF;
  442. line-height: 40rpx;
  443. text-align: center;
  444. position: absolute;
  445. left: 0;
  446. top: -6rpx;
  447. }
  448. &-nr{
  449. padding: 34rpx 0 26rpx;
  450. &-title{
  451. font-family: PingFangSC, PingFang SC;
  452. font-weight: 400;
  453. font-size: 24rpx;
  454. color: #955A1D;
  455. line-height: 30rpx;
  456. text-align: center;
  457. }
  458. &-price{
  459. font-family: D-DINCondensed, D-DINCondensed;
  460. font-weight: bold;
  461. font-size: 54rpx;
  462. color: #795021;
  463. line-height: 59rpx;
  464. text-align: center;
  465. margin-top: 10rpx;
  466. }
  467. &-nt{
  468. font-family: D-DINCondensed, D-DINCondensed;
  469. font-size: 50rpx;
  470. color: #795021;
  471. line-height: 59rpx;
  472. text-align: center;
  473. margin-top: 10rpx;
  474. }
  475. &-yj{
  476. font-family: PingFangSC, PingFang SC;
  477. font-weight: 400;
  478. font-size: 24rpx;
  479. color: #955A1D;
  480. line-height: 30rpx;
  481. text-align: center;
  482. margin-top: 15rpx;
  483. text-decoration: line-through;
  484. }
  485. }
  486. &-tip{
  487. width: 100%;
  488. padding: 11rpx 16rpx;
  489. min-height: 50rpx;
  490. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/buy_yhj_tip_bg.png') no-repeat;
  491. font-family: PingFangSC, PingFang SC;
  492. font-weight: 400;
  493. font-size: 24rpx;
  494. color: #795021;
  495. line-height: 33rpx;
  496. border-radius: 0 0 16rpx 16rpx;
  497. box-sizing: border-box;
  498. }
  499. }
  500. &-title{
  501. font-family: PingFang-SC, PingFang-SC;
  502. font-weight: bold;
  503. font-size: 32rpx;
  504. color: #002846;
  505. line-height: 40rpx;
  506. margin-top: 49rpx;
  507. }
  508. &-table{
  509. width: 100%;
  510. margin-top: 39rpx;
  511. border-radius: 24rpx 24rpx 0 0;
  512. border: 1rpx solid #E2E2E2;
  513. box-sizing: border-box;
  514. &-pre{
  515. border-bottom: 1rpx solid #E2E2E2;
  516. &:last-child{
  517. border: none;
  518. }
  519. &-qy{
  520. padding: 0 16rpx;
  521. min-height: 120rpx;
  522. box-sizing: border-box;
  523. border-right: 1rpx solid #E2E2E2;
  524. font-family: PingFangSC, PingFang SC;
  525. font-weight: 400;
  526. font-size: 24rpx;
  527. color: #002846;
  528. line-height: 36rpx;
  529. &:last-child{
  530. border: none;
  531. }
  532. &.title{
  533. font-weight: 400;
  534. font-size: 28rpx;
  535. color: #002846;
  536. }
  537. &.nr{
  538. font-weight: bold;
  539. font-size: 24rpx;
  540. color: #002846;
  541. text-align: center;
  542. }
  543. &.active{
  544. background: #FFFBEE;
  545. }
  546. }
  547. }
  548. .qy1{
  549. width: 64rpx;
  550. }
  551. .qy2,.qy3{
  552. width: calc((100% - 64rpx) / 2);
  553. }
  554. &-fwnr{
  555. &-left{
  556. width: 63rpx;
  557. padding: 0 16rpx;
  558. box-sizing: border-box;
  559. font-family: PingFangSC, PingFang SC;
  560. font-weight: 400;
  561. font-size: 24rpx;
  562. color: #002846;
  563. line-height: 36rpx;
  564. }
  565. &-right{
  566. width: calc(100% - 63rpx);
  567. border-left: 1rpx solid #E2E2E2;
  568. position: relative;
  569. &::after{
  570. content: '';
  571. width: 1rpx;
  572. height: 100%;
  573. background: #E2E2E2;
  574. position: absolute;
  575. left: 50%;
  576. top: 0;
  577. }
  578. &-pre{
  579. border-bottom: 1rpx solid #E2E2E2;
  580. align-items: stretch;
  581. &:last-child{
  582. border: none;
  583. }
  584. &-qy{
  585. width: 50%;
  586. min-height: 90rpx;
  587. font-family: PingFangSC, PingFang SC;
  588. font-weight: 400;
  589. font-size: 24rpx;
  590. color: #002846;
  591. line-height: 36rpx;
  592. text-align: left;
  593. padding: 20rpx 11rpx;
  594. box-sizing: border-box;
  595. display: flex;
  596. flex-direction: column;
  597. justify-content: center;
  598. &:last-child{
  599. border: none;
  600. }
  601. &.active{
  602. background: #FFFBEE;
  603. }
  604. }
  605. }
  606. }
  607. }
  608. }
  609. &-tip{
  610. margin-top: 15rpx;
  611. font-family: PingFangSC, PingFang SC;
  612. font-weight: 400;
  613. font-size: 26rpx;
  614. color: #667E90;
  615. line-height: 40rpx;
  616. }
  617. }
  618. &-price{
  619. margin-top: 34rpx;
  620. justify-content: space-between;
  621. flex-wrap: wrap;
  622. flex: 1;
  623. overflow-y: auto;
  624. &-pre{
  625. width: calc(50% - 10rpx);
  626. margin-top: 16rpx;
  627. background: #FFFFFF;
  628. border-radius: 24rpx;
  629. border: 2rpx solid #FBEBCB;
  630. position: relative;
  631. &-once{
  632. width: 121rpx;
  633. height: 35rpx;
  634. background: linear-gradient( 270deg, #EF923B 0%, #EA4F27 100%);
  635. border-radius: 10rpx;
  636. font-family: PingFangSC, PingFang SC;
  637. font-weight: 400;
  638. font-size: 24rpx;
  639. color: #FFFFFF;
  640. line-height: 35rpx;
  641. text-align: center;
  642. position: absolute;
  643. left: 0;
  644. top: 0;
  645. }
  646. &-times{
  647. font-family: PingFang-SC, PingFang-SC;
  648. font-weight: bold;
  649. font-size: 30rpx;
  650. color: #002846;
  651. line-height: 30rpx;
  652. text-align: center;
  653. margin-top: 36rpx;
  654. }
  655. &-money{
  656. font-family: D-DINCondensed, D-DINCondensed;
  657. font-weight: bold;
  658. font-size: 53rpx;
  659. color: #002846;
  660. line-height: 87rpx;
  661. margin-top: 20rpx;
  662. span{
  663. font-size: 54rpx;
  664. line-height: 59rpx;
  665. }
  666. }
  667. &-bottom{
  668. width: 100%;
  669. height: 56rpx;
  670. background: #FFF3CB;
  671. border-radius: 0rpx 0rpx 24rpx 24rpx;
  672. font-family: PingFangSC, PingFang SC;
  673. font-weight: 400;
  674. font-size: 24rpx;
  675. color: #95581C;
  676. line-height: 56rpx;
  677. text-align: center;
  678. margin-top: 31rpx;
  679. }
  680. &.active{
  681. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/price_bg.png') no-repeat;
  682. background-size: 100% 100%;
  683. .box-price-pre-times,.box-price-pre-money{
  684. color: #955A1D;
  685. }
  686. .box-price-pre-bottom{
  687. background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/price_bottom2.png') no-repeat;
  688. color: #795021;
  689. }
  690. }
  691. }
  692. }
  693. &-other{
  694. margin-top: 51rpx;
  695. &-left{
  696. font-family: PingFang-SC, PingFang-SC;
  697. font-weight: bold;
  698. font-size: 30rpx;
  699. color: #002846;
  700. line-height: 42rpx;
  701. }
  702. }
  703. &-memo{
  704. margin-top: 48rpx;
  705. &-title{
  706. font-family: PingFang-SC, PingFang-SC;
  707. font-weight: bold;
  708. font-size: 28rpx;
  709. color: #667E90;
  710. line-height: 40rpx;
  711. }
  712. &-p{
  713. font-family: PingFangSC, PingFang SC;
  714. font-weight: 400;
  715. font-size: 24rpx;
  716. color: #95A5B1;
  717. line-height: 40rpx;
  718. margin-top: 16rpx;
  719. }
  720. }
  721. &-btn{
  722. margin-top: 40rpx;
  723. width: 100%;
  724. height: 100rpx;
  725. background: linear-gradient(to right, #242424 0%, #575757 50%);
  726. border-radius: 24rpx;
  727. &-left{
  728. padding-left: 30rpx;
  729. align-items: baseline;
  730. &-text{
  731. font-family: PingFangSC, PingFang SC;
  732. font-weight: 400;
  733. font-size: 24rpx;
  734. color: #FFFFFF;
  735. line-height: 33rpx;
  736. }
  737. &-money{
  738. font-family: D-DINCondensed, D-DINCondensed;
  739. font-weight: bold;
  740. font-size: 36rpx;
  741. color: #FCEED2;
  742. line-height: 52rpx;
  743. margin-left: 9rpx;
  744. align-items: baseline;
  745. span{
  746. font-family: D-DINCondensed, D-DINCondensed;
  747. font-weight: bold;
  748. font-size: 24rpx;
  749. color: #FCEED2;
  750. line-height: 26rpx;
  751. }
  752. }
  753. }
  754. &-right{
  755. width: 365rpx;
  756. height: 100rpx;
  757. background: #11120F;
  758. border-radius: 24rpx;
  759. font-family: PingFang-SC, PingFang-SC;
  760. font-weight: bold;
  761. font-size: 32rpx;
  762. color: #FCEED2;
  763. line-height: 100rpx;
  764. text-align: center;
  765. letter-spacing: 2rpx;
  766. &.disabled{
  767. background: #C0C0C0;
  768. color: #FFFFFF;
  769. }
  770. }
  771. }
  772. &-empty{
  773. flex: 1;
  774. image{
  775. width: 370rpx;
  776. height: 284rpx;
  777. }
  778. p{
  779. font-family: PingFangSC, PingFang SC;
  780. font-weight: 400;
  781. font-size: 30rpx;
  782. color: #667E90;
  783. line-height: 40rpx;
  784. text-align: center;
  785. margin-top: 21rpx;
  786. }
  787. text{
  788. font-family: PingFangSC, PingFang SC;
  789. font-weight: 400;
  790. font-size: 36rpx;
  791. color: #667E90;
  792. line-height: 40rpx;
  793. text-align: center;
  794. margin-top: 16rpx;
  795. }
  796. }
  797. }
  798. }
  799. </style>