meber.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. <!DOCTYPE html>
  2. <html class="">
  3. <!--STATUS OK-->
  4. <head>
  5. <meta name="referrer" content="always" />
  6. <meta charset='utf-8' />
  7. <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  8. <meta http-equiv="x-dns-prefetch-control" content="on">
  9. <meta name="description" content="">
  10. <meta name="format-detection" content="telephone=no" />
  11. <link rel="stylesheet" type="text/css" href="css/vant-ui.css" />
  12. <link rel="stylesheet" type="text/css" href="css/iconfont.css">
  13. <link rel="stylesheet" type="text/css" href="css/main.css" />
  14. <script src="js/vue.js"></script>
  15. <script src="js/vant-ui.js"></script>
  16. <script src="js/main.js"></script>
  17. <title></title>
  18. <style media="screen">
  19. .anniu {
  20. display: flex;
  21. }
  22. .anniu>input {
  23. width: 100%;
  24. height: .86rem;
  25. background: rgba(0, 160, 234, 1);
  26. border-radius: 5rem;
  27. color: #fff;
  28. font-size: .31rem;
  29. margin-top: .5rem;
  30. }
  31. .vanui-btn {
  32. display: flex;
  33. justify-content: space-around;
  34. }
  35. .vanui-title {
  36. font-size: 0.36rem;
  37. background-color: #0096df;
  38. color: #fff;
  39. width: 100%;
  40. text-align: center;
  41. padding: 0.2rem;
  42. }
  43. .vanui-input {
  44. margin: 0.1rem;
  45. border: 1px solid#ccc;
  46. width: 95%;
  47. height: 0.8rem;
  48. border-radius: 5px;
  49. padding: 0.1rem 0.2rem;
  50. font-size: 0.3rem;
  51. }
  52. .vanui-btnitem {
  53. color: #fff;
  54. font-size: 0.3rem;
  55. border-radius: 5px;
  56. color: #fff;
  57. margin-top: 0.1rem;
  58. padding: 0.2rem 0.3rem;
  59. }
  60. .vanui-done {
  61. background-color: #0096df;
  62. }
  63. .hxCode {
  64. text-align: center;
  65. font-size: 0.3rem;
  66. font-weight: bold;
  67. padding: 0.2rem;
  68. }
  69. .line1 {
  70. width: 100px !important;
  71. overflow: hidden !important;
  72. text-overflow: ellipsis !important;
  73. white-space: nowrap;
  74. }
  75. #mescroll {
  76. overflow-y: scroll !important;
  77. }
  78. .onloginBtns {
  79. width: 6.78rem;
  80. height: 0.76rem;
  81. border-radius: 0.38rem;
  82. background: #00a0ea;
  83. color: #fff;
  84. margin-top: 0.3rem;
  85. font-size: 0.24rem;
  86. }
  87. </style>
  88. </head>
  89. <body>
  90. <div id="app">
  91. <!-- 输入金额 -->
  92. <van-popup v-model="show" style="width:80%;padding-bottom : 0.2rem">
  93. <div class="vanui-title">生成核销码</div>
  94. <input v-show="hxCode == ''" type="number" class="vanui-input" placeholder="请输入核销金额(单位:元)"
  95. v-model="amount" />
  96. <div class="hxCode"> {{hxCode}}</div>
  97. <div class="vanui-btn" v-show="hxCode == ''">
  98. <div class="vanui-btnitem vanui-done" type="primary" v-on:click="getHxCode">确定</div>
  99. <div class="vanui-btnitem" style="background-color: #f00;" v-on:click="show = !show">取消</div>
  100. </div>
  101. </van-popup>
  102. <!-- end -->
  103. <div class="view flex col">
  104. <div class="page router fx1" id="mescroll">
  105. <div class="meberHeader" style="min-height: 3.95rem">
  106. <div class="flex jlr" style="padding-top: 1rem;">
  107. <div class="userTouxiang flex col a-center jlr">
  108. <div class="image">
  109. <img :src="agentInfo.storeImageUrl" style="border-radius:50%" />
  110. </div>
  111. <p style="font-size:0.2rem">
  112. 联系人:{{ agentInfo.contactName }}
  113. </p>
  114. </div>
  115. <div class="shopInfo">
  116. <div class="flex a-center" style="font-size: .34rem;">{{ agentInfo.storeName }}
  117. <!-- <div class="edit"></div> -->
  118. </div>
  119. <div class="tag" style="font-size:0.2rem">
  120. <p
  121. style=" display: inline-block;white-space: nowrap; max-width: 4rem; overflow: hidden;text-overflow:ellipsis;">
  122. {{ agentInfo.addressInfo }}
  123. </p>
  124. </div>
  125. </div>
  126. <div class="ewm flex j-center" v-on:click="lookAgentQrcode">
  127. <b></b>
  128. </div>
  129. </div>
  130. <div class="meberHeaderBottom flex a-center j-center">
  131. <div class="item flex a-center j-center">
  132. 区域:{{ agentInfo.district }}
  133. </div><span></span>
  134. <div class="item flex a-center j-center " style="text-align: center;"
  135. v-on:click="lookBrandInfo">
  136. <p class="line1">{{ agentInfo.bizStoreBrandDto | getBrand }}</p>
  137. </div><span></span>
  138. <div class="item flex a-center j-center">
  139. 签约任务:{{ agentInfo.numTask }}
  140. </div>
  141. </div>
  142. </div>
  143. <div class="fanliBar">
  144. <!-- <div class="fanliBar-title">我的钱包</div> -->
  145. <div class=" flex a-center">
  146. <div class="item">
  147. <div class="flex a-end" v-on:click="inFanli">
  148. <h4>{{ agentInfo.avail }}</h4>
  149. <em>RMB</em>
  150. </div>
  151. <div class="item-bar-text">我的返利</div>
  152. </div>
  153. <div class="item">
  154. <div class="flex a-end">
  155. <h4>{{ agentInfo.accountfrozen}}</h4>
  156. <em>RMB</em>
  157. </div>
  158. <div class="item-bar-text">冻结返利</div>
  159. </div>
  160. <!-- <div class="fgx"></div> -->
  161. <div class="item">
  162. <div class="flex a-end">
  163. <h4>{{ agentInfo.stayCancel }}</h4>
  164. <em>RMB</em>
  165. </div>
  166. <div class="item-bar-text">待核销</div>
  167. </div>
  168. <div class="item">
  169. <div class="flex a-end">
  170. <h4>{{agentInfo.storeTotalIntegral | fortatterNum }}</h4>
  171. <em style="white-space:nowrap;">{{agentInfo.storeTotalIntegral | unitNum}}个</em>
  172. </div>
  173. <div class="item-bar-text">可用积分</div>
  174. </div>
  175. </div>
  176. </div>
  177. <div class="meberMenu">
  178. <div class="meberMenu-title">我的服务</div>
  179. <div class="meberMenu-container">
  180. <div class="item flex col a-center j-center" v-on:click="openWin('intoNode')">
  181. <b class="i1"></b>
  182. <h4>入库明细</h4>
  183. </div>
  184. <div class="item flex col a-center j-center" v-on:click="openWin('gotoNode')">
  185. <b class="i2"></b>
  186. <h4>出库明细</h4>
  187. </div>
  188. <div class="item flex col a-center j-center" v-on:click="openWin('backMoneyList')">
  189. <b class="i3"></b>
  190. <h4>返利明细</h4>
  191. </div>
  192. <div class="item flex col a-center j-center" v-on:click="openWin('intoStore')">
  193. <b class="i4"></b>
  194. <h4>任务统计</h4>
  195. </div>
  196. <div class="item flex col a-center j-center" v-on:click="openWin('lipeiList')">
  197. <b class="i5"></b>
  198. <h4>赔付记录</h4>
  199. </div>
  200. <div class="item flex col a-center j-center" v-on:click="openWin('myOrderList')">
  201. <b class="i6"></b>
  202. <h4>门店订单</h4>
  203. </div>
  204. <div class="item flex col a-center j-center" v-on:click="openWin('couponList')">
  205. <b class="i7"></b>
  206. <h4>我的优惠券</h4>
  207. </div>
  208. <div class="item flex col a-center j-center" v-on:click="openWin('supplier')">
  209. <b class="i8"></b>
  210. <h4>我的供应商</h4>
  211. </div>
  212. </div>
  213. </div>
  214. <div class="meberList">
  215. <!-- 20201023微信车主下单 -->
  216. <!-- <div class="item flex a-center jlr" v-on:click="openWin('tireOrder')">
  217. <h4>车主订单</h4>
  218. <div class="flex a-center rightIcons">
  219. <i class="iconfont icon-right"></i>
  220. </div>
  221. </div> -->
  222. <div class="item flex a-center jlr" v-on:click="openWin('monthAccounts')">
  223. <h4>月度结算</h4>
  224. <div class="flex a-center rightIcons">
  225. <i class="iconfont icon-right"></i>
  226. </div>
  227. </div>
  228. <div class="item flex a-center jlr" v-on:click="openWin('backMoney')">
  229. <h4>核销管理</h4>
  230. <div class="flex a-center rightIcons">
  231. <i class="iconfont icon-right"></i>
  232. </div>
  233. </div>
  234. <div class="item flex a-center jlr" v-on:click="inaddress">
  235. <h4>收货地址管理</h4>
  236. <div class="flex a-center rightIcons">
  237. <i class="iconfont icon-right"></i>
  238. </div>
  239. </div>
  240. <div class="item flex a-center jlr" v-on:click="insignAddress" v-if="agentInfo.signUptomodify==0">
  241. <h4>签约任务及地址修改</h4>
  242. <div class="flex a-center rightIcons">
  243. <i class="iconfont icon-right"></i>
  244. </div>
  245. </div>
  246. <div class="item flex a-center jlr" v-on:click="lookPdf(0)">
  247. <h4>用户协议</h4>
  248. <div class="flex a-center rightIcons">
  249. <i class="iconfont icon-right"></i>
  250. </div>
  251. </div>
  252. <div class="item flex a-center jlr" v-on:click="lookPdf(1)">
  253. <h4>隐私协议</h4>
  254. <div class="flex a-center rightIcons">
  255. <i class="iconfont icon-right"></i>
  256. </div>
  257. </div>
  258. <div class="item flex a-center jlr" v-on:click="checkVersion">
  259. <h4>版本检测</h4>
  260. <div class="flex a-center rightIcons" style="color:#f00">
  261. {{ version }}
  262. </div>
  263. </div>
  264. <!--<div class="item flex a-center jlr">
  265. <h4>设置</h4>
  266. <div class="flex a-center rightIcons">
  267. <i class="iconfont icon-right"></i>
  268. </div>
  269. </div> -->
  270. </div>
  271. <div style="display:flex;justify-content:center;margin-bottom:.2rem">
  272. <div class="onloginBtns flex a-center j-center" v-on:click="logout()">
  273. 注销登录
  274. </div>
  275. </div>
  276. <!-- <div class="anniu">
  277. <input type="button" value="注销登录" v-on:click="logout()">
  278. </div> -->
  279. </div>
  280. <!-- <van-tabbar v-model="active" fixed active-color="#0083ca" inactive-color="#808080" ref="footer" class="tabbar_footer">
  281. <van-tabbar-item v-for="(item,index) in icon" :key="index" replace :to="item.path">
  282. <span>{{item.label}}</span>
  283. <template #icon="props">
  284. <img :src="props.active ? item.active : item.inactive" />
  285. </template>
  286. </van-tabbar-item>
  287. </van-tabbar>-->
  288. </div>
  289. </div>
  290. </body>
  291. </html>
  292. <link rel="stylesheet" href="./mescroll/mescroll.min.css">
  293. <script type="text/javascript" src="./mescroll/mescroll.min.js"></script>
  294. <script type="text/javascript" src="../script/api.js"></script>
  295. <script type="text/javascript" src="../script/httpRequest.js"></script>
  296. <script type="text/javascript" src="../script/vue_plugins.js"></script>
  297. <script type="text/javascript">
  298. apiready = function () {
  299. new Vue({
  300. el: '#app',
  301. data: {
  302. active: 3,
  303. footerHeight: 0,
  304. icon: [{
  305. label: '首页',
  306. path: '/',
  307. active: "./img/images/tabar_home_active.png",
  308. inactive: "./img/images/tabar_home_inactive.png"
  309. }, {
  310. label: '发现',
  311. path: '/discover',
  312. active: './img/images/faxian.png',
  313. inactive: './img/images/faxian.png'
  314. }, {
  315. label: '消息',
  316. path: '/information',
  317. active: './img/images/xiaoxi.png',
  318. inactive: './img/images/xiaoxi.png'
  319. }, {
  320. label: '我的',
  321. path: '/meber',
  322. active: './img/images/wode_active.png',
  323. inactive: './img/images/wode.png'
  324. }],
  325. agentInfo: {},
  326. imageBrowse: '',
  327. show: false,
  328. amount: '',
  329. hxCode: '',
  330. storeId: '',
  331. pdfReader: '',
  332. ptfurl0: 'widget://res/xy.pdf',
  333. ptfurl1: 'widget://res/zc.pdf',
  334. storePhone: '',
  335. objIcon: ''
  336. },
  337. computed: {
  338. version: function () {
  339. return this.getVersion();
  340. }
  341. },
  342. watch: {
  343. show: function (nw, ow) {
  344. if (nw == false) {
  345. this.amount = '';
  346. this.hxCode = '';
  347. }
  348. }
  349. },
  350. filters: {
  351. fortatterNum: function (val) {
  352. var value = 0;
  353. if (val != null && parseInt(val) >= 10000 && parseInt(val) < 100000000) {
  354. value = (parseFloat(val) / 10000).toFixed(2)
  355. } else if (val != null && parseInt(val) >= 100000000) {
  356. value = (parseFloat(val) / 100000000).toFixed(2)
  357. } else {
  358. value = val
  359. }
  360. return value;
  361. },
  362. unitNum: function (val) {
  363. var value = '';
  364. if (val != null && parseInt(val) >= 10000 && parseInt(val) < 100000000) {
  365. value = "万"
  366. } else if (val != null && parseInt(val) >= 100000000) {
  367. value = "亿"
  368. } else {
  369. value = ''
  370. }
  371. return value;
  372. },
  373. getBrand: function (val) {
  374. var brandStr = "";
  375. if (val != null) {
  376. val.map(function (v, i) {
  377. brandStr = brandStr + ' | ' + v.brandName
  378. })
  379. return brandStr.substring(3, brandStr.length);
  380. } else {
  381. return "";
  382. }
  383. }
  384. },
  385. mounted: function () {
  386. this.init();
  387. // this.footerHeight = this.$refs['footer'].$el.offsetHeight
  388. },
  389. methods: {
  390. init: function () {
  391. this.pdfReader = api.require('pdfReader');
  392. this.imageBrowse = api.require("imageBrowser");
  393. this.userId = $api.getStorage('loginid');
  394. this.storeId = $api.getStorage('userid');
  395. this.objIcon = api.require('IconSwitch');
  396. this.getAgentInfo();
  397. var _this = this;
  398. this.addEvent("refushMeber", function () {
  399. _this.userId = $api.getStorage('loginid');
  400. _this.storeId = $api.getStorage('userid');
  401. _this.getAgentInfo();
  402. })
  403. if (api.systemType == 'ios') {
  404. this.addEvent("getIcon", function () {
  405. setTimeout(function () {
  406. _this.getIcon()
  407. }, 2000);
  408. })
  409. }
  410. // 开启下拉刷新
  411. // this.configDownAndPull("mescroll", function(mescroll) {
  412. // _this.getAgentInfo(mescroll);
  413. // }, function() {
  414. //
  415. // }, false);
  416. },
  417. /**
  418. * 查看二维码
  419. */
  420. inFanli: function () {
  421. var _this = this
  422. if (this.agentInfo.status == 5) {
  423. api.confirm({
  424. title: '系统提示',
  425. msg: '门店已冻结,请找相关业务经理解冻!',
  426. buttons: ['确定', '激活']
  427. }, function (ret, err) {
  428. var index = ret.buttonIndex;
  429. if (index == 2) {
  430. _this.goWin("activation", "activation_win.html", "");
  431. }
  432. });
  433. _this.show = false;
  434. return;
  435. }
  436. this.show = true
  437. },
  438. lookAgentQrcode: function () {
  439. var qrCode = [this.agentInfo.qrbarcodeSrc];
  440. this.imageBrowse.openImages({
  441. imageUrls: qrCode
  442. })
  443. },
  444. /**
  445. * 获取门店详情
  446. */
  447. getAgentInfo: function (mescroll) {
  448. var _this = this,
  449. url = "getAgentInfoU",
  450. data = {
  451. "loginId": this.userId,
  452. "appVersion": parseFloat(api.appVersion),
  453. "mobileSystem": api.systemType,
  454. "type": 'body',
  455. "url": 'json'
  456. }
  457. if (this.userId == null) { // 个人不存在
  458. $api.clearStorage();
  459. _this.goWin("login", "login.html");
  460. }
  461. this.$postuser(url, data, function (ret) {
  462. if (ret.code == 0) {
  463. $api.setStorage("status", ret.data.status);
  464. if (ret.data.status == 5) {
  465. api.alert({
  466. title: '系统提示',
  467. msg: '门店账号无效!',
  468. }, function (ret, err) {
  469. if (ret) {
  470. $api.clearStorage();
  471. _this.goWin("login", "login.html");
  472. }
  473. });
  474. }
  475. _this.agentInfo = ret.data;
  476. if (_this.agentInfo.saveAppMessage != 1) {
  477. _this.inMobileMessage();
  478. }
  479. $api.setStorage("storeName", ret.data.storeName);
  480. if (mescroll) {
  481. mescroll.endSuccess()
  482. }
  483. }
  484. });
  485. },
  486. inMobileMessage: function () {
  487. var data = {
  488. "storePhone": this.agentInfo.storePhone,
  489. "storeId": this.storeId,
  490. "mobileSystem": api.systemType,
  491. "systemVersion": api.systemVersion,
  492. "appVersion": parseFloat(api.appVersion),
  493. "mobileModel": api.deviceModel,
  494. "deviceName": api.deviceName,
  495. "url": "json",
  496. "type": "body",
  497. },
  498. url = "MobileMessage",
  499. _this = this;
  500. this.$post(url, data, function (ret) {
  501. })
  502. },
  503. // 打开新页面
  504. openWin: function (src) {
  505. this.goWin(src, src + '_win.html');
  506. },
  507. logout: function () {
  508. $api.clearStorage($api.getStorage);
  509. this.goWin("login", "login.html");
  510. },
  511. // 查看品牌
  512. lookBrandInfo: function () {
  513. var brandStr = "";
  514. if (this.agentInfo.bizStoreBrandDto != null) {
  515. this.agentInfo.bizStoreBrandDto.map(function (v, i) {
  516. brandStr = brandStr + ' | ' + v.brandName
  517. })
  518. api.toast({
  519. msg: brandStr.substring(3, brandStr.length)
  520. })
  521. } else {
  522. return "";
  523. }
  524. },
  525. // 点击生成金额
  526. getHxCode: function () {
  527. if (this.amount > this.agentInfo.avail) {
  528. api.toast({
  529. msg: "填写金额不能大于可用返利金额"
  530. });
  531. return;
  532. }
  533. if (this.amount == "" || this.amount < 0 || this.amount.indexOf('.') >= 0) {
  534. api.toast({
  535. msg: "请完善正确核销金额"
  536. });
  537. return;
  538. }
  539. var data = {
  540. "storeId": this.storeId,
  541. "amount": this.amount,
  542. "url": "json",
  543. "type": "body",
  544. },
  545. url = "getHxCodeU",
  546. _this = this;
  547. this.$post(url, data, function (ret) {
  548. if (ret.code == 0) {
  549. if (!ret.message) {
  550. api.toast({
  551. msg: '生成核销码成功',
  552. });
  553. setTimeout(function () {
  554. _this.show = false;
  555. _this.getAgentInfo();
  556. // _this.hxCode = ret.data.couponCode;
  557. _this.goWin('backMoney', 'backMoney_win.html');
  558. }, 200);
  559. } else {
  560. _this.show = false;
  561. api.toast({
  562. msg: ret.message,
  563. });
  564. return
  565. }
  566. }
  567. })
  568. },
  569. // 检查版本更新
  570. checkVersion: function () {
  571. var _this = this;
  572. this.ifHasPrme('storage', function (ret) {
  573. if (ret == true) {
  574. _this.getNewVersionUrl(function () {
  575. });
  576. }
  577. })
  578. },
  579. // 查看pdf
  580. lookPdf: function (index) {
  581. this.pdfReader.open({
  582. path: index == 0 ? this.ptfurl0 : this.ptfurl1,
  583. hidden: {
  584. print: true,
  585. export: true,
  586. bookmark: true,
  587. email: true
  588. },
  589. backBtn: {
  590. size: { //JSON对象;左上角按钮的大小配置
  591. w: 20, //数字类型;左上角按钮的宽;默认:60
  592. h: 20 //数字类型;左上角按钮的高;默认:40
  593. },
  594. title: { //JSON对象;按钮标题配置
  595. text: "返回", //字符串类型;标题文本;默认:‘’
  596. },
  597. corner: 5 //数字类型;左上角按钮圆角大小;默认值:5.0
  598. }
  599. });
  600. },
  601. insignAddress: function () {
  602. var _this = this
  603. if (this.agentInfo.status == 3) {
  604. api.confirm({
  605. title: '系统提示',
  606. msg: '门店已冻结,请找相关业务经理解冻!',
  607. buttons: ['确定', '激活']
  608. }, function (ret, err) {
  609. var index = ret.buttonIndex;
  610. if (index == 2) {
  611. _this.goWin("activation", "activation_win.html", "");
  612. }
  613. });
  614. return;
  615. }
  616. this.goWin('sign_address', 'sign_address.html', {
  617. addressModify: this.agentInfo.addressModify,
  618. contractTask: this.agentInfo.contractTask
  619. });
  620. },
  621. inaddress: function () {
  622. var _this = this
  623. if (this.agentInfo.status == 3) {
  624. api.confirm({
  625. title: '系统提示',
  626. msg: '门店已冻结,请找相关业务经理解冻!',
  627. buttons: ['确定', '激活']
  628. }, function (ret, err) {
  629. var index = ret.buttonIndex;
  630. if (index == 2) {
  631. _this.goWin("activation", "activation_win.html", "");
  632. }
  633. });
  634. return;
  635. }
  636. this.goWin('address', 'address_win.html');
  637. },
  638. //IOS获取动态ICON
  639. getIcon: function () {
  640. if (api.systemType == 'ios') {
  641. if (this.agentInfo.bizStoreBrandDto[0].brandName == 'SAILUN') {
  642. this.objIcon.change({ name: 'SAILUN', }, function (ret, err) { });
  643. } else if (this.agentInfo.bizStoreBrandDto[0].brandName == 'BLACKHAWK') {
  644. this.objIcon.change({ name: 'HEIYING', }, function (ret, err) { });
  645. } else if (this.agentInfo.bizStoreBrandDto[0].brandName == 'ROVELO') {
  646. this.objIcon.change({ name: 'RUIKETU', }, function (ret, err) { });
  647. } else if (this.agentInfo.bizStoreBrandDto[0].brandName == 'ROADX') {
  648. this.objIcon.change({ name: 'LUJI', }, function (ret, err) { });
  649. } else if (this.agentInfo.bizStoreBrandDto[0].brandName == 'JINYU') {
  650. this.objIcon.change({ name: 'JINYU', }, function (ret, err) { });
  651. } else if (this.agentInfo.bizStoreBrandDto[0].brandName == 'BLACKLION') {
  652. this.objIcon.change({ name: 'HEISHI', }, function (ret, err) { });
  653. } else {
  654. this.objIcon.change({ name: 'SHOP', }, function (ret, err) { });
  655. }
  656. }
  657. }
  658. }
  659. })
  660. }
  661. </script>