Browse Source

【Add】产品属性增加备注显示

liuxiangxin 5 tháng trước cách đây
mục cha
commit
cdb659d4d7
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      manifest.json
  2. 1 1
      pages/product/index.vue

+ 1 - 1
manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "开邻智数",
-    "appid" : "__UNI__90B60D1",
+    "appid" : "__UNI__DE440B9",
     "description" : "",
     "versionName" : "1.0.0",
     "versionCode" : "100",

+ 1 - 1
pages/product/index.vue

@@ -142,7 +142,7 @@
 									<view class="spec_name">{{ spec.spec_name }}</view>
 									<view class="arrt_list">
 										<view class="arrt_option" :class="option.active?'active':''" v-for="(option,attr_index) in spec.attr_list" :key="attr_index" @click="attrChange(spec_index,attr_index)">
-											{{option.name}}
+											<text> {{option.name}}</text> <text v-if="option.remark">【{{option.remark}}】</text>
 										</view>
 									</view>
 								</scroll-view>