<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/mbos/store/4000148/shrnewlightapp/main.css">
    <title>s-HR 移动门户</title>
	   <script>
		 	var globalThis = window || this
		 	console.log(globalThis,99)
		</script>
</head>

<body>
    <div id="app">
	  <!--声明协议弹窗-->
        <div class="mask-wrapper" v-if="signAgreement">
            <div class="wrapper-content">
                <div class="dialog-title">{{localeResource.agreementTitle}}</div>
                <div class="dialog-text">
                <span>{{localeResource.agreementContent}}</span>
				  <a v-for="item in agreements" :key="item.id" @click="getAgreement(item.id)" style="color: #388cff;">《{{ item.name }}》</a>
                </div>
                <div class="btns">
                <span @click="disAgree">{{localeResource.disAgree}}</span>
                <span @click="Agreement" class="agree">{{localeResource.agree}}</span>
                </div>
            </div>
        </div>
	  <div v-show="showText" class="agreement-text">
            <div v-html="agreementText" class="agreement-detail"></div>
            <div class="close-button" @click="closeBtn">
              <div>{{localeResource.close}}</div>
            </div>
        </div>
        <main v-if="versionError">
            <div>
                <img class="no_data" src="/mbos/store/4000148/shrnewlightapp/no_data.png" alt="">
                <div class="data_tips">{{localeResource.version}}</div>
            </div>
        </main>
        <main v-else>
            <div class="search_bar_wrapper">
                <img class="search_icon" src="/mbos/store/4000148/shrnewlightapp/search_icon.svg" alt="">
                <input class="search_input" type="text" :placeholder="search" @input="onchange">
                <div v-show="showChangeLan" class="language_title" @click="switchLanguage">
                    {{localeResource.title}}
                </div>
            </div>
            <div class="main_content">
                <div>
                    <img class="banner_image" :src="bannerUrl" alt="">
                </div>
                <div v-if="originData.length === 0">
                    <img class="no_data" src="/mbos/store/4000148/shrnewlightapp/no_data.png" alt="">
                    <div class="data_tips">{{localeResource.noData}}</div>
                </div>

                <div class="card_wrapper" v-if="shrCommonlyUsed && shrCommonlyUsed.length">
                    <div class="card_category_title">
                        {{localeResource.used}}
                    </div>
                    <div class="card_list">
                        <div class="card_item" v-for="item in shrCommonlyUsed" :key="item.name">
                            <div @click="()=> onItemClick(item)" class="card_item_content">
                                <img class="card_icon" :src="item.icon" alt="">
                                <div class="card_title">
                                    {{item.name}}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="card_wrapper" v-for="data in categoricalDate">
                    <div class="card_category_title">{{data.name}}</div>
                    <div class="card_list" id="card_list">
                        <div class="card_item" v-for="item in data.children" :key="item.name">
                            <div @click="()=> onItemClick(item)" class="card_item_content">
                                <img class="card_icon" :src="item.icon" alt="">
                                <div class="card_title">
                                    {{item.name}}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
			  <div class="privacy" v-show="isAllowVersion && originData.length !== 0" @click="()=> turnToPrivacy()">
                    {{localeResource.privacy}}
                </div>
            </div>
        </main>

    </div>
</body>
<script src="/mbos/store/4000148/shrnewlightapp/vue2.js"></script>
<script defer src="/mbos/store/4000148/shrnewlightapp/main.js"></script>

</html>
