index.vue 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901
  1. <template>
  2. <app-layout>
  3. <view v-if="status == 1">
  4. <!-- 用户信息开始 -->
  5. <view class="info" :style="{'background-image': 'url('+share_setting.pic_url_home_head + ')'}">
  6. <view class="user-info dir-left-nowrap cross-center">
  7. <image class="user-avatar box-grow-0" :src="userInfo.avatar"></image>
  8. <view class="box-grow-1 dir-top-nowrap main-center">
  9. <view class="user-name t-omit">
  10. {{name ? name:userInfo.nickname}}
  11. <text @click="route('/pages/share/edit/edit')" class="user-edit">[修改资料]</text>
  12. </view>
  13. <view class="mtb-10 t-omit">{{custom_setting.words.parent_name.name}}:{{userInfo.identity.parent_name}}</view>
  14. <view v-if="index && index.level > 0">分销等级:{{index ? index.level_name : '无'}}</view>
  15. </view>
  16. <view class="box-grow-0" v-if="share_setting.is_show_share_level == 1"
  17. @click="$jump({url: '/pages/share/level/level', open_type: 'navigate'})">升级条件</view>
  18. <image class="box-grow-0 arrow-right" v-if="share_setting.is_show_share_level == 1"
  19. src="/static/image/icon/arrow-right-white.png"></image>
  20. </view>
  21. <view class="share-info">
  22. <view>{{custom_setting.words.can_be_presented.name}}</view>
  23. <view>
  24. <text style="font-family:DIN">{{index.money?index.money:0}}</text>元</view>
  25. </view>
  26. <view @click="route('/pages/share/cash/cash?money=' + index.money)">
  27. <view class="withdraw-btn">{{custom_setting.words.cash.name}}</view>
  28. </view>
  29. </view>
  30. <!-- 佣金情况开始 -->
  31. <view class="nav main-justify cross-center">
  32. <view class="nav-left">
  33. <view class="nav-title">{{custom_setting.words.already_presented.name}}</view>
  34. <view>{{index.cash_money?index.cash_money:0}}元</view>
  35. </view>
  36. <view>
  37. <view class="nav-title">{{custom_setting.words.order_money_un.name}}</view>
  38. <view>{{index.order_money_un?index.order_money_un:0}}元</view>
  39. </view>
  40. </view>
  41. <!-- 功能菜单开始 -->
  42. <view class="list dir-left-wrap">
  43. <!-- 分销佣金 -->
  44. <view class="list-item">
  45. <view @click="route('/pages/share/money/money')">
  46. <image :src="custom_setting.menus.money.icon"></image>
  47. <view>{{custom_setting.menus.money.name}}</view>
  48. <view>
  49. <text>{{index.total_money?index.total_money:0}}</text>元
  50. </view>
  51. </view>
  52. </view>
  53. <!-- 分销订单 -->
  54. <view class="list-item">
  55. <view @click="route('/pages/share/order/order')">
  56. <image :src="custom_setting.menus.order.icon"></image>
  57. <view>{{custom_setting.menus.order.name}}</view>
  58. <view>
  59. <text>{{index.order_money?index.order_money:0}}</text>元
  60. </view>
  61. </view>
  62. </view>
  63. <!-- 提现明细 -->
  64. <view class="list-item">
  65. <view @click="route('/pages/share/cash-detail/cash-detail')">
  66. <image :src="custom_setting.menus.cash.icon"></image>
  67. <view>{{custom_setting.menus.cash.name}}</view>
  68. <view>
  69. <text>{{index.total_cash?index.total_cash:0}}</text>元
  70. </view>
  71. </view>
  72. </view>
  73. <!-- 我的团队 -->
  74. <view class="list-item">
  75. <view @click="route('/pages/share/team/team')">
  76. <image :src="custom_setting.menus.team.icon"></image>
  77. <view>{{custom_setting.menus.team.name}}</view>
  78. <view>
  79. <text>{{index.team_count?index.team_count:0}}</text>人
  80. </view>
  81. </view>
  82. </view>
  83. <!-- 推广二维码 -->
  84. <view class="list-item">
  85. <view @click="route('/pages/share/qrcode/qrcode')">
  86. <image :src="custom_setting.menus.qrcode.icon"></image>
  87. <view>{{custom_setting.menus.qrcode.name}}</view>
  88. </view>
  89. </view>
  90. <!-- 数据中心 -->
  91. <view class="list-item">
  92. <view @click="route('/pages/share/summary/summary')">
  93. <image :src="custom_setting.menus.summary.icon"></image>
  94. <view>{{custom_setting.menus.summary.name}}</view>
  95. </view>
  96. </view>
  97. <!-- 团队分红 -->
  98. <view v-if="setting.is_bonus == 1" class="list-item">
  99. <view @click="route('/plugins/bonus/index/index')">
  100. <image src="./../image/img-bonus-price.png"></image>
  101. <view>{{setting.form.entry_bonus?setting.form.entry_bonus:"团队分红"}}</view>
  102. </view>
  103. </view>
  104. <!-- 股东分红 -->
  105. <view v-if="stock.is_stock == 1" class="list-item">
  106. <view @click="route('/plugins/stock/index/index?name=' + share.name + '&mobile=' + share.mobile)">
  107. <image src="/static/image/share/img-stock-price.png"></image>
  108. <view>{{stock.form.entry_bonus?stock.form.entry_bonus:"股东分红"}}</view>
  109. </view>
  110. </view>
  111. <!-- 股东分红 -->
  112. <view v-if="region.is_region == 1" class="list-item">
  113. <view @click="route('/plugins/region/index/index?name=' + share.name + '&mobile=' + share.mobile)">
  114. <image src="/static/image/share/img-region-price.png"></image>
  115. <view>{{region.form.entry_bonus?region.form.entry_bonus:"区域代理"}}</view>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. <!-- 不是分销商 -->
  121. <view class="no-pass" v-else-if="status == 2">
  122. <image class="no-pass-img" src="./../image/icon-share-tip.png"></image>
  123. <view>您还不是{{custom_setting.words.share_name.name ? custom_setting.words.share_name.name : custom_setting.words.share_name.default}},请先提交申请!</view>
  124. <view v-if="share_setting.share_condition != '3'" @click="route('/pages/share/add/add?template_message=' + JSON.stringify(template_message))">
  125. <button :class="['no-pass-btn']">立即前往</button>
  126. </view>
  127. <view v-if="share_setting.share_condition == '3'" @click="toApply">
  128. <button :class="['no-pass-btn']">立即申请</button>
  129. </view>
  130. </view>
  131. <view v-else-if="status == 0">
  132. <image :src="share_setting.pic_url_status" class="add-bg"></image>
  133. <view class="thx">
  134. <image src="./../image/img-share-info.png"></image>
  135. <view>谢谢您的支持,请等待审核</view>
  136. </view>
  137. <view @click="route('/pages/index/index')">
  138. <view class="submit" style="margin:0">
  139. <button >去商城逛逛</button>
  140. </view>
  141. </view>
  142. </view>
  143. <view class="status-3 dir-top-nowrap" v-else-if="status == 3">
  144. <image :src="share_setting.pic_url_status" class="add-bg"></image>
  145. <template v-if="share_setting.become_condition == 1">
  146. <view class="apply-status-3">
  147. <view class="dir-left-nowrap">
  148. <image class="money" src="./../image/money.png"></image>
  149. <view class="progress box-grow-0 cross-center">
  150. <view class="progress-content" :style="{left: `${percent}%`}">
  151. <view class="dir-top-nowrap cross-center" style="margin-left: -90%;">
  152. <view class="q-price">{{order_price}}</view>
  153. <view class="shuxian"></view>
  154. <image class="icon" src="./../image/progress.png"></image>
  155. </view>
  156. </view>
  157. <view style="width: 100%;">
  158. <progress :percent="percent" stroke-width="5" activeColor="#ff4544" backgroundColor="#e3e3e3" />
  159. </view>
  160. </view>
  161. <image class="money" src="./../image/money-active.png"></image>
  162. </view>
  163. <view class="dir-left-nowrap cross-center price">
  164. <view class="box-grow-0">¥0</view>
  165. <view class="progress box-grow-1"></view>
  166. <view class="box-grow-0">¥{{share_setting.auto_share_val}}</view>
  167. </view>
  168. <view class="content">单次消费满<text>¥{{share_setting.auto_share_val}}</text>可{{condition}}成为{{custom_setting.words.share_name.name ? custom_setting.words.share_name.name : custom_setting.words.share_name.default}}</view>
  169. <view class="content">您最高一次单次消费为<text>¥{{order_price}}</text></view>
  170. <view @click="$jump({url: '/pages/goods/list', open_type: 'navigate'})">
  171. <view class="submit">
  172. <button >去商城逛逛</button>
  173. </view>
  174. </view>
  175. </view>
  176. </template>
  177. <template v-if="share_setting.become_condition == 4">
  178. <view class="apply-status-3">
  179. <view class="dir-left-nowrap">
  180. <image class="money" src="./../image/money.png"></image>
  181. <view class="progress box-grow-0 cross-center">
  182. <view class="progress-content" :style="{left: `${percent}%`}">
  183. <view class="dir-top-nowrap cross-center" style="margin-left: -90%;">
  184. <view class="q-price">{{order_price}}</view>
  185. <view class="shuxian"></view>
  186. <image class="icon" src="./../image/progress.png"></image>
  187. </view>
  188. </view>
  189. <view style="width: 100%;">
  190. <progress :percent="percent" stroke-width="5" activeColor="#ff4544" backgroundColor="#e3e3e3" />
  191. </view>
  192. </view>
  193. <image class="money" src="./../image/money-active.png"></image>
  194. </view>
  195. <view class="dir-left-nowrap cross-center price">
  196. <view class="box-grow-0">¥0</view>
  197. <view class="progress box-grow-1"></view>
  198. <view class="box-grow-0">¥{{share_setting.total_consume}}</view>
  199. </view>
  200. <view class="content">累计消费满<text>¥{{share_setting.total_consume}}</text>可{{condition}}成为{{custom_setting.words.share_name.name ? custom_setting.words.share_name.name : custom_setting.words.share_name.default}}</view>
  201. <view class="content">您累计消费为<text>¥{{order_price}}</text></view>
  202. <view @click="$jump({url: '/pages/goods/list', open_type: 'navigate'})">
  203. <view class="submit">
  204. <button >去商城逛逛</button>
  205. </view>
  206. </view>
  207. </view>
  208. </template>
  209. <template v-else-if="share_setting.share_goods_status == 1">
  210. <view class="share-goods-status-1">
  211. <view class="content">购买<text>任意商品</text>可{{condition}}成为{{custom_setting.words.share_name.name ? custom_setting.words.share_name.name : custom_setting.words.share_name.default}}</view>
  212. <view @click="$jump({url: '/pages/goods/list', open_type: 'navigate'})">
  213. <view class="submit">
  214. <button >去商城逛逛</button>
  215. </view>
  216. </view>
  217. </view>
  218. </template>
  219. <template v-else-if="share_setting.share_goods_status == 2">
  220. <view class="share-goods-status-1 box-grow-1 dir-top-nowrap">
  221. <view class="content">购买以下<text>指定商品</text>可{{condition}}成为{{custom_setting.words.share_name.name ? custom_setting.words.share_name.name : custom_setting.words.share_name.default}}</view>
  222. <view class="box-grow-1" style="background-color: #f7f7f7">
  223. <view class="dir-left-nowrap goods-title main-center cross-center">
  224. <view class="border"></view>
  225. <image src="/static/image/icon/icon-favorite.png"></image>
  226. <view>指定商品</view>
  227. <view class="border"></view>
  228. </view>
  229. <view>
  230. <u-ordinary-list :isShowAttr="true" :list="goods_list" :theme="getTheme" :list-style="2"></u-ordinary-list>
  231. </view>
  232. </view>
  233. </view>
  234. </template>
  235. <template v-else-if="share_setting.share_goods_status == 3">
  236. <view class="share-goods-status-1 box-grow-1 dir-top-nowrap">
  237. <view class="content">购买以下<text>指定分类商品</text>可{{condition}}成为{{custom_setting.words.share_name.name ? custom_setting.words.share_name.name : custom_setting.words.share_name.default}}</view>
  238. <view class="box-grow-1" style="background-color: #f7f7f7">
  239. <view class="dir-left-nowrap goods-title main-center cross-center">
  240. <view class="border"></view>
  241. <image src="/static/image/icon/icon-favorite.png"></image>
  242. <view>指定分类</view>
  243. <view class="border"></view>
  244. </view>
  245. <view class="dir-left-wrap cat-list">
  246. <block v-for="(item, index) in cat_list" :key="index">
  247. <view class="cat-item t-omit" @click="toGoods(item.value)">{{item.label}}</view>
  248. </block>
  249. </view>
  250. </view>
  251. </view>
  252. </template>
  253. </view>
  254. <view v-else-if="status == 4 || status == 5">
  255. <image :src="share_setting.pic_url_status" class="add-bg"></image>
  256. <view class="thx">
  257. <image class="warning" src="./../image/warning.png"></image>
  258. <template v-if="status == 4">
  259. <view class="apply-status-4">您的申请被拒绝</view>
  260. <view style="text-align: left">
  261. <text style="color: #999;">审核时间:</text>
  262. <text>{{share.apply_at}}</text>
  263. </view>
  264. <view style="text-align: left">
  265. <text style="color: #999;">拒绝理由:</text>
  266. <text>{{share.reason}}</text>
  267. </view>
  268. </template>
  269. <template v-if="status == 5">
  270. <view class="apply-status-4">您被解除{{custom_setting.words.share_name.name ? custom_setting.words.share_name.name : custom_setting.words.share_name.default}}身份</view>
  271. <view style="text-align: left">
  272. <text style="color: #999;">解除时间:</text>
  273. <text>{{share.deleted_at}}</text>
  274. </view>
  275. <view style="text-align: left">
  276. <text style="color: #999;">解除理由:</text>
  277. <text>{{share.reason}}</text>
  278. </view>
  279. </template>
  280. </view>
  281. <view @click="againApply" class="submit again-apply main-center" style="margin:0">
  282. <button>再次申请</button>
  283. </view>
  284. </view>
  285. <view class="dir-top-nowrap cross-center disabled" v-else-if="status == 6">
  286. <image src="./../image/disabled.png" class="disabled-img"></image>
  287. <view class="disabled-text">当前功能未开放</view>
  288. <view class="disabled-btn" @click="route('/pages/index/index')">去商城逛逛</view>
  289. </view>
  290. <view class="bg" v-if="apply">
  291. <view class="dialog">
  292. <view class="dialog-title">提示</view>
  293. <view class="dialog-msg">是否申请成为{{custom_setting.words.share_name.name ? custom_setting.words.share_name.name : custom_setting.words.share_name.default}}</view>
  294. <view class="dialog-btn main-center">
  295. <view @click="toApply" class="dialog-close">取消</view>
  296. <view class="line"></view>
  297. <view class="dialog-submit" @click="subscribe">确认</view>
  298. </view>
  299. </view>
  300. </view>
  301. </app-layout>
  302. </template>
  303. <script>
  304. import { mapGetters, mapState } from "vuex";
  305. import uOrdinaryList from '../../../components/page-component/u-goods-list/u-ordinary-list.vue';
  306. export default {
  307. components: {
  308. uOrdinaryList
  309. },
  310. data() {
  311. return {
  312. setting: null,
  313. status: -1,
  314. customize: [],
  315. name: null,
  316. first: false,
  317. page_loading: true,
  318. inApply: false,
  319. apply: false,
  320. template_message: null,
  321. index: [],
  322. order_price: null,
  323. goods_list: null,
  324. cat_list: null,
  325. share: null,
  326. stock: null,
  327. region: null,
  328. is_can_apply: false
  329. }
  330. },
  331. computed: {
  332. ...mapState({
  333. userInfo: state => state.user.info,
  334. custom_setting: state => state.mallConfig.share_setting_custom,
  335. share_setting: state => state.mallConfig.share_setting,
  336. mall: state => state.mallConfig.mall
  337. }),
  338. percent() {
  339. if (this.order_price === null) {
  340. return 0;
  341. } else if (this.share_setting.become_condition == 1 ) {
  342. return parseFloat(this.order_price) / parseFloat(this.share_setting.auto_share_val) * 100;
  343. } else if (this.share_setting.become_condition == 4 ) {
  344. // TODO 未完成
  345. return parseFloat(this.order_price) / parseFloat(this.share_setting.total_consume) * 100;
  346. }
  347. },
  348. condition() {
  349. if (this.share_setting.share_condition == 3) {
  350. return '自动';
  351. } else {
  352. return '申请';
  353. }
  354. },
  355. ...mapGetters('mallConfig', {
  356. getTheme: 'getTheme'
  357. })
  358. },
  359. methods: {
  360. toApply() {
  361. this.apply = !this.apply;
  362. },
  363. route(url) {
  364. uni.navigateTo({
  365. url: url
  366. })
  367. },
  368. subscribe() {
  369. this.$subscribe(this.template_message).then(() => {
  370. this.submit();
  371. }).catch(() => {
  372. this.submit();
  373. });
  374. },
  375. submit() {
  376. let that = this;
  377. uni.showLoading({
  378. title: '提交中...'
  379. });
  380. if(that.inApply) {
  381. return false
  382. }
  383. that.inApply = true;
  384. that.$request({
  385. url: that.$api.share.apply,
  386. data: {
  387. name: that.userInfo.nickname,
  388. mobile: that.userInfo.mobile
  389. },
  390. method: 'post'
  391. }).then(response=>{
  392. that.inApply = false;
  393. uni.hideLoading();
  394. if(response.code === 0) {
  395. that.status = 0;
  396. if (that.share_setting.share_condition == '3') {
  397. that.status = 1;
  398. }
  399. that.apply = false;
  400. that.getStatus();
  401. }else {
  402. uni.showToast({
  403. title: response.msg,
  404. icon: 'none',
  405. duration: 1000
  406. });
  407. }
  408. }).catch(() => {
  409. uni.hideLoading();
  410. });
  411. },
  412. getList() {
  413. let that = this;
  414. that.$request({
  415. url: that.$api.share.index,
  416. }).then(response=>{
  417. that.$hideLoading();
  418. if(response.code === 0) {
  419. that.index = response.data.list;
  420. that.setting = response.data.bonus_setting.list;
  421. that.stock = response.data.stock_setting;
  422. that.region = response.data.region_setting;
  423. }else {
  424. uni.showToast({
  425. title: response.msg,
  426. icon: 'none',
  427. duration: 1000
  428. });
  429. }
  430. }).catch(() => {
  431. that.$hideLoading();
  432. });
  433. },
  434. getStatus() {
  435. let that = this;
  436. that.$request({
  437. url: that.$api.share.new_apply_status,
  438. }).then(response=>{
  439. that.first = true;
  440. if(response.code === 0) {
  441. that.template_message = response.data.template_message;
  442. that.status = response.data.status;
  443. that.share = response.data.share;
  444. that.order_price = response.data.orderPrice;
  445. that.goods_list = response.data.goodsList;
  446. that.cat_list = response.data.catList;
  447. that.is_can_apply = response.data.is_can_apply;
  448. if (that.status == 1) {
  449. that.getList();
  450. let name = response.data.share.name;
  451. if (that.share_setting.share_condition == '3') {
  452. name = that.userInfo.nickname
  453. }
  454. that.name = name;
  455. } else if (that.status == 2) {
  456. that.$hideLoading();
  457. if (this.share_setting.share_condition == '1' || this.share_setting.share_condition == 3) {
  458. that.apply = true;
  459. }
  460. }else {
  461. that.$hideLoading();
  462. }
  463. }else {
  464. that.$hideLoading();
  465. uni.showModal({
  466. content: response.msg,
  467. showCancel: false
  468. })
  469. }
  470. }).catch(() => {
  471. that.$hideLoading();
  472. that.$event.on(that.$const.EVENT_USER_LOGIN).then(()=>{
  473. that.$store.dispatch('user/info');
  474. that.getStatus();
  475. });
  476. });
  477. },
  478. againApply() {
  479. if (this.is_can_apply) {
  480. if (this.share_setting.share_condition == '1' || this.share_setting.share_condition == 3) {
  481. this.apply = true;
  482. } else {
  483. this.route('/pages/share/add/add?template_message=' + JSON.stringify(this.template_message));
  484. }
  485. } else {
  486. this.status = 3;
  487. }
  488. },
  489. toGoods(cat_id) {
  490. this.$jump({
  491. url: '/pages/goods/list?cat_id=' + cat_id,
  492. open_type: 'navigate'
  493. });
  494. }
  495. },
  496. onLoad() {
  497. if (this.$user.isLogin()) {
  498. this.$store.dispatch('user/refreshInfo');
  499. }
  500. this.$showLoading({
  501. type: 'global',
  502. text: '加载中...'
  503. });
  504. this.getStatus();
  505. },
  506. onShow() {
  507. let that = this;
  508. if(that.first) {
  509. that.getStatus();
  510. }
  511. }
  512. }
  513. </script>
  514. <style scoped lang="scss">
  515. .info {
  516. height: #{312rpx};
  517. background-color: #ff4544;
  518. width: 100%;
  519. padding: #{20rpx} #{25rpx} 0;
  520. color: #fff;
  521. font-size: #{28rpx};
  522. background-repeat: no-repeat;
  523. background-size: #{750rpx} #{312rpx};
  524. }
  525. .user-info {
  526. border-bottom: #{1rpx} solid #FFFFFF;
  527. padding-bottom: #{20rpx};
  528. .arrow-right {
  529. width: #{12rpx};
  530. height: #{22rpx};
  531. margin-left: #{12rpx};
  532. display: block;
  533. }
  534. .user-edit{
  535. font-size: #{28rpx};
  536. padding-left: #{10rpx};
  537. }
  538. }
  539. .user-avatar {
  540. width: #{120rpx};
  541. height: #{120rpx};
  542. border-radius: 50%;
  543. font-size: #{26rpx};
  544. margin-right: #{40rpx};
  545. }
  546. .user-name {
  547. font-size: #{36rpx};
  548. }
  549. .mtb-10 {
  550. margin: #{10rpx 0};
  551. }
  552. .share-info {
  553. float: left;
  554. margin-top: #{20rpx};
  555. font-size: #{28rpx};
  556. }
  557. .share-info text {
  558. font-size: #{46rpx};
  559. }
  560. .withdraw-btn {
  561. float: right;
  562. width: #{105rpx};
  563. border-radius: #{28rpx};
  564. height: #{56rpx};
  565. line-height: #{54rpx};
  566. font-size: #{28rpx};
  567. color: #fff;
  568. background-color: auto;
  569. text-align: center;
  570. border: #{2rpx} solid #fff;
  571. padding: 0;
  572. margin-top: #{48rpx};
  573. }
  574. .withdraw-btn::after {
  575. border: 0;
  576. }
  577. .nav {
  578. background-color: #fff;
  579. height: #{160rpx};
  580. padding: #{40rpx} 0;
  581. text-align: center;
  582. font-size: #{30rpx};
  583. color: #666;
  584. width: #{702rpx};
  585. margin: #{16rpx} auto 0;
  586. border-radius: #{10rpx};
  587. }
  588. .nav>view {
  589. width: 50%;
  590. text-align: center;
  591. }
  592. .nav-left {
  593. margin-left: #{-1rpx};
  594. border-right: #{1rpx} solid #bbb;
  595. }
  596. .nav-title {
  597. font-size: #{26rpx};
  598. color: #ff8f17;
  599. margin-bottom: #{10rpx};
  600. }
  601. .nav-left .nav-title {
  602. color: #22af19;
  603. }
  604. .list {
  605. margin: #{16rpx} auto 0;
  606. background-color: #fff;
  607. width: #{702rpx};
  608. border-radius: #{10rpx};
  609. }
  610. .list-item {
  611. height: #{220rpx};
  612. width: #{234rpx};
  613. text-align: center;
  614. padding-top: #{57rpx};
  615. font-size: #{24rpx};
  616. color: #666;
  617. }
  618. .list-item image {
  619. height: #{61rpx};
  620. width: #{61rpx};
  621. vertical-align: top;
  622. margin-top: #{-10rpx};
  623. margin-bottom: #{10rpx};
  624. }
  625. .list-item text {
  626. color: #ff6868;
  627. }
  628. .list-item.no-border {
  629. border-bottom: 0;
  630. }
  631. .no-pass {
  632. position: absolute;
  633. left: 0;
  634. right: 0;
  635. height: 100%;
  636. width: 100%;
  637. background-color: #fff;
  638. text-align: center;
  639. padding-top: #{150rpx};
  640. color: #666;
  641. font-size: #{30rpx};
  642. }
  643. .no-pass-img {
  644. height: #{240rpx};
  645. width: #{420rpx};
  646. margin-bottom: #{80rpx};
  647. }
  648. .no-pass-btn {
  649. height: #{80rpx};
  650. width: #{560rpx};
  651. border-radius: #{40rpx};
  652. margin: #{88rpx} auto 0;
  653. color: #fff;
  654. font-size: #{30rpx};
  655. line-height: #{80rpx};
  656. background: #ff4544;
  657. }
  658. .withdraw-btn:active {
  659. background-color: rgba(0, 0, 0, 0.2);
  660. }
  661. .add-bg {
  662. height: #{300rpx};
  663. width: 100%;
  664. display: block;
  665. margin-bottom: #{20rpx};
  666. background-color: #f7f7f7;
  667. }
  668. .thx {
  669. padding: #{100rpx};
  670. text-align: center;
  671. color: #666;
  672. font-size: #{30rpx};
  673. }
  674. .thx image {
  675. height: #{80rpx};
  676. width: #{80rpx};
  677. margin-bottom: #{50rpx};
  678. }
  679. .submit {
  680. background-color: #f7f7f7;
  681. margin: 0 #{-24rpx};
  682. padding: #{24rpx};
  683. }
  684. .submit button {
  685. color: #fff;
  686. font-size: #{30rpx};
  687. font-weight: bold;
  688. height: #{100rpx};
  689. border-radius: #{50rpx};
  690. line-height: #{100rpx};
  691. background: #ff4544;
  692. }
  693. .bg {
  694. position: fixed;
  695. top: 0;
  696. left: 0;
  697. height: 100%;
  698. width: 100%;
  699. background-color: rgba(0, 0, 0, .3);
  700. z-index: 10;
  701. }
  702. .dialog {
  703. position: fixed;
  704. top: #{400rpx};
  705. left: 0;
  706. right: 0;
  707. height: #{300rpx};
  708. width: #{640rpx};
  709. margin: 0 auto;
  710. z-index: 21;
  711. background-color: #fff;
  712. border-radius: 10px;
  713. text-align: center;
  714. font-size: #{30rpx};
  715. }
  716. .dialog-title {
  717. margin: #{40rpx} auto #{35rpx};
  718. }
  719. .dialog-btn {
  720. height: #{88rpx};
  721. width: #{640rpx};
  722. border-top: #{1rpx} solid #e2e2e2;
  723. line-height: #{88rpx};
  724. position: absolute;
  725. bottom: 0;
  726. left: 0;
  727. }
  728. .dialog-close,.dialog-submit {
  729. width: 50%;
  730. }
  731. .line {
  732. height: #{44rpx};
  733. margin-top: #{22rpx};
  734. width: #{1rpx};
  735. background-color: #e2e2e2;
  736. }
  737. .dialog-submit {
  738. color: #ff4544;
  739. }
  740. .apply-status-4 {
  741. border-bottom: #{1rpx solid #e2e2e2};
  742. padding-bottom: #{32rpx};
  743. margin-bottom: #{32rpx};
  744. font-size: $uni-font-size-import-one;
  745. color: #353535;
  746. }
  747. .thx image.warning {
  748. width: #{160rpx};
  749. height: #{160rpx};
  750. }
  751. .again-apply {
  752. button {
  753. width: #{320rpx};
  754. }
  755. }
  756. .status-3 {
  757. background-color: #ffffff;
  758. min-height: 100vh;
  759. .submit {
  760. background-color: #ffffff;
  761. margin-top: #{160rpx};
  762. margin-left: 0;
  763. margin-right: 0;
  764. }
  765. }
  766. .apply-status-3 {
  767. padding: #{0 24rpx};
  768. margin-top: #{57rpx};
  769. .money {
  770. width: #{125rpx};
  771. height: #{100rpx};
  772. display: block;
  773. }
  774. .progress {
  775. width: #{470rpx};
  776. border-radius: #{5rpx};
  777. position: relative;
  778. .progress-content {
  779. position: absolute;
  780. top: -10rpx;
  781. z-index: 10;
  782. text-align: center;
  783. font-size: $uni-font-size-weak-one;
  784. .shuxian {
  785. width: #{2rpx};
  786. height: #{13rpx};
  787. border: #{1rpx solid #eeeeee};
  788. }
  789. .icon {
  790. width: #{35rpx};
  791. height: #{35rpx};
  792. display: block;
  793. }
  794. .q-price {
  795. color: #ff4544;
  796. &:before {
  797. content: '¥';
  798. }
  799. }
  800. }
  801. }
  802. .price {
  803. text-align: center;
  804. color: #999999;
  805. margin-left: #{20rpx};
  806. view:last-child {
  807. color: #ff4544;
  808. }
  809. }
  810. .content {
  811. text-align: center;
  812. color: #353535;
  813. font-size: #{35rpx};
  814. margin-top: #{47rpx};
  815. text {
  816. color: #ff4544;
  817. font-size: #{45rpx};
  818. }
  819. }
  820. }
  821. .share-goods-status-1 {
  822. .content {
  823. text-align: center;
  824. color: #353535;
  825. font-size: #{35rpx};
  826. margin-top: #{60rpx};
  827. margin-bottom: #{80rpx};
  828. text {
  829. color: #ff4544;
  830. font-size: #{45rpx};
  831. }
  832. }
  833. .goods-title {
  834. color: #a6a6a6;
  835. margin-top: #{36rpx};
  836. margin-bottom: #{34rpx};
  837. .border {
  838. width: #{40rpx};
  839. border: #{1rpx solid #a6a6a6};
  840. &:first-child {
  841. margin-right: #{24rpx};
  842. }
  843. &:last-child {
  844. margin-left: #{24rpx};
  845. }
  846. }
  847. image {
  848. width: #{24rpx};
  849. height: #{24rpx};
  850. display: block;
  851. margin-right: #{12rpx};
  852. }
  853. }
  854. }
  855. .cat-list {
  856. padding: #{0 24rpx};
  857. .cat-item {
  858. width: #{221rpx};
  859. padding: #{10rpx 27rpx};
  860. font-size: $uni-font-size-general-one;
  861. border-radius: #{30rpx};
  862. border: #{2rpx solid #e2e2e2};
  863. background-color: #ffffff;
  864. margin-right: #{18rpx};
  865. margin-bottom: #{34rpx};
  866. text-align: center;
  867. }
  868. }
  869. .disabled {
  870. padding-top: #{156rpx};
  871. .disabled-img {
  872. width: #{240rpx};
  873. height: #{237rpx};
  874. display: block;
  875. }
  876. .disabled-text {
  877. font-size: $uni-font-size-general-two;
  878. color: #999999;
  879. margin-top: #{62rpx};
  880. }
  881. .disabled-btn {
  882. margin-top: #{80rpx};
  883. width: #{320rpx};
  884. height: #{80rpx};
  885. font-size: $uni-font-size-import-two;
  886. color: #ffffff;
  887. background: #ff4544;
  888. border-radius: #{40rpx};
  889. text-align: center;
  890. line-height: #{80rpx};
  891. }
  892. }
  893. </style>