Browse Source

no message

DaMowang 2 years ago
parent
commit
88b0ab1b17
4 changed files with 10 additions and 11 deletions
  1. 4 3
      src/pages/cash/index.vue
  2. 4 4
      src/pages/my/index.vue
  3. 2 4
      src/pagesB/cinema/choiceMovie.vue
  4. BIN
      src/static/my/deposit.png

+ 4 - 3
src/pages/cash/index.vue

@@ -31,7 +31,7 @@
     </view>
     <view class="btn flex_r flex_ac flex_jc" @tap="onSubForm">申请提现</view>
     <view class="showlist" v-for="(item, index) in show" :key="index"
-      >{{ index + 1 }}、{{ item }}</view
+      >{{ item }}</view
     >
   </view>
 </template>
@@ -67,8 +67,9 @@ export default {
   },
   methods: {
     getExolain(){
-      post("v1/withdrawdesc").then(res => {
-        this.show = res.data.data[0]
+      let url = this.islocal ? "local/withdrawDesc" : "v1/withdrawdesc"
+      post(url).then(res => {
+        this.show = this.islocal ? res.data[0] : res.data.data[0]
       })
     },
     onSubForm() {

+ 4 - 4
src/pages/my/index.vue

@@ -164,14 +164,14 @@
             <image class="fun_img" src="/static/my/upgrade.png" mode=""></image>
             <view class="fun_text">激活升级</view>
           </navigator>
-          <!-- <navigator class="fun_list flex_c flex_ac" url="/pagesB/orderingfood/incomeExpenses" hover-class="none">
+          <navigator class="fun_list flex_c flex_ac" url="/pagesB/orderingfood/incomeExpenses" hover-class="none">
             <image class="fun_img" src="/static/my/detail.png" mode=""></image>
             <view class="fun_text">收支明细</view>
-          </navigator> -->
-          <!-- <navigator class="fun_list flex_c flex_ac" @click="getToCash('local')" hover-class="none">
+          </navigator>
+          <navigator class="fun_list flex_c flex_ac" @click="getToCash('local')" hover-class="none">
             <image class="fun_img" src="/static/my/deposit.png" mode=""></image>
             <view class="fun_text">提现</view>
-          </navigator> -->
+          </navigator>
         </view>
       </view>
       <view class="fun mar_t30">

+ 2 - 4
src/pagesB/cinema/choiceMovie.vue

@@ -96,7 +96,7 @@ export default {
 					for (let i in obj) {
 						let ar = [], ob = {};
 						for (let b of obj[i]) {
-							let tim = b.showTime.slice(5,10)
+							let tim = b.showTime.slice(5,10);
 							if(!ar.includes(tim)) {
 								ar.push(tim)
 								ob[tim] = [];
@@ -105,9 +105,7 @@ export default {
 						}
 						let ar2 = []
 						for (let c in ob) {
-							ar2.push({
-								time: c, list: ob[c]
-							})
+							ar2.push({ time: c, list: ob[c] })
 						}
 						obj[i] = ar2
 					}

BIN
src/static/my/deposit.png