Example #1
0
 /**
  * 页面默认值
  */
 private function default_value()
 {
     //形状
     self::$shape = array('round' => '圆形', 'princess' => '公主方', 'heart' => '心形', 'pear' => '梨形', 'emerald' => '祖母绿', 'marquise' => '马眼形', 'cushion' => '垫形', 'oval' => '椭圆形', 'radiant' => '明亮形');
     $this->sma->assign('shape', self::$shape);
     //产品来源
     self::$proSource = array('speculation' => '炒货', 'self' => '自家店铺', 'comate' => '代理商');
     $this->sma->assign('proSource', self::$proSource);
     //颜色
     self::$color = array('D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N');
     $this->sma->assign('color', self::$color);
     //净度
     self::$clarity = array('IF', 'VVS1', 'VVS2', 'VS1', 'VS2', 'SI1', 'SI2', 'SI3', 'I1', 'I2', 'I3');
     $this->sma->assign('clarity', self::$clarity);
     //切工 or 抛光 or 对称
     self::$cut = array('ID', 'EX', 'VG', 'G', 'FR', 'PR', 'N');
     $this->sma->assign('cut', self::$cut);
     //荧光强度
     self::$Fent_Isity = array('N', 'VSL', 'F/SL', 'M', 'S', 'VS');
     $this->sma->assign('Fent_Isity', self::$Fent_Isity);
     //荧光颜色
     self::$Fent_color = array('Blue', 'Yellow', 'Green', 'Red', 'Orange', 'White');
     $this->sma->assign('Fent_color', self::$Fent_color);
     //证书类型
     self::$diploma = array('GIA', 'IGI', 'HRD', 'PGS', 'VGR', 'AGS', 'DCLA', 'Uncertified', 'EGL', 'USA', 'EGL Israel', 'EGL Other', 'NGDTC', 'NGTC', 'GTC', 'Other');
     $this->sma->assign('diploma', self::$diploma);
 }