Showing
26 changed files
with
41 additions
and
1215 deletions
| ... | ... | @@ -2,13 +2,34 @@ |
| 2 | 2 | <project version="4"> |
| 3 | 3 | <component name="ChangeListManager"> |
| 4 | 4 | <list default="true" id="22e3db16-f3f9-44cc-b7ca-0b5f75df2820" name="Changes" comment=""> |
| 5 | - <change beforePath="$PROJECT_DIR$/pages/contract_foreign_std/productRel.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/contract_foreign_std/productRel.vue" afterDir="false" /> | |
| 6 | - <change beforePath="$PROJECT_DIR$/pages/contract_foreign_stock/productRel.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/contract_foreign_stock/productRel.vue" afterDir="false" /> | |
| 7 | - <change beforePath="$PROJECT_DIR$/pages/contract_foreign_unplan/productRel.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/contract_foreign_unplan/productRel.vue" afterDir="false" /> | |
| 8 | - <change beforePath="$PROJECT_DIR$/pages/contract_process/productRel.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/contract_process/productRel.vue" afterDir="false" /> | |
| 9 | - <change beforePath="$PROJECT_DIR$/pages/contract_retail/productRel.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/contract_retail/productRel.vue" afterDir="false" /> | |
| 10 | - <change beforePath="$PROJECT_DIR$/pages/contract_stock/productRel.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/contract_stock/productRel.vue" afterDir="false" /> | |
| 11 | - <change beforePath="$PROJECT_DIR$/pages/contract_unplan/productRel.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/contract_unplan/productRel.vue" afterDir="false" /> | |
| 5 | + <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> | |
| 6 | + <change beforePath="$PROJECT_DIR$/pages-business/purchase/config.vue" beforeDir="false" /> | |
| 7 | + <change beforePath="$PROJECT_DIR$/pages-business/purchase/order/index.vue" beforeDir="false" /> | |
| 8 | + <change beforePath="$PROJECT_DIR$/pages-business/purchase/order/item/index.vue" beforeDir="false" /> | |
| 9 | + <change beforePath="$PROJECT_DIR$/pages-business/purchase/order/pay-type/index.vue" beforeDir="false" /> | |
| 10 | + <change beforePath="$PROJECT_DIR$/pages-business/retail/config.vue" beforeDir="false" /> | |
| 11 | + <change beforePath="$PROJECT_DIR$/pages-business/sale/config.vue" beforeDir="false" /> | |
| 12 | + <change beforePath="$PROJECT_DIR$/pages-business/take/config.vue" beforeDir="false" /> | |
| 13 | + <change beforePath="$PROJECT_DIR$/pages-data/address/index.vue" beforeDir="false" /> | |
| 14 | + <change beforePath="$PROJECT_DIR$/pages-data/brand/index.vue" beforeDir="false" /> | |
| 15 | + <change beforePath="$PROJECT_DIR$/pages-data/category/index.vue" beforeDir="false" /> | |
| 16 | + <change beforePath="$PROJECT_DIR$/pages-data/customer/index.vue" beforeDir="false" /> | |
| 17 | + <change beforePath="$PROJECT_DIR$/pages-data/logistics/index.vue" beforeDir="false" /> | |
| 18 | + <change beforePath="$PROJECT_DIR$/pages-data/member/index.vue" beforeDir="false" /> | |
| 19 | + <change beforePath="$PROJECT_DIR$/pages-data/pay-type/index.vue" beforeDir="false" /> | |
| 20 | + <change beforePath="$PROJECT_DIR$/pages-data/product/index.vue" beforeDir="false" /> | |
| 21 | + <change beforePath="$PROJECT_DIR$/pages-data/property/index.vue" beforeDir="false" /> | |
| 22 | + <change beforePath="$PROJECT_DIR$/pages-data/property/item/index.vue" beforeDir="false" /> | |
| 23 | + <change beforePath="$PROJECT_DIR$/pages-data/shop/index.vue" beforeDir="false" /> | |
| 24 | + <change beforePath="$PROJECT_DIR$/pages-data/store-center/index.vue" beforeDir="false" /> | |
| 25 | + <change beforePath="$PROJECT_DIR$/pages-data/supplier/index.vue" beforeDir="false" /> | |
| 26 | + <change beforePath="$PROJECT_DIR$/pages.json" beforeDir="false" afterPath="$PROJECT_DIR$/pages.json" afterDir="false" /> | |
| 27 | + <change beforePath="$PROJECT_DIR$/pages/business/index.vue" beforeDir="false" /> | |
| 28 | + <change beforePath="$PROJECT_DIR$/pages/common/textview/index.vue" beforeDir="false" /> | |
| 29 | + <change beforePath="$PROJECT_DIR$/pages/common/webview/index.vue" beforeDir="false" /> | |
| 30 | + <change beforePath="$PROJECT_DIR$/pages/data/index.vue" beforeDir="false" /> | |
| 31 | + <change beforePath="$PROJECT_DIR$/pages/mine/help/index.vue" beforeDir="false" /> | |
| 32 | + <change beforePath="$PROJECT_DIR$/pages/mine/index2.vue" beforeDir="false" /> | |
| 12 | 33 | </list> |
| 13 | 34 | <option name="SHOW_DIALOG" value="false" /> |
| 14 | 35 | <option name="HIGHLIGHT_CONFLICTS" value="true" /> |
| ... | ... | @@ -58,7 +79,7 @@ |
| 58 | 79 | <component name="Git.Settings"> |
| 59 | 80 | <option name="RECENT_BRANCH_BY_REPOSITORY"> |
| 60 | 81 | <map> |
| 61 | - <entry key="$PROJECT_DIR$" value="publish_cjerp" /> | |
| 82 | + <entry key="$PROJECT_DIR$" value="test_cjerp" /> | |
| 62 | 83 | </map> |
| 63 | 84 | </option> |
| 64 | 85 | <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> |
| ... | ... | @@ -71,17 +92,18 @@ |
| 71 | 92 | <option name="hideEmptyMiddlePackages" value="true" /> |
| 72 | 93 | <option name="showLibraryContents" value="true" /> |
| 73 | 94 | </component> |
| 74 | - <component name="PropertiesComponent">{ | |
| 75 | - "keyToString": { | |
| 76 | - "RunOnceActivity.ShowReadmeOnStart": "true", | |
| 77 | - "RunOnceActivity.git.unshallow": "true", | |
| 78 | - "git-widget-placeholder": "main", | |
| 79 | - "kotlin-language-version-configured": "true", | |
| 80 | - "last_opened_file_path": "/Users/zhuyl/Documents/qgutech/erp-mobile", | |
| 81 | - "nodejs_package_manager_path": "npm", | |
| 82 | - "vue.rearranger.settings.migration": "true" | |
| 95 | + <component name="PropertiesComponent"><![CDATA[{ | |
| 96 | + "keyToString": { | |
| 97 | + "Git.Branch.Popup.ShowAllRemotes": "true", | |
| 98 | + "RunOnceActivity.ShowReadmeOnStart": "true", | |
| 99 | + "RunOnceActivity.git.unshallow": "true", | |
| 100 | + "git-widget-placeholder": "main", | |
| 101 | + "kotlin-language-version-configured": "true", | |
| 102 | + "last_opened_file_path": "/Users/zhuyl/Documents/qgutech/erp-mobile", | |
| 103 | + "nodejs_package_manager_path": "npm", | |
| 104 | + "vue.rearranger.settings.migration": "true" | |
| 83 | 105 | } |
| 84 | -}</component> | |
| 106 | +}]]></component> | |
| 85 | 107 | <component name="RunManager"> |
| 86 | 108 | <configuration default="true" type="Applet" factoryName="Applet"> |
| 87 | 109 | <option name="WIDTH" value="400" /> |
| ... | ... | @@ -183,7 +205,7 @@ |
| 183 | 205 | <entry key="branch"> |
| 184 | 206 | <value> |
| 185 | 207 | <list> |
| 186 | - <option value="cjerp-1.0_20251220" /> | |
| 208 | + <option value="origin/cjerp-1.0_20260116" /> | |
| 187 | 209 | </list> |
| 188 | 210 | </value> |
| 189 | 211 | </entry> | ... | ... |
pages-business/purchase/config.vue
deleted
100644 → 0
| 1 | -<template> | |
| 2 | - | |
| 3 | - <uni-section title="配置项" type="line"> | |
| 4 | - <view class="form-view"> | |
| 5 | - <!-- 基础用法,不包含校验规则 --> | |
| 6 | - | |
| 7 | - </view> | |
| 8 | - </uni-section> | |
| 9 | - | |
| 10 | -</template> | |
| 11 | - | |
| 12 | -<script> | |
| 13 | - | |
| 14 | -</script> | |
| 15 | - | |
| 16 | -<style> | |
| 17 | - .top-view{ | |
| 18 | - padding: 20px; | |
| 19 | - } | |
| 20 | - .form-view { | |
| 21 | - margin-top: 20px; | |
| 22 | - padding-left: 5px; | |
| 23 | - padding-right: 5px; | |
| 24 | - /* display: flex; | |
| 25 | - align-items: center; */ | |
| 26 | - padding-bottom: 20px; | |
| 27 | - } | |
| 28 | - | |
| 29 | - .button-view { | |
| 30 | - display: flex; | |
| 31 | - align-items: center; | |
| 32 | - margin-bottom: 20px; | |
| 33 | - } | |
| 34 | - | |
| 35 | -</style> | |
| \ No newline at end of file |
pages-business/purchase/order/index.vue
deleted
100644 → 0
pages-business/purchase/order/item/index.vue
deleted
100644 → 0
pages-business/purchase/order/pay-type/index.vue
deleted
100644 → 0
pages-business/retail/config.vue
deleted
100644 → 0
| 1 | -<template> | |
| 2 | - | |
| 3 | - <uni-section title="配置项" type="line"> | |
| 4 | - <view class="form-view"> | |
| 5 | - <!-- 基础用法,不包含校验规则 --> | |
| 6 | - <view>零售出库单上的会员是否必填</view> | |
| 7 | - <uni-forms-item label="" required> | |
| 8 | - <uni-data-checkbox v-model="configFormData.retailOutSheetRequireMember" :localdata="isRequired" /> | |
| 9 | - </uni-forms-item> | |
| 10 | - <view>零售出库单是否需要发货</view> | |
| 11 | - <uni-forms-item label="" required> | |
| 12 | - | |
| 13 | - <uni-data-checkbox v-model="configFormData.retailOutSheetRequireLogistics" :localdata="isRequired" /> | |
| 14 | - </uni-forms-item> | |
| 15 | - <view>零售退货单上的会员是否必填</view> | |
| 16 | - <uni-forms-item label="" required> | |
| 17 | - | |
| 18 | - <uni-data-checkbox v-model="configFormData.retailReturnRequireMember" :localdata="isRequired" /> | |
| 19 | - </uni-forms-item> | |
| 20 | - <view>零售退货单是否关联零售出库单</view> | |
| 21 | - <uni-forms-item label="" required> | |
| 22 | - | |
| 23 | - <uni-data-checkbox v-model="configFormData.retailReturnRequireOutStock" :localdata="isRequired" /> | |
| 24 | - </uni-forms-item> | |
| 25 | - <view>零售退货单是否多次关联零售出库单</view> | |
| 26 | - <uni-forms-item label="" required> | |
| 27 | - | |
| 28 | - <uni-data-checkbox v-model="configFormData.retailReturnMultipleRelateOutStock" :localdata="isRequired" /> | |
| 29 | - </uni-forms-item> | |
| 30 | - | |
| 31 | - </uni-forms> | |
| 32 | - <view class="button-view"> | |
| 33 | - <button class="btn-view-button" @click="submit" type="primary" size="mini">保存</button> | |
| 34 | - <button class="btn-view-button" @click="cancel" type="primary" size="mini">取消</button> | |
| 35 | - </view> | |
| 36 | - </view> | |
| 37 | - </uni-section> | |
| 38 | - | |
| 39 | -</template> | |
| 40 | - | |
| 41 | -<script> | |
| 42 | - | |
| 43 | -</script> | |
| 44 | - | |
| 45 | -<style> | |
| 46 | - .top-view{ | |
| 47 | - padding: 20px; | |
| 48 | - } | |
| 49 | - .form-view { | |
| 50 | - margin-top: 20px; | |
| 51 | - padding-left: 5px; | |
| 52 | - padding-right: 5px; | |
| 53 | - /* display: flex; | |
| 54 | - align-items: center; */ | |
| 55 | - padding-bottom: 20px; | |
| 56 | - } | |
| 57 | - | |
| 58 | - .button-view { | |
| 59 | - display: flex; | |
| 60 | - align-items: center; | |
| 61 | - margin-bottom: 20px; | |
| 62 | - } | |
| 63 | - | |
| 64 | -</style> | |
| \ No newline at end of file |
pages-business/sale/config.vue
deleted
100644 → 0
| 1 | -<template> | |
| 2 | - | |
| 3 | - <uni-section title="配置项" type="line"> | |
| 4 | - <view class="form-view"> | |
| 5 | - | |
| 6 | - </view> | |
| 7 | - </uni-section> | |
| 8 | - | |
| 9 | -</template> | |
| 10 | - | |
| 11 | -<script> | |
| 12 | - | |
| 13 | -</script> | |
| 14 | - | |
| 15 | -<style> | |
| 16 | - .top-view{ | |
| 17 | - padding: 20px; | |
| 18 | - } | |
| 19 | - .form-view { | |
| 20 | - margin-top: 20px; | |
| 21 | - padding-left: 5px; | |
| 22 | - padding-right: 5px; | |
| 23 | - /* display: flex; | |
| 24 | - align-items: center; */ | |
| 25 | - padding-bottom: 20px; | |
| 26 | - } | |
| 27 | - | |
| 28 | - .button-view { | |
| 29 | - display: flex; | |
| 30 | - align-items: center; | |
| 31 | - margin-bottom: 20px; | |
| 32 | - } | |
| 33 | - | |
| 34 | -</style> | |
| \ No newline at end of file |
pages-business/take/config.vue
deleted
100644 → 0
| 1 | -<template> | |
| 2 | - | |
| 3 | - <uni-section title="配置项" type="line"> | |
| 4 | - <view class="form-view"> | |
| 5 | - | |
| 6 | - </view> | |
| 7 | - </uni-section> | |
| 8 | - | |
| 9 | -</template> | |
| 10 | - | |
| 11 | -<script> | |
| 12 | - | |
| 13 | -</script> | |
| 14 | - | |
| 15 | -<style> | |
| 16 | - .top-view{ | |
| 17 | - padding: 20px; | |
| 18 | - } | |
| 19 | - .form-view { | |
| 20 | - margin-top: 20px; | |
| 21 | - padding-left: 5px; | |
| 22 | - padding-right: 5px; | |
| 23 | - /* display: flex; | |
| 24 | - align-items: center; */ | |
| 25 | - padding-bottom: 20px; | |
| 26 | - } | |
| 27 | - | |
| 28 | - .button-view { | |
| 29 | - display: flex; | |
| 30 | - align-items: center; | |
| 31 | - margin-bottom: 20px; | |
| 32 | - } | |
| 33 | - | |
| 34 | -</style> | |
| \ No newline at end of file |
pages-data/address/index.vue
deleted
100644 → 0
pages-data/brand/index.vue
deleted
100644 → 0
pages-data/category/index.vue
deleted
100644 → 0
pages-data/customer/index.vue
deleted
100644 → 0
pages-data/logistics/index.vue
deleted
100644 → 0
pages-data/member/index.vue
deleted
100644 → 0
pages-data/pay-type/index.vue
deleted
100644 → 0
pages-data/product/index.vue
deleted
100644 → 0
pages-data/property/index.vue
deleted
100644 → 0
pages-data/property/item/index.vue
deleted
100644 → 0
pages-data/shop/index.vue
deleted
100644 → 0
pages-data/store-center/index.vue
deleted
100644 → 0
pages-data/supplier/index.vue
deleted
100644 → 0
| ... | ... | @@ -28,12 +28,6 @@ |
| 28 | 28 | } |
| 29 | 29 | }, |
| 30 | 30 | { |
| 31 | - "path": "pages/mine/index2", | |
| 32 | - "style": { | |
| 33 | - "navigationBarTitleText": "我的2" | |
| 34 | - } | |
| 35 | - }, | |
| 36 | - { | |
| 37 | 31 | "path": "pages/mine/info/index", |
| 38 | 32 | "style": { |
| 39 | 33 | "navigationBarTitleText": "个人信息" |
| ... | ... | @@ -850,126 +844,6 @@ |
| 850 | 844 | } |
| 851 | 845 | } |
| 852 | 846 | ], |
| 853 | - "subPackages": [ | |
| 854 | - { | |
| 855 | - "root": "pages-business", | |
| 856 | - "pages": [ | |
| 857 | - { | |
| 858 | - "path": "purchase/config", | |
| 859 | - "style": { | |
| 860 | - "navigationBarTitleText": "采购设置" | |
| 861 | - } | |
| 862 | - }, | |
| 863 | - { | |
| 864 | - "path": "purchase/order/index", | |
| 865 | - "style": { | |
| 866 | - "navigationBarTitleText": "采购订单" | |
| 867 | - } | |
| 868 | - }, | |
| 869 | - { | |
| 870 | - "path": "retail/config", | |
| 871 | - "style": { | |
| 872 | - "navigationBarTitleText": "零售设置" | |
| 873 | - } | |
| 874 | - }, | |
| 875 | - { | |
| 876 | - "path": "sale/config", | |
| 877 | - "style": { | |
| 878 | - "navigationBarTitleText": "销售设置" | |
| 879 | - } | |
| 880 | - }, | |
| 881 | - { | |
| 882 | - "path": "take/config", | |
| 883 | - "style": { | |
| 884 | - "navigationBarTitleText": "盘点设置" | |
| 885 | - } | |
| 886 | - } | |
| 887 | - ] | |
| 888 | - }, | |
| 889 | - { | |
| 890 | - "root": "pages-data", | |
| 891 | - "pages": [ | |
| 892 | - { | |
| 893 | - "path": "address/index", | |
| 894 | - "style": { | |
| 895 | - "navigationBarTitleText": "地址管理" | |
| 896 | - } | |
| 897 | - }, | |
| 898 | - { | |
| 899 | - "path": "brand/index", | |
| 900 | - "style": { | |
| 901 | - "navigationBarTitleText": "品牌管理" | |
| 902 | - } | |
| 903 | - }, | |
| 904 | - { | |
| 905 | - "path": "category/index", | |
| 906 | - "style": { | |
| 907 | - "navigationBarTitleText": "分类管理" | |
| 908 | - } | |
| 909 | - }, | |
| 910 | - { | |
| 911 | - "path": "customer/index", | |
| 912 | - "style": { | |
| 913 | - "navigationBarTitleText": "客户管理" | |
| 914 | - } | |
| 915 | - }, | |
| 916 | - { | |
| 917 | - "path": "logistics/index", | |
| 918 | - "style": { | |
| 919 | - "navigationBarTitleText": "物流管理" | |
| 920 | - } | |
| 921 | - }, | |
| 922 | - { | |
| 923 | - "path": "member/index", | |
| 924 | - "style": { | |
| 925 | - "navigationBarTitleText": "会员管理" | |
| 926 | - } | |
| 927 | - }, | |
| 928 | - { | |
| 929 | - "path": "pay-type/index", | |
| 930 | - "style": { | |
| 931 | - "navigationBarTitleText": "支付方式" | |
| 932 | - } | |
| 933 | - }, | |
| 934 | - { | |
| 935 | - "path": "product/index", | |
| 936 | - "style": { | |
| 937 | - "navigationBarTitleText": "产品管理" | |
| 938 | - } | |
| 939 | - }, | |
| 940 | - { | |
| 941 | - "path": "property/index", | |
| 942 | - "style": { | |
| 943 | - "navigationBarTitleText": "商品属性" | |
| 944 | - } | |
| 945 | - }, | |
| 946 | - { | |
| 947 | - "path": "property/item/index", | |
| 948 | - "style": { | |
| 949 | - "navigationBarTitleText": "属性项" | |
| 950 | - } | |
| 951 | - }, | |
| 952 | - { | |
| 953 | - "path": "shop/index", | |
| 954 | - "style": { | |
| 955 | - "navigationBarTitleText": "店铺管理" | |
| 956 | - } | |
| 957 | - }, | |
| 958 | - { | |
| 959 | - "path": "store-center/index", | |
| 960 | - "style": { | |
| 961 | - "navigationBarTitleText": "门店管理" | |
| 962 | - } | |
| 963 | - }, | |
| 964 | - { | |
| 965 | - "path": "supplier/index", | |
| 966 | - "style": { | |
| 967 | - "navigationBarTitleText": "供应商管理" | |
| 968 | - } | |
| 969 | - } | |
| 970 | - ] | |
| 971 | - } | |
| 972 | - ], | |
| 973 | 847 | "tabBar": { |
| 974 | 848 | "color": "rgba(0,0,0,0.9)", |
| 975 | 849 | "backgroundColor": "#ffffff", | ... | ... |
pages/business/index.vue
deleted
100644 → 0
| 1 | -<template> | |
| 2 | - <view class="work-container"> | |
| 3 | - <!-- 轮播图 --> | |
| 4 | - <uni-swiper-dot class="uni-swiper-dot-box" :info="data" :current="current" field="content"> | |
| 5 | - <swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper"> | |
| 6 | - <swiper-item v-for="(item, index) in data" :key="index"> | |
| 7 | - <view class="swiper-item" @click="clickBannerItem(item)"> | |
| 8 | - <image :src="item.image" mode="aspectFill" :draggable="false" /> | |
| 9 | - </view> | |
| 10 | - </swiper-item> | |
| 11 | - </swiper> | |
| 12 | - </uni-swiper-dot> | |
| 13 | - | |
| 14 | - <!-- 宫格组件 --> | |
| 15 | - <uni-section title="采购管理" type="line"> | |
| 16 | - <HR style="border:1 dashed #eeeeff" width="100%" color='#eeeeff' SIZE='1' /> | |
| 17 | - | |
| 18 | - <view class="grid-body"> | |
| 19 | - <uni-grid :column="4" :showBorder="false" @change="changeGrid"> | |
| 20 | - | |
| 21 | - <uni-grid-item :index=1> | |
| 22 | - <view class="grid-item-box"> | |
| 23 | - <!-- <uni-icons color="#007AFF" type="gift" size="30"></uni-icons> --> | |
| 24 | - <view class="cuIcon-settings text-pink icon"></view> | |
| 25 | - <text class="text">参数配置</text> | |
| 26 | - </view> | |
| 27 | - </uni-grid-item> | |
| 28 | - <uni-grid-item :index=2> | |
| 29 | - <view class="grid-item-box"> | |
| 30 | - <!-- <uni-icons color="#007AFF" type="list" size="30"></uni-icons> --> | |
| 31 | - <view class="cuIcon-sort text-pink icon"></view> | |
| 32 | - <text class="text">采购订单</text> | |
| 33 | - </view> | |
| 34 | - </uni-grid-item> | |
| 35 | - <uni-grid-item :index=3> | |
| 36 | - <view class="grid-item-box"> | |
| 37 | - <!-- <uni-icons color="#007AFF" type="color" size="30"></uni-icons> --> | |
| 38 | - <view class="cuIcon-newshot text-pink icon"></view> | |
| 39 | - <text class="text">采购入库</text> | |
| 40 | - </view> | |
| 41 | - </uni-grid-item> | |
| 42 | - <uni-grid-item :index=4> | |
| 43 | - <view class="grid-item-box"> | |
| 44 | - <!-- <uni-icons color="#007AFF" type="flag" size="30"></uni-icons> --> | |
| 45 | - <view class="cuIcon-exit text-pink icon"></view> | |
| 46 | - <text class="text">采购退货</text> | |
| 47 | - </view> | |
| 48 | - </uni-grid-item> | |
| 49 | - </uni-grid> | |
| 50 | - </view> | |
| 51 | - </uni-section> | |
| 52 | - <uni-section title="销售管理" type="line"> | |
| 53 | - <HR style="border:1 dashed #eeeeff" width="100%" color='#eeeeff' SIZE='1' /> | |
| 54 | - <view class="grid-body"> | |
| 55 | - <uni-grid :column="4" :showBorder="false" @change="changeGrid"> | |
| 56 | - <uni-grid-item :index=5> | |
| 57 | - <view class="grid-item-box"> | |
| 58 | - <!-- <uni-icons color="#007AFF" type="person-filled" size="30"></uni-icons> --> | |
| 59 | - | |
| 60 | - <view class="cuIcon-settings text-yellow icon"></view> | |
| 61 | - <text class="text">参数配置</text> | |
| 62 | - </view> | |
| 63 | - </uni-grid-item> | |
| 64 | - <uni-grid-item :index=6> | |
| 65 | - <view class="grid-item-box"> | |
| 66 | - <!-- <uni-icons color="#007AFF" type="staff-filled" size="30"></uni-icons> --> | |
| 67 | - <view class="cuIcon-sort text-yellow icon"></view> | |
| 68 | - <text class="text">销售订单</text> | |
| 69 | - </view> | |
| 70 | - </uni-grid-item> | |
| 71 | - <uni-grid-item :index=7> | |
| 72 | - <view class="grid-item-box"> | |
| 73 | - <!-- <uni-icons color="#007AFF" type="auth" size="30"></uni-icons> --> | |
| 74 | - <view class="cuIcon-text text-yellow icon"></view> | |
| 75 | - <text class="text">销售出库</text> | |
| 76 | - </view> | |
| 77 | - </uni-grid-item> | |
| 78 | - <uni-grid-item :index=8> | |
| 79 | - <view class="grid-item-box"> | |
| 80 | - <!-- <uni-icons color="#007AFF" type="home" size="30"></uni-icons> --> | |
| 81 | - <view class="cuIcon-exit text-yellow icon"></view> | |
| 82 | - <text class="text">销售退货</text> | |
| 83 | - </view> | |
| 84 | - </uni-grid-item> | |
| 85 | - | |
| 86 | - </uni-grid> | |
| 87 | - </view> | |
| 88 | - </uni-section> | |
| 89 | - <uni-section title="零售管理" type="line"> | |
| 90 | - <HR style="border:1 dashed #eeeeff" width="100%" color='#eeeeff' SIZE='1' /> | |
| 91 | - <view class="grid-body"> | |
| 92 | - <uni-grid :column="4" :showBorder="false" @change="changeGrid"> | |
| 93 | - <uni-grid-item :index=9> | |
| 94 | - <view class="grid-item-box"> | |
| 95 | - <!-- <uni-icons color="#007AFF" type="shop" size="30"></uni-icons> --> | |
| 96 | - <view class="cuIcon-settings text-green icon"></view> | |
| 97 | - <text class="text">参数配置</text> | |
| 98 | - </view> | |
| 99 | - </uni-grid-item> | |
| 100 | - <uni-grid-item :index=10> | |
| 101 | - <view class="grid-item-box"> | |
| 102 | - <!-- <uni-icons color="#007AFF" type="wallet" size="30"></uni-icons> --> | |
| 103 | - <view class="cuIcon-text text-green icon"></view> | |
| 104 | - <text class="text">零售出库</text> | |
| 105 | - </view> | |
| 106 | - </uni-grid-item> | |
| 107 | - <uni-grid-item :index=11> | |
| 108 | - <view class="grid-item-box"> | |
| 109 | - <!-- <uni-icons color="#007AFF" type="map-pin-ellipse" size="30"></uni-icons> --> | |
| 110 | - <view class="cuIcon-exit text-green icon"></view> | |
| 111 | - <text class="text">零售退货</text> | |
| 112 | - </view> | |
| 113 | - </uni-grid-item> | |
| 114 | - </uni-grid> | |
| 115 | - </view> | |
| 116 | - </uni-section> | |
| 117 | - <uni-section title="库存管理" type="line"> | |
| 118 | - <HR style="border:1 dashed #eeeeff" width="100%" color='#eeeeff' SIZE='1' /> | |
| 119 | - <view class="grid-body"> | |
| 120 | - <uni-grid :column="4" :showBorder="false" @change="changeGrid"> | |
| 121 | - <uni-grid-item :index=12> | |
| 122 | - <view class="grid-item-box"> | |
| 123 | - <!-- <uni-icons color="#007AFF" type="link" size="30"></uni-icons> --> | |
| 124 | - <view class="cuIcon-punch text-brown icon"></view> | |
| 125 | - <text class="text">商品库存</text> | |
| 126 | - </view> | |
| 127 | - </uni-grid-item> | |
| 128 | - <uni-grid-item :index=13> | |
| 129 | - <view class="grid-item-box"> | |
| 130 | - <!-- <uni-icons type="wallet-filled" size="30"></uni-icons> --> | |
| 131 | - <view class="cuIcon-form text-brown icon"></view> | |
| 132 | - <text class="text">变动记录</text> | |
| 133 | - </view> | |
| 134 | - </uni-grid-item> | |
| 135 | - <uni-grid-item :index=14> | |
| 136 | - <view class="grid-item-box"> | |
| 137 | - <!-- <uni-icons type="wallet-filled" size="30"></uni-icons> --> | |
| 138 | - <view class="cuIcon-edit text-brown icon"></view> | |
| 139 | - <text class="text">数量调整</text> | |
| 140 | - </view> | |
| 141 | - </uni-grid-item> | |
| 142 | - <uni-grid-item :index=15> | |
| 143 | - <view class="grid-item-box"> | |
| 144 | - <view class="cuIcon-recharge text-brown icon"></view> | |
| 145 | - <text class="text">成本调整</text> | |
| 146 | - </view> | |
| 147 | - </uni-grid-item> | |
| 148 | - <uni-grid-item :index=16> | |
| 149 | - <view class="grid-item-box"> | |
| 150 | - <view class="cuIcon-info text-brown icon"></view> | |
| 151 | - <text class="text">调整原因</text> | |
| 152 | - </view> | |
| 153 | - </uni-grid-item> | |
| 154 | - <uni-grid-item :index=17> | |
| 155 | - <view class="grid-item-box"> | |
| 156 | - <view class="cuIcon-camerarotate text-brown icon"></view> | |
| 157 | - <text class="text">仓库调拨</text> | |
| 158 | - </view> | |
| 159 | - </uni-grid-item> | |
| 160 | - </uni-grid> | |
| 161 | - </view> | |
| 162 | - </uni-section> | |
| 163 | - <uni-section title="盘点管理" type="line"> | |
| 164 | - <HR style="border:1 dashed #eeeeff" width="100%" color='#eeeeff' SIZE='1' /> | |
| 165 | - <view class="grid-body"> | |
| 166 | - <uni-grid :column="4" :showBorder="false" @change="changeGrid"> | |
| 167 | - <uni-grid-item :index=18> | |
| 168 | - <view class="grid-item-box"> | |
| 169 | - <!-- <uni-icons color="#007AFF" type="link" size="30"></uni-icons> --> | |
| 170 | - <view class="cuIcon-settings text-blue icon"></view> | |
| 171 | - <text class="text">参数配置</text> | |
| 172 | - </view> | |
| 173 | - </uni-grid-item> | |
| 174 | - <uni-grid-item :index=19> | |
| 175 | - <view class="grid-item-box"> | |
| 176 | - <!-- <uni-icons type="wallet-filled" size="30"></uni-icons> --> | |
| 177 | - <view class="cuIcon-roundcheck text-blue icon"></view> | |
| 178 | - <text class="text">预盘点单</text> | |
| 179 | - </view> | |
| 180 | - </uni-grid-item> | |
| 181 | - <uni-grid-item :index=20> | |
| 182 | - <view class="grid-item-box"> | |
| 183 | - <!-- <uni-icons type="wallet-filled" size="30"></uni-icons> --> | |
| 184 | - <view class="cuIcon-post text-blue icon"></view> | |
| 185 | - <text class="text">盘点任务</text> | |
| 186 | - </view> | |
| 187 | - </uni-grid-item> | |
| 188 | - <uni-grid-item :index=21> | |
| 189 | - <view class="grid-item-box"> | |
| 190 | - <!-- <uni-icons type="wallet-filled" size="30"></uni-icons> --> | |
| 191 | - <view class="cuIcon-same text-blue icon"></view> | |
| 192 | - <text class="text">盘点单管理</text> | |
| 193 | - </view> | |
| 194 | - </uni-grid-item> | |
| 195 | - | |
| 196 | - </uni-grid> | |
| 197 | - </view> | |
| 198 | - </uni-section> | |
| 199 | - <view> | |
| 200 | - <uni-popup ref="alertDialog" type="dialog"> | |
| 201 | - <uni-popup-dialog type="info" cancelText="关闭" confirmText="确定" title="专业版源代码" content="专业版源代码"> | |
| 202 | - <view><image src="../../static/images/wx.jpg" style="width: 250px;height: 250px;"></image></view> | |
| 203 | - </uni-popup-dialog> | |
| 204 | - </uni-popup> | |
| 205 | - </view> | |
| 206 | - </view> | |
| 207 | -</template> | |
| 208 | - | |
| 209 | -<script> | |
| 210 | - export default { | |
| 211 | - data() { | |
| 212 | - return { | |
| 213 | - current: 0, | |
| 214 | - swiperDotIndex: 0, | |
| 215 | - data: [{ | |
| 216 | - image: 'http://xy.wecando21cn.com/static/images/banner/banner01.jpg' | |
| 217 | - }, | |
| 218 | - { | |
| 219 | - image: 'http://xy.wecando21cn.com/static/images/banner/banner02.jpg' | |
| 220 | - }, | |
| 221 | - { | |
| 222 | - image: 'http://xy.wecando21cn.com/static/images/banner/banner03.jpg' | |
| 223 | - } | |
| 224 | - ], | |
| 225 | - } | |
| 226 | - }, | |
| 227 | - methods: { | |
| 228 | - clickBannerItem(item) { | |
| 229 | - console.info(item) | |
| 230 | - }, | |
| 231 | - changeSwiper(e) { | |
| 232 | - this.current = e.detail.current | |
| 233 | - }, | |
| 234 | - changeGrid(e) { | |
| 235 | - this.$refs.alertDialog.open('center'); | |
| 236 | - } | |
| 237 | - } | |
| 238 | - } | |
| 239 | -</script> | |
| 240 | - | |
| 241 | -<style lang="scss"> | |
| 242 | - /* #ifndef APP-NVUE */ | |
| 243 | - page { | |
| 244 | - display: flex; | |
| 245 | - flex-direction: column; | |
| 246 | - box-sizing: border-box; | |
| 247 | - background-color: #fff; | |
| 248 | - min-height: 100%; | |
| 249 | - height: auto; | |
| 250 | - } | |
| 251 | - | |
| 252 | - view { | |
| 253 | - font-size: 14px; | |
| 254 | - line-height: inherit; | |
| 255 | - } | |
| 256 | - | |
| 257 | - .uni-icons { | |
| 258 | - color: #007AFF; | |
| 259 | - } | |
| 260 | - | |
| 261 | - /* #endif */ | |
| 262 | - | |
| 263 | - .text { | |
| 264 | - text-align: center; | |
| 265 | - font-size: 26rpx; | |
| 266 | - margin-top: 10rpx; | |
| 267 | - } | |
| 268 | - | |
| 269 | - .grid-item-box { | |
| 270 | - flex: 1; | |
| 271 | - /* #ifndef APP-NVUE */ | |
| 272 | - display: flex; | |
| 273 | - /* #endif */ | |
| 274 | - flex-direction: column; | |
| 275 | - align-items: center; | |
| 276 | - justify-content: center; | |
| 277 | - padding: 15px 0; | |
| 278 | - } | |
| 279 | - | |
| 280 | - .uni-margin-wrap { | |
| 281 | - width: 690rpx; | |
| 282 | - width: 100%; | |
| 283 | - ; | |
| 284 | - } | |
| 285 | - | |
| 286 | - .swiper { | |
| 287 | - height: 300rpx; | |
| 288 | - } | |
| 289 | - | |
| 290 | - .swiper-box { | |
| 291 | - height: 150px; | |
| 292 | - } | |
| 293 | - | |
| 294 | - .swiper-item { | |
| 295 | - /* #ifndef APP-NVUE */ | |
| 296 | - display: flex; | |
| 297 | - /* #endif */ | |
| 298 | - flex-direction: column; | |
| 299 | - justify-content: center; | |
| 300 | - align-items: center; | |
| 301 | - color: #fff; | |
| 302 | - height: 300rpx; | |
| 303 | - line-height: 300rpx; | |
| 304 | - } | |
| 305 | - | |
| 306 | - @media screen and (min-width: 500px) { | |
| 307 | - .uni-swiper-dot-box { | |
| 308 | - width: 400px; | |
| 309 | - /* #ifndef APP-NVUE */ | |
| 310 | - margin: 0 auto; | |
| 311 | - /* #endif */ | |
| 312 | - margin-top: 8px; | |
| 313 | - } | |
| 314 | - | |
| 315 | - .image { | |
| 316 | - width: 100%; | |
| 317 | - } | |
| 318 | - } | |
| 319 | - | |
| 320 | - .icon { | |
| 321 | - font-size: 28px; | |
| 322 | - } | |
| 323 | - | |
| 324 | - .text { | |
| 325 | - display: block; | |
| 326 | - font-size: 13px; | |
| 327 | - margin: 8px 0px; | |
| 328 | - } | |
| 329 | -</style> | |
| \ No newline at end of file |
pages/data/index.vue
deleted
100644 → 0
| 1 | -<template> | |
| 2 | - <view class="work-container"> | |
| 3 | - <!-- 轮播图 --> | |
| 4 | - <uni-swiper-dot class="uni-swiper-dot-box" :info="data" :current="current" field="content"> | |
| 5 | - <swiper class="swiper-box" :current="swiperDotIndex" @change="changeSwiper"> | |
| 6 | - <swiper-item v-for="(item, index) in data" :key="index"> | |
| 7 | - <view class="swiper-item" @click="clickBannerItem(item)"> | |
| 8 | - <image :src="item.image" mode="aspectFill" :draggable="false" /> | |
| 9 | - </view> | |
| 10 | - </swiper-item> | |
| 11 | - </swiper> | |
| 12 | - </uni-swiper-dot> | |
| 13 | - | |
| 14 | - <!-- 宫格组件 --> | |
| 15 | - <uni-section title="商品管理" type="line"> | |
| 16 | - <HR style="border:1 dashed #eeeeff" width="100%" color='#eeeeff' SIZE='1' /> | |
| 17 | - <view class="grid-body"> | |
| 18 | - <uni-grid :column="4" :showBorder="false" @change="changeGrid"> | |
| 19 | - | |
| 20 | - <uni-grid-item :index=1> | |
| 21 | - <view class="grid-item-box"> | |
| 22 | - <!-- <uni-icons color="#000" type="gift" size="30"></uni-icons> --> | |
| 23 | - <view class="cuIcon-goods text-yellow icon"></view> | |
| 24 | - <text class="text">商品管理</text> | |
| 25 | - </view> | |
| 26 | - </uni-grid-item> | |
| 27 | - <uni-grid-item :index=2> | |
| 28 | - <view class="grid-item-box"> | |
| 29 | - <!-- <uni-icons color="#000" type="list" size="30"></uni-icons> --> | |
| 30 | - <view class="cuIcon-list text-yellow icon"></view> | |
| 31 | - <text class="text">商品类目</text> | |
| 32 | - </view> | |
| 33 | - </uni-grid-item> | |
| 34 | - <uni-grid-item :index=3> | |
| 35 | - <view class="grid-item-box"> | |
| 36 | - <!-- <uni-icons color="#000" type="color" size="30"></uni-icons> --> | |
| 37 | - <view class="cuIcon-info text-yellow icon"></view> | |
| 38 | - <text class="text">商品属性</text> | |
| 39 | - </view> | |
| 40 | - </uni-grid-item> | |
| 41 | - <uni-grid-item :index=4> | |
| 42 | - <view class="grid-item-box"> | |
| 43 | - <view class="cuIcon-brand text-yellow icon"></view> | |
| 44 | - <text class="text">商品品牌</text> | |
| 45 | - </view> | |
| 46 | - </uni-grid-item> | |
| 47 | - </uni-grid> | |
| 48 | - </view> | |
| 49 | - </uni-section> | |
| 50 | - <uni-section title="基本资料" type="line"> | |
| 51 | - <HR style="border:1 dashed #eeeeff" width="100%" color='#eeeeff' SIZE='1' /> | |
| 52 | - <view class="grid-body"> | |
| 53 | - <uni-grid :column="4" :showBorder="false" @change="changeGrid"> | |
| 54 | - <uni-grid-item :index=5> | |
| 55 | - <view class="grid-item-box"> | |
| 56 | - <view class="cuIcon-friend text-pink icon"></view> | |
| 57 | - <text class="text">客户管理</text> | |
| 58 | - </view> | |
| 59 | - </uni-grid-item> | |
| 60 | - <uni-grid-item :index=6> | |
| 61 | - <view class="grid-item-box"> | |
| 62 | - <view class="cuIcon-friendfavor text-pink icon"></view> | |
| 63 | - <text class="text">供应商管理</text> | |
| 64 | - </view> | |
| 65 | - </uni-grid-item> | |
| 66 | - <uni-grid-item :index=7> | |
| 67 | - <view class="grid-item-box"> | |
| 68 | - <view class="cuIcon-friendfamous text-pink icon"></view> | |
| 69 | - <text class="text">会员管理</text> | |
| 70 | - </view> | |
| 71 | - </uni-grid-item> | |
| 72 | - <uni-grid-item :index=8> | |
| 73 | - <view class="grid-item-box"> | |
| 74 | - <view class="cuIcon-home text-pink icon"></view> | |
| 75 | - <text class="text">仓库管理</text> | |
| 76 | - </view> | |
| 77 | - </uni-grid-item> | |
| 78 | - <uni-grid-item :index=9> | |
| 79 | - <view class="grid-item-box"> | |
| 80 | - <!-- <uni-icons color="#007AFF" type="shop" size="30"></uni-icons> --> | |
| 81 | - <view class="cuIcon-shop text-pink icon"></view> | |
| 82 | - <text class="text">门店管理</text> | |
| 83 | - </view> | |
| 84 | - </uni-grid-item> | |
| 85 | - <uni-grid-item :index=10> | |
| 86 | - <view class="grid-item-box"> | |
| 87 | - <!-- <uni-icons color="#007AFF" type="wallet" size="30"></uni-icons> --> | |
| 88 | - <view class="cuIcon-sponsor text-pink icon"></view> | |
| 89 | - <text class="text">支付管理</text> | |
| 90 | - </view> | |
| 91 | - </uni-grid-item> | |
| 92 | - <uni-grid-item :index=11> | |
| 93 | - <view class="grid-item-box"> | |
| 94 | - <!-- <uni-icons color="#007AFF" type="map-pin-ellipse" size="30"></uni-icons> --> | |
| 95 | - <view class="cuIcon-addressbook text-pink icon"></view> | |
| 96 | - <text class="text">地址库</text> | |
| 97 | - </view> | |
| 98 | - </uni-grid-item> | |
| 99 | - <uni-grid-item :index=12> | |
| 100 | - <view class="grid-item-box"> | |
| 101 | - <view class="cuIcon-deliver text-pink icon"></view> | |
| 102 | - <text class="text">物流管理</text> | |
| 103 | - </view> | |
| 104 | - </uni-grid-item> | |
| 105 | - | |
| 106 | - </uni-grid> | |
| 107 | - </view> | |
| 108 | - </uni-section> | |
| 109 | - <view> | |
| 110 | - <uni-popup ref="alertDialog" type="dialog"> | |
| 111 | - <uni-popup-dialog type="info" cancelText="关闭" confirmText="确定" title="专业版源代码" content="专业版源代码"> | |
| 112 | - <view> | |
| 113 | - <image src="../../static/images/wx.jpg" style="width: 250px;height: 250px;"></image> | |
| 114 | - </view> | |
| 115 | - </uni-popup-dialog> | |
| 116 | - </uni-popup> | |
| 117 | - </view> | |
| 118 | - </view> | |
| 119 | -</template> | |
| 120 | - | |
| 121 | -<script> | |
| 122 | - export default { | |
| 123 | - data() { | |
| 124 | - return { | |
| 125 | - current: 0, | |
| 126 | - swiperDotIndex: 0, | |
| 127 | - data: [{ | |
| 128 | - image: 'http://xy.wecando21cn.com/static/images/banner/banner01.jpg' | |
| 129 | - }, | |
| 130 | - { | |
| 131 | - image: 'http://xy.wecando21cn.com/static/images/banner/banner02.jpg' | |
| 132 | - }, | |
| 133 | - { | |
| 134 | - image: 'http://xy.wecando21cn.com/static/images/banner/banner03.jpg' | |
| 135 | - } | |
| 136 | - ], | |
| 137 | - } | |
| 138 | - }, | |
| 139 | - methods: { | |
| 140 | - clickBannerItem(item) { | |
| 141 | - console.info(item) | |
| 142 | - }, | |
| 143 | - changeSwiper(e) { | |
| 144 | - this.current = e.detail.current | |
| 145 | - }, | |
| 146 | - changeGrid(e) { | |
| 147 | - this.$refs.alertDialog.open('center'); | |
| 148 | - | |
| 149 | - } | |
| 150 | - } | |
| 151 | - } | |
| 152 | -</script> | |
| 153 | - | |
| 154 | -<style lang="scss"> | |
| 155 | - /* #ifndef APP-NVUE */ | |
| 156 | - page { | |
| 157 | - display: flex; | |
| 158 | - flex-direction: column; | |
| 159 | - box-sizing: border-box; | |
| 160 | - background-color: #fff; | |
| 161 | - min-height: 100%; | |
| 162 | - height: auto; | |
| 163 | - } | |
| 164 | - | |
| 165 | - view { | |
| 166 | - font-size: 14px; | |
| 167 | - line-height: inherit; | |
| 168 | - } | |
| 169 | - | |
| 170 | - .uni-icons { | |
| 171 | - color: #007AFF; | |
| 172 | - } | |
| 173 | - | |
| 174 | - /* #endif */ | |
| 175 | - | |
| 176 | - .text { | |
| 177 | - text-align: center; | |
| 178 | - font-size: 26rpx; | |
| 179 | - margin-top: 10rpx; | |
| 180 | - } | |
| 181 | - | |
| 182 | - .grid-item-box { | |
| 183 | - flex: 1; | |
| 184 | - /* #ifndef APP-NVUE */ | |
| 185 | - display: flex; | |
| 186 | - /* #endif */ | |
| 187 | - flex-direction: column; | |
| 188 | - align-items: center; | |
| 189 | - justify-content: center; | |
| 190 | - padding: 15px 0; | |
| 191 | - } | |
| 192 | - | |
| 193 | - .uni-margin-wrap { | |
| 194 | - width: 690rpx; | |
| 195 | - width: 100%; | |
| 196 | - ; | |
| 197 | - } | |
| 198 | - | |
| 199 | - .swiper { | |
| 200 | - height: 300rpx; | |
| 201 | - } | |
| 202 | - | |
| 203 | - .swiper-box { | |
| 204 | - height: 150px; | |
| 205 | - } | |
| 206 | - | |
| 207 | - .swiper-item { | |
| 208 | - /* #ifndef APP-NVUE */ | |
| 209 | - display: flex; | |
| 210 | - /* #endif */ | |
| 211 | - flex-direction: column; | |
| 212 | - justify-content: center; | |
| 213 | - align-items: center; | |
| 214 | - color: #fff; | |
| 215 | - height: 300rpx; | |
| 216 | - line-height: 300rpx; | |
| 217 | - } | |
| 218 | - | |
| 219 | - @media screen and (min-width: 500px) { | |
| 220 | - .uni-swiper-dot-box { | |
| 221 | - width: 400px; | |
| 222 | - /* #ifndef APP-NVUE */ | |
| 223 | - margin: 0 auto; | |
| 224 | - /* #endif */ | |
| 225 | - margin-top: 8px; | |
| 226 | - } | |
| 227 | - | |
| 228 | - .image { | |
| 229 | - width: 100%; | |
| 230 | - } | |
| 231 | - } | |
| 232 | - | |
| 233 | - // .text { | |
| 234 | - // display: block; | |
| 235 | - // font-size: 13px; | |
| 236 | - // margin: 8px 0px; | |
| 237 | - // } | |
| 238 | - .icon { | |
| 239 | - font-size: 28px; | |
| 240 | - } | |
| 241 | - | |
| 242 | - .text { | |
| 243 | - text-align: center; | |
| 244 | - font-size: 26rpx; | |
| 245 | - margin-top: 10rpx; | |
| 246 | - } | |
| 247 | -</style> | |
| \ No newline at end of file |
pages/mine/help/index.vue
deleted
100644 → 0
| 1 | -<template> | |
| 2 | - <view class="help-container"> | |
| 3 | - <view v-for="(item, findex) in list" :key="findex" :title="item.title" class="list-title"> | |
| 4 | - <view class="text-title"> | |
| 5 | - <view :class="item.icon"></view>{{ item.title }} | |
| 6 | - </view> | |
| 7 | - <view class="childList"> | |
| 8 | - <view v-for="(child, zindex) in item.childList" :key="zindex" class="question" hover-class="hover" | |
| 9 | - @click="handleText(child)"> | |
| 10 | - <view class="text-item">{{ child.title }}</view> | |
| 11 | - <view class="line" v-if="zindex !== item.childList.length - 1"></view> | |
| 12 | - </view> | |
| 13 | - </view> | |
| 14 | - </view> | |
| 15 | - </view> | |
| 16 | -</template> | |
| 17 | - | |
| 18 | -<script> | |
| 19 | - export default { | |
| 20 | - data() { | |
| 21 | - return { | |
| 22 | - list: [{ | |
| 23 | - icon: 'iconfont icon-github', | |
| 24 | - title: 'erp移动版问题', | |
| 25 | - childList: [{ | |
| 26 | - title: 'erp移动版开源吗?', | |
| 27 | - content: '框架开源,需要付费开放完整源代码' | |
| 28 | - }, { | |
| 29 | - title: 'erp移动版可以商用吗?', | |
| 30 | - content: '无商用限制' | |
| 31 | - }, { | |
| 32 | - title: 'erp移动版开源框架地址多少?', | |
| 33 | - content: 'https://gitee.com/i-love-ai/xy-mobile-master' | |
| 34 | - }] | |
| 35 | - }, | |
| 36 | - { | |
| 37 | - icon: 'iconfont icon-help', | |
| 38 | - title: '其他问题', | |
| 39 | - childList: [{ | |
| 40 | - title: '如何退出登录?', | |
| 41 | - content: '请点击[我的] - [应用设置] - [退出登录]即可退出登录', | |
| 42 | - }, { | |
| 43 | - title: '如何修改用户头像?', | |
| 44 | - content: '请点击[我的] - [选择头像] - [点击提交]即可更换用户头像', | |
| 45 | - }, { | |
| 46 | - title: '如何修改登录密码?', | |
| 47 | - content: '请点击[我的] - [应用设置] - [修改密码]即可修改登录密码', | |
| 48 | - }] | |
| 49 | - } | |
| 50 | - ] | |
| 51 | - } | |
| 52 | - }, | |
| 53 | - methods: { | |
| 54 | - handleText(item) { | |
| 55 | - this.$tab.navigateTo(`/pages/common/textview/index?title=${item.title}&content=${item.content}`) | |
| 56 | - } | |
| 57 | - } | |
| 58 | - } | |
| 59 | -</script> | |
| 60 | - | |
| 61 | -<style lang="scss" scoped> | |
| 62 | - page { | |
| 63 | - background-color: #f8f8f8; | |
| 64 | - } | |
| 65 | - | |
| 66 | - .help-container { | |
| 67 | - margin-bottom: 100rpx; | |
| 68 | - padding: 30rpx; | |
| 69 | - } | |
| 70 | - | |
| 71 | - .list-title { | |
| 72 | - margin-bottom: 30rpx; | |
| 73 | - } | |
| 74 | - | |
| 75 | - .childList { | |
| 76 | - background: #ffffff; | |
| 77 | - box-shadow: 0px 0px 10rpx rgba(193, 193, 193, 0.2); | |
| 78 | - border-radius: 16rpx; | |
| 79 | - margin-top: 10rpx; | |
| 80 | - } | |
| 81 | - | |
| 82 | - .line { | |
| 83 | - width: 100%; | |
| 84 | - height: 1rpx; | |
| 85 | - background-color: #F5F5F5; | |
| 86 | - } | |
| 87 | - | |
| 88 | - .text-title { | |
| 89 | - color: #303133; | |
| 90 | - font-size: 32rpx; | |
| 91 | - font-weight: bold; | |
| 92 | - margin-left: 10rpx; | |
| 93 | - | |
| 94 | - .iconfont { | |
| 95 | - font-size: 16px; | |
| 96 | - margin-right: 10rpx; | |
| 97 | - } | |
| 98 | - } | |
| 99 | - | |
| 100 | - .text-item { | |
| 101 | - font-size: 28rpx; | |
| 102 | - padding: 24rpx; | |
| 103 | - } | |
| 104 | - | |
| 105 | - .question { | |
| 106 | - color: #606266; | |
| 107 | - font-size: 28rpx; | |
| 108 | - } | |
| 109 | -</style> |
pages/mine/index2.vue
deleted
100644 → 0
| 1 | -<template> | |
| 2 | - <view class="mine-container" :style="{height: `${windowHeight}px`}"> | |
| 3 | - <!--顶部个人信息栏--> | |
| 4 | - <view class="header-section"> | |
| 5 | - <view class="flex padding justify-between"> | |
| 6 | - <view class="flex align-center"> | |
| 7 | - <view v-if="!avatar" class="cu-avatar xl round bg-white"> | |
| 8 | - <view class="iconfont icon-people text-gray icon"></view> | |
| 9 | - </view> | |
| 10 | - <image v-if="avatar" @click="handleToAvatar" :src="avatar" class="cu-avatar xl round" mode="widthFix"> | |
| 11 | - </image> | |
| 12 | - <view v-if="!name" @click="handleToLogin" class="login-tip"> | |
| 13 | - 点击登录 | |
| 14 | - </view> | |
| 15 | - <view v-if="name" @click="handleToInfo" class="user-info"> | |
| 16 | - <view class="u_title"> | |
| 17 | - {{ name }} | |
| 18 | - </view> | |
| 19 | - <view @click="handleToInfo" class="flex align-center"> | |
| 20 | - <text>个人信息</text> | |
| 21 | - <view class="iconfont icon-right"></view> | |
| 22 | - </view> | |
| 23 | - </view> | |
| 24 | - </view> | |
| 25 | - | |
| 26 | - </view> | |
| 27 | - </view> | |
| 28 | - | |
| 29 | - <view class="content-section"> | |
| 30 | - <view class="mine-actions grid col-4 text-center"> | |
| 31 | - <view class="action-item" @click="handleJiaoLiuQun"> | |
| 32 | - <view class="iconfont icon-friendfill text-pink icon"></view> | |
| 33 | - <text class="text">交流群</text> | |
| 34 | - </view> | |
| 35 | - <view class="action-item" @click="handleBuilding"> | |
| 36 | - <view class="iconfont icon-service text-blue icon"></view> | |
| 37 | - <text class="text">在线客服</text> | |
| 38 | - </view> | |
| 39 | - <view class="action-item" @click="handleJiaoLiuQun"> | |
| 40 | - <view class="iconfont icon-community text-mauve icon"></view> | |
| 41 | - <text class="text">反馈社区</text> | |
| 42 | - </view> | |
| 43 | - <view class="action-item" @click="handleLink"> | |
| 44 | - <view class="iconfont icon-dianzan text-green icon"></view> | |
| 45 | - <text class="text">点赞我们</text> | |
| 46 | - </view> | |
| 47 | - </view> | |
| 48 | - | |
| 49 | - <view class="menu-list"> | |
| 50 | - <view class="list-cell list-cell-arrow" @click="handleToEditInfo"> | |
| 51 | - <view class="menu-item-box"> | |
| 52 | - <view class="iconfont icon-user menu-icon"></view> | |
| 53 | - <view>编辑资料</view> | |
| 54 | - </view> | |
| 55 | - </view> | |
| 56 | - <view class="list-cell list-cell-arrow" @click="handleHelp"> | |
| 57 | - <view class="menu-item-box"> | |
| 58 | - <view class="iconfont icon-help menu-icon"></view> | |
| 59 | - <view>常见问题</view> | |
| 60 | - </view> | |
| 61 | - </view> | |
| 62 | - <view class="list-cell list-cell-arrow" @click="handleAbout"> | |
| 63 | - <view class="menu-item-box"> | |
| 64 | - <view class="iconfont icon-aixin menu-icon"></view> | |
| 65 | - <view>关于我们</view> | |
| 66 | - </view> | |
| 67 | - </view> | |
| 68 | - <view class="list-cell list-cell-arrow" @click="handleToSetting"> | |
| 69 | - <view class="menu-item-box"> | |
| 70 | - <view class="iconfont icon-setting menu-icon"></view> | |
| 71 | - <view>应用设置</view> | |
| 72 | - </view> | |
| 73 | - </view> | |
| 74 | - </view> | |
| 75 | - | |
| 76 | - </view> | |
| 77 | - <view> | |
| 78 | - <uni-popup ref="alertDialog" type="dialog"> | |
| 79 | - <uni-popup-dialog type="info" cancelText="关闭" confirmText="确定" title="公众号" content="公众号"> | |
| 80 | - <view><image src="../../static/images/gzh.jpg" style="width: 250px;height: 250px;"></image></view> | |
| 81 | - </uni-popup-dialog> | |
| 82 | - </uni-popup> | |
| 83 | - </view> | |
| 84 | - </view> | |
| 85 | -</template> | |
| 86 | - | |
| 87 | -<script> | |
| 88 | - import storage from '@/utils/storage' | |
| 89 | - | |
| 90 | - export default { | |
| 91 | - data() { | |
| 92 | - return { | |
| 93 | - globalConfig: getApp().globalData.config, | |
| 94 | - name: this.$store.state.user.name, | |
| 95 | - version: getApp().globalData.config.appInfo.version | |
| 96 | - } | |
| 97 | - }, | |
| 98 | - | |
| 99 | - computed: { | |
| 100 | - | |
| 101 | - avatar() { | |
| 102 | - return this.$store.state.user.avatar | |
| 103 | - }, | |
| 104 | - windowHeight() { | |
| 105 | - return uni.getSystemInfoSync().windowHeight - 50 | |
| 106 | - } | |
| 107 | - }, | |
| 108 | - methods: { | |
| 109 | - | |
| 110 | - | |
| 111 | - handleToInfo() { | |
| 112 | - this.$tab.navigateTo('/pages/mine/info/index') | |
| 113 | - }, | |
| 114 | - handleToEditInfo() { | |
| 115 | - this.$tab.navigateTo('/pages/mine/info/edit') | |
| 116 | - }, | |
| 117 | - handleToSetting() { | |
| 118 | - this.$tab.navigateTo('/pages/mine/setting/index') | |
| 119 | - }, | |
| 120 | - handleToLogin() { | |
| 121 | - this.$tab.reLaunch('/pages/login') | |
| 122 | - }, | |
| 123 | - handleToAvatar() { | |
| 124 | - this.$tab.navigateTo('/pages/mine/avatar/index') | |
| 125 | - }, | |
| 126 | - handleLogout() { | |
| 127 | - this.$modal.confirm('确定注销并退出系统吗?').then(() => { | |
| 128 | - this.$store.dispatch('LogOut').then(() => { | |
| 129 | - this.$tab.reLaunch('/pages/index') | |
| 130 | - }) | |
| 131 | - }) | |
| 132 | - }, | |
| 133 | - handleHelp() { | |
| 134 | - this.$tab.navigateTo('/pages/mine/help/index') | |
| 135 | - | |
| 136 | - }, | |
| 137 | - handleAbout() { | |
| 138 | - this.$tab.navigateTo('/pages/mine/about/index') | |
| 139 | - }, | |
| 140 | - handleJiaoLiuQun() { | |
| 141 | - this.$refs.alertDialog.open('center'); | |
| 142 | - }, | |
| 143 | - handleBuilding() { | |
| 144 | - this.$modal.showToast('添加CDERP客服 QQ:3783722918') | |
| 145 | - }, | |
| 146 | - handleLink() { | |
| 147 | - // let site = this.globalConfig.appInfo.agreements[2] | |
| 148 | - // this.$tab.navigateTo('/pages/common/webview/index?title='+site.title+'&url='+site.url) | |
| 149 | - this.$refs.alertDialog.open('center'); | |
| 150 | - } | |
| 151 | - | |
| 152 | - } | |
| 153 | - } | |
| 154 | -</script> | |
| 155 | - | |
| 156 | -<style lang="scss"> | |
| 157 | - page { | |
| 158 | - background-color: #f5f6f7; | |
| 159 | - } | |
| 160 | - | |
| 161 | - .mine-container { | |
| 162 | - width: 100%; | |
| 163 | - height: 100%; | |
| 164 | - | |
| 165 | - | |
| 166 | - .header-section { | |
| 167 | - padding: 15px 15px 45px 15px; | |
| 168 | - background-color: #3c96f3; | |
| 169 | - color: white; | |
| 170 | - | |
| 171 | - .login-tip { | |
| 172 | - font-size: 18px; | |
| 173 | - margin-left: 10px; | |
| 174 | - } | |
| 175 | - | |
| 176 | - .cu-avatar { | |
| 177 | - border: 2px solid #eaeaea; | |
| 178 | - | |
| 179 | - .icon { | |
| 180 | - font-size: 40px; | |
| 181 | - } | |
| 182 | - } | |
| 183 | - | |
| 184 | - .user-info { | |
| 185 | - margin-left: 15px; | |
| 186 | - | |
| 187 | - .u_title { | |
| 188 | - font-size: 14px; | |
| 189 | - line-height: 30px; | |
| 190 | - } | |
| 191 | - } | |
| 192 | - } | |
| 193 | - | |
| 194 | - .content-section { | |
| 195 | - position: relative; | |
| 196 | - top: -50px; | |
| 197 | - | |
| 198 | - .mine-actions { | |
| 199 | - margin: 15px 15px; | |
| 200 | - padding: 20px 0px; | |
| 201 | - border-radius: 8px; | |
| 202 | - background-color: white; | |
| 203 | - | |
| 204 | - .action-item { | |
| 205 | - .icon { | |
| 206 | - font-size: 28px; | |
| 207 | - } | |
| 208 | - | |
| 209 | - .text { | |
| 210 | - display: block; | |
| 211 | - font-size: 13px; | |
| 212 | - margin: 8px 0px; | |
| 213 | - } | |
| 214 | - } | |
| 215 | - } | |
| 216 | - } | |
| 217 | - } | |
| 218 | -</style> |