quanwei
2 days ago 04102f7237efefa744090ed7c25f7b5d0807b679
mobile/pages2/shareholder/index/index.vue
@@ -51,7 +51,8 @@
               </view>
            </view>
            <view class="d-c-c pt30">
               <button type="primary" class="btn-gcred flex-1" @click="gotoCash">{{ info_words.index.words.cash.value }}</button>
               <button type="primary" class="btn-gcred flex-1"
                  @click="gotoCash">{{ info_words.index.words.cash.value }}</button>
            </view>
         </view>
         <!--图标入口-->
@@ -64,7 +65,8 @@
            </view>
            <view class="d-c-c d-c flex-1" @click="gotoPage('pages2/shareholder/bonus/bonus')">
               <view>
                  <image class="team_index_img" src="../../../static/icon/icon-fenxiaodingdan.png" mode=""></image>
                  <image class="team_index_img" src="../../../static/icon/icon-fenxiaodingdan.png" mode="">
                  </image>
               </view>
               <text class="pt10 f26 mt20">{{ info_words.bonus_list.title.value }}</text>
            </view>
@@ -74,13 +76,30 @@
      <template v-if="!is_shareholder && isData">
         <view class="no-team">
            <view class="mt50 p-0-20 pt30 red f34 tc">{{ info_words.index.words.not_shareholder.value }}</view>
            <view class="p30 f28" v-if="setting.become=='40'">您需要下级分销商人数达到<text class="orange">{{setting.totalfxs_down}}</text>人才能成为{{ info_words.index.words.shareholder.value }},您当前的分销商人数为<text class="orange">{{agent_total}}</text>人,继续努力吧!</view>
            <view class="p30 f28" v-if="setting.become=='50'">您需要累计分销佣金达到<text class="orange">{{setting.total_money}}</text>元才能成为{{ info_words.index.words.shareholder.value }},您当前累计分销佣金为<text class="orange">{{agent_money}}</text>元,继续努力吧!</view>
            <view class="p30 f28" v-if="setting.become=='70'">您需要团队累计业绩达到<text class="orange">{{setting.total_team_money}}</text>元才能成为{{ info_words.index.words.shareholder.value }},您当前团队累计业绩为<text class="orange">{{team_money}}</text>元,继续努力吧!</view>
            <view class="p30 f28" v-if="setting.become=='90'">您需要一次性消费达到<text class="orange">{{setting.one_expend_money}}</text>元才能成为{{ info_words.index.words.region.value }},继续努力吧!</view>
            <view class="p30 f28" v-if="setting.become=='40'">您需要下级分销商人数达到<text
                  class="orange">{{setting.totalfxs_down}}</text>人才能成为{{ info_words.index.words.shareholder.value }},您当前的分销商人数为<text
                  class="orange">{{agent_total}}</text>人,继续努力吧!</view>
            <view class="p30 f28" v-if="setting.become=='50'">您需要累计分销佣金达到<text
                  class="orange">{{setting.total_money}}</text>元才能成为{{ info_words.index.words.shareholder.value }},您当前累计分销佣金为<text
                  class="orange">{{agent_money}}</text>元,继续努力吧!</view>
            <view class="p30 f28" v-if="setting.become=='70'">您需要团队累计业绩达到<text
                  class="orange">{{setting.total_team_money}}</text>元才能成为{{ info_words.index.words.shareholder.value }},您当前团队累计业绩为<text
                  class="orange">{{team_money}}</text>元,继续努力吧!</view>
            <view class="p30 f28" v-if="setting.become=='90'">您需要一次性消费达到<text
                  class="orange">{{setting.one_expend_money}}</text>元才能成为{{ info_words.index.words.region.value }},继续努力吧!
            </view>
            <view class="section-product" v-if="setting.become=='110'">
               <view class="p30 f28">您需要团队推荐商户入驻人数需达到<text class="orange">{{setting.totalsh_down}}</text>人并且团队推荐指定会员等级达到<text class="orange" v-for="(item, index ) in gradeList">{{(index>0?'或':'')+item.name}}</text>满<text class="orange">{{setting.totalvip_down}}</text>人并且至少购买VIP专区商品<text class="orange">{{setting.purchase_count}}</text>次或购买以下任意一款商品才能成为{{ info_words.index.words.shareholder.value }}</view>
               <view @click="gotoProductDetail(item.product_id)" class="item" :class="index==productList.length-1?'noborder':'border-b-e'" v-for="(item, index) in productList" :key="index">
               <view class="p30 f28">
                  您需要团队推荐<text class="orange">{{setting.totalsh_down}}</text>家商户入驻
                  并且团队推荐指定会员等级达到<text class="orange"
                     v-for="(item, index ) in gradeList">{{(index>0?'或':'')+item.name}}</text>满<text
                     class="orange">{{setting.totalvip_down}}</text>人
                  并且至少购买VIP专区商品<text class="orange">{{setting.purchase_count}}</text>次
                  或购买以下任意一款商品才能成为{{ info_words.index.words.shareholder.value }}
               </view>
               <view @click="gotoProductDetail(item.product_id)" class="item"
                  :class="index==productList.length-1?'noborder':'border-b-e'"
                  v-for="(item, index) in productList" :key="index">
                  <image :src="item.product_image" class="cover" mode="aspectFit"></image>
                  <view class="info">
                     <view class="title">{{ item.product_name }}</view>
@@ -99,7 +118,9 @@
            </view>
            <view class="section-product" v-if="setting.become=='100'">
               <view class="p30 f28 d-c-c">您需要购买以下任意一款商品才能申请{{ info_words.index.words.shareholder.value }}</view>
               <view @click="gotoProductDetail(item.product_id)" class="item" :class="index==productList.length-1?'noborder':'border-b-e'" v-for="(item, index) in productList" :key="index">
               <view @click="gotoProductDetail(item.product_id)" class="item"
                  :class="index==productList.length-1?'noborder':'border-b-e'"
                  v-for="(item, index) in productList" :key="index">
                  <image :src="item.product_image" class="cover" mode="aspectFit"></image>
                  <view class="info">
                     <view class="title">{{ item.product_name }}</view>
@@ -117,7 +138,8 @@
               </view>
            </view>
            <view class="p30 mt30" v-if="setting.become=='10'">
               <button type="primary" class="btn-gcred" @click="applyShareholder">{{ info_words.index.words.apply_now.value }}</button>
               <button type="primary" class="btn-gcred"
                  @click="applyShareholder">{{ info_words.index.words.apply_now.value }}</button>
            </view>
            <view class="p30 mt30" v-else-if="setting.become=='40' || setting.become=='50'">
               <button type="primary" class="btn-gcred" @click="gotoAgent">马上去招募人员</button>
@@ -126,7 +148,8 @@
               <button type="primary" class="btn-gcred" @click="gotoTeam">去看看我的团队</button>
            </view>
            <view class="p30">
               <button type="primary" class="btn-gray" @click="gotoShop">{{ info_words.apply.words.goto_mall.value }}</button>
               <button type="primary" class="btn-gray"
                  @click="gotoShop">{{ info_words.apply.words.goto_mall.value }}</button>
            </view>
         </view>
         <view class="bottom-banner d-c-c d-c" v-if="description_pic!=''">
@@ -187,7 +210,8 @@
            self._get('user.shareholder/center', {}, function(data) {
               self.info_words = data.data.words;
               uni.setNavigationBarTitle({
                  title: self.info_words.index.title.value != '' ? self.info_words.index.title.value : self.info_words.index.title
                  title: self.info_words.index.title.value != '' ? self.info_words.index.title
                     .value : self.info_words.index.title
                     .default
               });
               self.titel = data.data.words.index.title.value