Browse Source

修复问题

hejie 2 years ago
parent
commit
69a18937cf
1 changed files with 7 additions and 13 deletions
  1. 7 13
      src/pages/account/giveAsPresent.vue

+ 7 - 13
src/pages/account/giveAsPresent.vue

@@ -5,15 +5,15 @@
       <view class="list_text">
         <!-- <span>{{range[0][value].label}}</span>
         <span class="iconfont">&#xe62e;</span> -->
-        <div class="option-i" @click="value = 0">
-          <img src="@/static/img/xuanzhong_icon.png" v-if="value === 0" class="ico" alt="" />
-          <img src="@/static/img/weixuanzhong_icon.png" v-else class="ico" alt="" />
-          <span class="txt">企业</span>
-        </div>
         <div class="option-i" @click="value = 1">
           <img src="@/static/img/xuanzhong_icon.png" v-if="value === 1" class="ico" alt="" />
           <img src="@/static/img/weixuanzhong_icon.png" v-else class="ico" alt="" />
-          <span class="txt">企业</span>
+          <span class="txt">茶宝</span>
+        </div>
+        <div class="option-i" @click="value = 0">
+          <img src="@/static/img/xuanzhong_icon.png" v-if="value === 0" class="ico" alt="" />
+          <img src="@/static/img/weixuanzhong_icon.png" v-else class="ico" alt="" />
+          <span class="txt">余额</span>
         </div>
       </view>
     </view>
@@ -60,13 +60,7 @@ export default {
       userinfo: undefined, // 获取用户信息
 
       pickerShow: false,
-      value: 0,
-      range: [
-        [
-          { value: 0, label: "余额" },
-          { value: 1, label: "茶宝" },
-        ]
-      ],
+      value: 1,
       list: [],
     };
   },